This commit is contained in:
Max Lynch 2015-11-24 18:05:10 -06:00
parent 17579369d4
commit e407307928
4 changed files with 9 additions and 4 deletions

View File

@ -1162,6 +1162,7 @@ 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');
@ -1209,7 +1210,9 @@ for (var i = 0; i < _pluginConfig.PluginConfig.length; i++) {
wrappedPlugins[plugin.className] = cls; wrappedPlugins[plugin.className] = cls;
} }
exports.default = wrappedPlugins; var Native = wrappedPlugins;
exports.Native = Native;
window.Native = wrappedPlugins; window.Native = wrappedPlugins;

File diff suppressed because one or more lines are too long

View File

@ -1,6 +1,6 @@
{ {
"name": "cordova-wrap", "name": "cordova-wrap",
"version": "1.0.2", "version": "1.0.3",
"description": "Native plugins to replace ngCordova", "description": "Native plugins to replace ngCordova",
"main": "dist/cordova-wrap.js", "main": "dist/cordova-wrap.js",
"directories": { "directories": {

View File

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