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", {
value: true
});
exports.Native = undefined;
var _pluginConfig = require('./plugin-config');
@ -1210,9 +1209,7 @@ for (var i = 0; i < _pluginConfig.PluginConfig.length; i++) {
wrappedPlugins[plugin.className] = cls;
}
var Native = wrappedPlugins;
exports.Native = Native;
exports.default = wrappedPlugins;
window.Native = wrappedPlugins;

File diff suppressed because one or more lines are too long

View File

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

View File

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