Commit 0d497bc7 authored by Eddy Verbruggen's avatar Eddy Verbruggen
Browse files

Merge pull request #142 from mkuklis/master

improved module condition - issue #87
parents 76eec9e8 c44839eb
Loading
Loading
Loading
Loading
+1 −1
Changes for www/PushNotification.js: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -73,6 +73,6 @@ if (!window.plugins.pushNotification) {
    window.plugins.pushNotification = new PushNotification();
}

if (module.exports) {
if (typeof module != 'undefined' && module.exports) {
  module.exports = PushNotification;
}
 No newline at end of file