From: Jason Skomorowski Date: Tue, 24 Jun 2014 16:17:20 +0000 (-0400) Subject: Need a proper test for undefined. X-Git-Tag: 1.0.0~477 X-Git-Url: http://jsfdemo.indexdata.com/cgi-bin?a=commitdiff_plain;h=1de5b5c1405ebf5960e4dc44161e4828e7cddab1;p=mkws-moved-to-github.git Need a proper test for undefined. --- diff --git a/src/mkws-core.js b/src/mkws-core.js index 4ba963c..7c74664 100644 --- a/src/mkws-core.js +++ b/src/mkws-core.js @@ -96,7 +96,7 @@ var mkws = { }; // We may be using a separate copy -if (!mkws_jQuery) mkws_jQuery = jQuery; +if (typeof(mkws_jQuery) === "undefined") mkws_jQuery = jQuery; mkws.$ = mkws_jQuery; mkws.log = function(string) {