From 8567d85310a2e11c7dad8a117868e240831fa0e6 Mon Sep 17 00:00:00 2001 From: farkashon Date: Wed, 16 Nov 2011 09:43:07 +0200 Subject: [PATCH] Fixed a mistake in the documentation example of $.Model.prototype.models. The 'return' was missing here (line 976): * $.Model('Person',{ * models : function(data){ * return this._super(data.ballers); * } * },{}) --- model/model.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/model/model.js b/model/model.js index e884cf91..cbdd0684 100644 --- a/model/model.js +++ b/model/model.js @@ -974,7 +974,7 @@ steal('jquery/class', 'jquery/lang/string', function() { * * $.Model('Person',{ * models : function(data){ - * this._super(data.ballers); + * return this._super(data.ballers); * } * },{}) *