Selaa lähdekoodia

Hopefully fix for mystical "export.core not being set" error

Sebastián Katzer 10 vuotta sitten
vanhempi
commit
be9826f1ae

+ 2 - 0
src/windows/LocalNotificationCore.js

@@ -20,6 +20,8 @@
 */
 
 
+var proxy = require('de.appplant.cordova.plugin.local-notification.LocalNotification.Proxy');
+
 var Notifications = Windows.UI.Notifications;
 
 

+ 1 - 0
src/windows/LocalNotificationProxy.js

@@ -266,4 +266,5 @@ exports.exports = function () {
     return exports;
 };
 
+
 cordova.commandProxy.add('LocalNotification', exports);

+ 2 - 2
src/windows/LocalNotificationUtil.js

@@ -20,9 +20,9 @@
 */
 
 
-var channel = require('cordova/channel');
+exports = require('de.appplant.cordova.plugin.local-notification.LocalNotification.Proxy').core;
 
-exports = require('de.appplant.cordova.plugin.local-notification.LocalNotification.Proxy.Core').core;
+var channel = require('cordova/channel');
 
 
 /***********