From e54cc9f9e10fd152ba9373f76f2db95aa4fab040 Mon Sep 17 00:00:00 2001 From: Tobiasz Cudnik Date: Tue, 3 Feb 2015 13:27:11 +0100 Subject: [PATCH] Fixed jquery API violation in commonjs env --- src/js/bootstrap-dialog.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/bootstrap-dialog.js b/src/js/bootstrap-dialog.js index 47ffb40..1f5bfd0 100644 --- a/src/js/bootstrap-dialog.js +++ b/src/js/bootstrap-dialog.js @@ -17,7 +17,7 @@ // CommonJS module is defined if (typeof module !== 'undefined' && module.exports) { - module.exports = factory(require('jquery')(root)); + module.exports = factory(require('jquery')); } // AMD module is defined else if (typeof define === "function" && define.amd) {