mirror of
https://github.com/jashkenas/backbone.git
synced 2026-04-30 03:00:06 -04:00
Merge branch 'master' of github.com:documentcloud/backbone
This commit is contained in:
2
Rakefile
2
Rakefile
@@ -30,7 +30,7 @@ end
|
||||
|
||||
desc "test the CoffeeScript integration"
|
||||
task :test do
|
||||
check 'coffee', 'CoffeeScript', 'https://github.com/jashkenas/coffee-script.git'
|
||||
check 'coffee', 'CoffeeScript', 'http://coffeescript.org/'
|
||||
system "coffee test/*.coffee"
|
||||
end
|
||||
|
||||
|
||||
@@ -809,7 +809,7 @@
|
||||
// Proxy to _'s chain. Can't be proxied the same way the rest of the
|
||||
// underscore methods are proxied because it relies on the underscore
|
||||
// constructor.
|
||||
chain: function () {
|
||||
chain: function() {
|
||||
return _(this.models).chain();
|
||||
},
|
||||
|
||||
@@ -1290,7 +1290,7 @@
|
||||
});
|
||||
|
||||
// The self-propagating extend function that Backbone classes use.
|
||||
var extend = function (protoProps, classProps) {
|
||||
var extend = function(protoProps, classProps) {
|
||||
var child = inherits(this, protoProps, classProps);
|
||||
child.extend = this.extend;
|
||||
return child;
|
||||
|
||||
Reference in New Issue
Block a user