src/utils/platform.js
/**
     * Wrap engine, browser, engine varible to function
     *
     */
Wrap engine, browser, engine varible to function
Wrap engine browser engine varible to function
wrapFun() {
        var self = this;
        for (var key in self) {
            if (self.hasOwnProperty(key) && typeof self[key] !== 'function') {
                var handle = function (key) {
                    return key;
                }.bind(null, self[key]);
                self[key] = handle;
            }
        }
        self.needSpecialScroll = self.isIos() && window !== top;
    }
wrapFun ( ) { var self = this ; for ( var key in self ) { if ( self . hasOwnProperty ( key ) && typeof self [ key ] !== 'function' ) { var handle = function ( key ) { return key ; } . bind ( null , self [ key ] ) ; self [ key ] = handle ; } } self . needSpecialScroll = self . isIos ( ) && window !== top ; }
Wrap engine, browser, engine varible to function
Wrap engine browser engine varible to function