universal-env
Advanced tools
Comparing version 0.6.5 to 0.6.6
service.register(options.serviceName, { | ||
create: function(id, env, config) { | ||
return { | ||
universal_env_0_6_4: function(weex) { | ||
universal_env_0_6_6: function(weex) { | ||
return { | ||
@@ -19,3 +19,3 @@ init : function(define, defineName, window) { | ||
o = "undefined" != typeof window ? window: "undefined" != typeof self ? self: "undefined" != typeof global ? global: this, | ||
o.universal_env_0_6_4 = fn() | ||
o.universal_env_0_6_6 = fn() | ||
} | ||
@@ -22,0 +22,0 @@ })(function(){ |
@@ -1,1 +0,1 @@ | ||
service.register(options.serviceName,{create:function(id,env,config){return{universal_env_0_6_4:function(weex){return{init:function(define,defineName,window){for(var key in window)eval("var "+key+" = window."+key+";");!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define)define("universal-env",[],function(n,t,o){o.exports=e()});else{(void 0!==window?window:"undefined"!=typeof self?self:"undefined"!=typeof global?global:this).universal_env_0_6_4=e()}}(function(){return function(e){var n={};function t(o){if(n[o])return n[o].exports;var r=n[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,t),r.l=!0,r.exports}return t.m=e,t.c=n,t.d=function(e,n,o){t.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:o})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,n){if(1&n&&(e=t(e)),8&n)return e;if(4&n&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(t.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var r in e)t.d(o,r,function(n){return e[n]}.bind(null,r));return o},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},t.p="",t(t.s=0)}([function(e,n,t){"use strict";function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(n,"__esModule",{value:!0}),n.default=n.isReactNative=n.isWeex=n.isNode=n.isWeb=void 0;var r="object"===("undefined"==typeof navigator?"undefined":o(navigator))&&("Mozilla"===navigator.appCodeName||"Gecko"===navigator.product);n.isWeb=r;var i="undefined"!=typeof process&&!(!process.versions||!process.versions.node);n.isNode=i;var f="function"==typeof callNative||"object"===("undefined"==typeof WXEnvironment?"undefined":o(WXEnvironment))&&"Web"!==WXEnvironment.platform;n.isWeex=f;var u="undefined"!=typeof __fbBatchedBridgeConfig;n.isReactNative=u,n.default=e.exports;var d=e.exports;n.default=d}])})}}}}}}); | ||
service.register(options.serviceName,{create:function(id,env,config){return{universal_env_0_6_6:function(weex){return{init:function(define,defineName,window){for(var key in window)eval("var "+key+" = window."+key+";");!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define)define("universal-env",[],function(n,t,o){o.exports=e()});else{(void 0!==window?window:"undefined"!=typeof self?self:"undefined"!=typeof global?global:this).universal_env_0_6_6=e()}}(function(){return function(e){var n={};function t(o){if(n[o])return n[o].exports;var r=n[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,t),r.l=!0,r.exports}return t.m=e,t.c=n,t.d=function(e,n,o){t.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:o})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,n){if(1&n&&(e=t(e)),8&n)return e;if(4&n&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(t.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var r in e)t.d(o,r,function(n){return e[n]}.bind(null,r));return o},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},t.p="",t(t.s=0)}([function(e,n,t){"use strict";function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(n,"__esModule",{value:!0}),n.default=n.isReactNative=n.isWeex=n.isNode=n.isWeb=void 0;var r="object"===("undefined"==typeof navigator?"undefined":o(navigator))&&("Mozilla"===navigator.appCodeName||"Gecko"===navigator.product);n.isWeb=r;var i="undefined"!=typeof process&&!(!process.versions||!process.versions.node);n.isNode=i;var f="function"==typeof callNative||"object"===("undefined"==typeof WXEnvironment?"undefined":o(WXEnvironment))&&"Web"!==WXEnvironment.platform;n.isWeex=f;var u="undefined"!=typeof __fbBatchedBridgeConfig;n.isReactNative=u,n.default=e.exports;var d=e.exports;n.default=d}])})}}}}}}); |
{ | ||
"name": "universal-env", | ||
"version": "0.6.5", | ||
"version": "0.6.6", | ||
"description": "A universal environment utilities.", | ||
@@ -5,0 +5,0 @@ "license": "BSD-3-Clause", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package