From d149451fd46ad42e9e1eae47261d970bde4e8b40 Mon Sep 17 00:00:00 2001 From: Jeremy Ashkenas Date: Mon, 21 Mar 2011 10:28:22 -0400 Subject: [PATCH] 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 47e85aeb..d1376505 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; };