This commit is contained in:
Max Lynch 2015-11-24 18:10:34 -06:00
parent e407307928
commit 51d1ad75f6
4 changed files with 5 additions and 10 deletions

View File

@ -1162,7 +1162,6 @@ function get(obj, path) {
Object.defineProperty(exports, "__esModule", { Object.defineProperty(exports, "__esModule", {
value: true value: true
}); });
exports.Native = undefined;
var _pluginConfig = require('./plugin-config'); var _pluginConfig = require('./plugin-config');
@ -1210,9 +1209,7 @@ for (var i = 0; i < _pluginConfig.PluginConfig.length; i++) {
wrappedPlugins[plugin.className] = cls; wrappedPlugins[plugin.className] = cls;
} }
var Native = wrappedPlugins; exports.default = wrappedPlugins;
exports.Native = Native;
window.Native = wrappedPlugins; window.Native = wrappedPlugins;

File diff suppressed because one or more lines are too long

View File

@ -1,7 +1,7 @@
{ {
"name": "cordova-wrap", "name": "cordova-wrap",
"version": "1.0.3", "version": "1.0.4",
"description": "Native plugins to replace ngCordova", "description": "Native plugins for Cordova and Ionic with ES6+, Promise and Observable support",
"main": "dist/cordova-wrap.js", "main": "dist/cordova-wrap.js",
"directories": { "directories": {
"test": "test" "test": "test"

View File

@ -43,8 +43,6 @@ for(let i = 0; i < PluginConfig.length; i++) {
wrappedPlugins[plugin.className] = cls; wrappedPlugins[plugin.className] = cls;
} }
let Native = wrappedPlugins; export default wrappedPlugins;
export {Native};
window.Native = wrappedPlugins; window.Native = wrappedPlugins;