[Pkg-javascript-commits] [backbone] 94/211: Issue #278. Allow 'extend' to be overrideable+inheritable.

Jonas Smedegaard js at moszumanska.debian.org
Sat May 3 17:00:08 UTC 2014


This is an automated email from the git hooks/post-receive script.

js pushed a commit to tag 0.5.0
in repository backbone.

commit d149451fd46ad42e9e1eae47261d970bde4e8b40
Author: Jeremy Ashkenas <jashkenas at gmail.com>
Date:   Mon Mar 21 10:28:22 2011 -0400

    Issue #278. Allow 'extend' to be overrideable+inheritable.
---
 backbone.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/backbone.js b/backbone.js
index 47e85ae..d137650 100644
--- a/backbone.js
+++ b/backbone.js
@@ -931,7 +931,7 @@
   // The self-propagating extend function that Backbone classes use.
   var extend = function (protoProps, classProps) {
     var child = inherits(this, protoProps, classProps);
-    child.extend = extend;
+    child.extend = this.extend;
     return child;
   };
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/backbone.git



More information about the Pkg-javascript-commits mailing list