Skip to content
This repository was archived by the owner on Jun 26, 2022. It is now read-only.

Commit 0cdd27d

Browse files
committed
Fix handling of missing common.js jQuery dependency.
1 parent 3d38832 commit 0cdd27d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/header.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* Exoskeleton.js 0.6.0
2+
* Exoskeleton.js 0.6.1
33
* (c) 2013 Paul Miller <http://paulmillr.com>
44
* Based on Backbone.js
55
* (c) 2010-2013 Jeremy Ashkenas, DocumentCloud
@@ -14,9 +14,9 @@
1414
root.Backbone = root.Exoskeleton = factory(root, exports, _, $);
1515
});
1616
} else if (typeof exports !== 'undefined') {
17-
var _, jquery;
17+
var _, $;
1818
try { _ = require('underscore'); } catch(e) { }
19-
try { jquery = require('jquery'); } catch(e) { }
19+
try { $ = require('jquery'); } catch(e) { }
2020
factory(root, exports, _, $);
2121
} else {
2222
root.Backbone = root.Exoskeleton = factory(root, {}, root._, (root.jQuery || root.Zepto || root.ender || root.$));

0 commit comments

Comments
 (0)