Browse Source

Rebuilding merged version with #259

Dante 9 years ago
parent
commit
42f26728b4
2 changed files with 2 additions and 2 deletions
  1. 1 1
      dist/js/bootstrap-dialog.js
  2. 1 1
      dist/js/bootstrap-dialog.min.js

+ 1 - 1
dist/js/bootstrap-dialog.js

@@ -17,7 +17,7 @@
 
     // CommonJS module is defined
     if (typeof module !== 'undefined' && module.exports) {
-        var isNode = (typeof process !== "undefined");
+        var isNode = (typeof process === "object") && (typeof process.versions === "object");
         var isElectron = isNode && ('electron' in process.versions);
         if (isElectron) {
             root.BootstrapDialog = factory(root.jQuery);

File diff suppressed because it is too large
+ 1 - 1
dist/js/bootstrap-dialog.min.js