Author: ygrego Date: 2015-04-27 09:22:05 +0000 (Mon, 27 Apr 2015) New Revision: 1256 Url: http://forge.nuiton.org/projects/sandbox/repository/revisions/1256 Log: This object extend from "Collection" and call his super constructor in his own constructor. Modified: oipf/js/impl/model/ChannelList.js Modified: oipf/js/impl/model/ChannelList.js =================================================================== --- oipf/js/impl/model/ChannelList.js 2015-04-27 08:48:06 UTC (rev 1255) +++ oipf/js/impl/model/ChannelList.js 2015-04-27 09:22:05 UTC (rev 1256) @@ -5,10 +5,10 @@ * properties and methods defined below. * */ -var ChannelList = Array.extend({ +var ChannelList = Collection.extend({ init: function() { - this.push.apply(this, arguments); + this.super.init.apply(this, arguments); }, /*
participants (1)
-
ygregoï¼ users.nuiton.org