packages/cdp-mobile/dist/cdp.js
function() {
        var options = this.options,
            keepNative = $.trim( options.keepNative || "" ),
            globalValue = $.trim( $.mobile.keepNative ),
            optionValue = $.trim( options.keepNativeDefault ),

            // Check if $.mobile.keepNative has changed from the factory default
            newDefault = ( keepNativeFactoryDefault === globalValue ?
                "" : globalValue ),

            // If $.mobile.keepNative has not changed, use options.keepNativeDefault
            oldDefault = ( newDefault === "" ? optionValue : "" );

        // Concatenate keepNative selectors from all sources where the value has
        // changed or, if nothing has changed, return the default
        return ( ( keepNative ? [ keepNative ] : [] )
            .concat( newDefault ? [ newDefault ] : [] )
            .concat( oldDefault ? [ oldDefault ] : [] )
            .join( ", " ) );
    }
function() {
        var options = this.options,
            keepNative = $.trim( options.keepNative || "" ),
            globalValue = $.trim( $.mobile.keepNative ),
            optionValue = $.trim( options.keepNativeDefault ),

            // Check if $.mobile.keepNative has changed from the factory default
            newDefault = ( keepNativeFactoryDefault === globalValue ?
                "" : globalValue ),

            // If $.mobile.keepNative has not changed, use options.keepNativeDefault
            oldDefault = ( newDefault === "" ? optionValue : "" );

        // Concatenate keepNative selectors from all sources where the value has
        // changed or, if nothing has changed, return the default
        return ( ( keepNative ? [ keepNative ] : [] )
            .concat( newDefault ? [ newDefault ] : [] )
            .concat( oldDefault ? [ oldDefault ] : [] )
            .join( ", " ) );
    }
function ( ) { var options = this . options , keepNative = $ . trim ( options . keepNative || "" ) , globalValue = $ . trim ( $ . mobile . keepNative ) , optionValue = $ . trim ( options . keepNativeDefault ) , // Check if $.mobile.keepNative has changed from the factory default newDefault = ( keepNativeFactoryDefault === globalValue ? "" : globalValue ) , // If $.mobile.keepNative has not changed, use options.keepNativeDefault oldDefault = ( newDefault === "" ? optionValue : "" ) ; // Concatenate keepNative selectors from all sources where the value has // changed or, if nothing has changed, return the default return ( ( keepNative ? [ keepNative ] : [ ] ) . concat ( newDefault ? [ newDefault ] : [ ] ) . concat ( oldDefault ? [ oldDefault ] : [ ] ) . join ( ", " ) ) ; }
Deprecated in 1.4 remove in 1.5
Deprecated in 1 . 4 remove in 1 . 5