Skip to content

Commit a540839

Browse files
committed
$ should be passed into the factory method
1 parent 47ffaf5 commit a540839

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

backbone/Gruntfile.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,15 @@ module.exports = function(grunt) {
1414
'var previousJQuery = this.jQuery;',
1515
"this._ = require('underscore');",
1616
"this.jQuery = require('$');",
17-
code,
17+
code.replace("factory(root, exports, _)", "factory(root, exports, _, jQuery)"),
1818
"this._ = previousUnderscore;",
1919
"this.jQuery = previousJQuery;",
2020
"});"
2121
].join('\n');
2222
}
2323
},
2424
src: {
25-
url: 'https://raw.github.com/documentcloud/backbone/<%= pkg.version %>/backbone.js',
25+
url: 'https://raw.github.com/jashkenas/backbone/<%= pkg.version %>/backbone.js',
2626
name: 'backbone.js'
2727
}
2828
}

backbone/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"homepage": "http://backbonejs.org",
77
"keywords": ["model", "view", "controller", "router", "server", "client", "browser"],
88
"author": "Jeremy Ashkenas <jeremy@documentcloud.org>",
9-
"package": "https://raw.github.com/documentcloud/backbone/master/package.json",
9+
"package": "https://raw.github.com/jashkenas/backbone/master/package.json",
1010
"spm": {
1111
"alias": {
1212
"$": "$",

0 commit comments

Comments
 (0)