@cap-cross/cap-react-native
Advanced tools
Comparing version 0.1.0 to 0.2.0
(function (global, factory) { | ||
typeof exports === 'object' && typeof module !== 'undefined' ? factory() : | ||
typeof define === 'function' && define.amd ? define(factory) : | ||
(factory()); | ||
}(this, (function () { 'use strict'; | ||
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) : | ||
typeof define === 'function' && define.amd ? define(['exports'], factory) : | ||
(factory((global['cap-react-native'] = {}))); | ||
}(this, (function (exports) { 'use strict'; | ||
// import log from './log/index' | ||
// import { Platform } from 'react-native'; | ||
// export { | ||
// log | ||
// } | ||
var Util = { | ||
platformOS: function platformOS() { | ||
return ( | ||
// Platform.OS; | ||
// 'ios'; | ||
'android' | ||
); | ||
} | ||
}; | ||
exports.Util = Util; | ||
Object.defineProperty(exports, '__esModule', { value: true }); | ||
}))); |
@@ -1,1 +0,1 @@ | ||
!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?n():"function"==typeof define&&define.amd?define(n):n()}(0,function(){"use strict"}); | ||
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t(e["cap-react-native"]={})}(this,function(e){"use strict";e.Util={platformOS:function(){return"android"}},Object.defineProperty(e,"__esModule",{value:!0})}); |
@@ -1,5 +0,13 @@ | ||
// import log from './log/index' | ||
// import { Platform } from 'react-native'; | ||
// export { | ||
// log | ||
// } | ||
var Util = { | ||
platformOS: function platformOS() { | ||
return ( | ||
// Platform.OS; | ||
// 'ios'; | ||
'android' | ||
); | ||
} | ||
}; | ||
export { Util }; |
'use strict'; | ||
// import log from './log/index' | ||
Object.defineProperty(exports, '__esModule', { value: true }); | ||
// export { | ||
// log | ||
// } | ||
// import { Platform } from 'react-native'; | ||
var Util = { | ||
platformOS: function platformOS() { | ||
return ( | ||
// Platform.OS; | ||
// 'ios'; | ||
'android' | ||
); | ||
} | ||
}; | ||
exports.Util = Util; |
{ | ||
"name": "@cap-cross/cap-react-native", | ||
"version": "0.1.0", | ||
"version": "0.2.0", | ||
"description": "Common code for cap-cross mobile applications having dependencies on React Native", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -1,5 +0,5 @@ | ||
// import log from './log/index' | ||
import Util from './util/Util' | ||
// export { | ||
// log | ||
// } | ||
export { | ||
Util | ||
} |
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
4477
8
55
0