1. #1
    Sencha Premium Member
    Join Date
    Jan 2008
    Posts
    109
    Vote Rating
    8
    KajaSheen is on a distinguished road

      0  

    Default Ext.supports.FileApi

    Ext.supports.FileApi


    I would find it useful to add a FileApi check to the Ext.supports object for convenience.

    Currently I use this in my code as an "override":
    PHP Code:
        /**
         * @property FileApi True if Browser supports File API specification
         * Tests for objects specific to the File API W3C specification without
         * being redundant (don't bother testing for Blob since it is assumed
         * to be the File object's prototype.
         *
         * Will fail in Safari 5 due to its lack of support for the standards
         * defined FileReader object
         */
        
    Ext.apply(Ext.supports, {FileApi: !!(window.File && window.FileList && window.FileReader)}); 
    If this is interesting it would be enough to add the following to the core code of Ext.supports:
    PHP Code:
        /**
         * @property FileApi True if Browser supports File API specification
         * Tests for objects specific to the File API W3C specification without
         * being redundant (don't bother testing for Blob since it is assumed
         * to be the File object's prototype.
         *
         * Will fail in Safari 5 due to its lack of support for the standards
         * defined FileReader object
         */
        
    FileApi: !!(window.File && window.FileList && window.FileReader), 

  2. #2
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    8,927
    Vote Rating
    443
    scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future

      0  

    Default


    I have added a feature request: EXTJSIV-8899

    Thank you for the suggestion.

    Scott.

Thread Participants: 1

Tags for this Thread

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi