Author: ygrego Date: 2015-04-20 10:02:48 +0000 (Mon, 20 Apr 2015) New Revision: 1229 Url: http://forge.nuiton.org/projects/sandbox/repository/revisions/1229 Log: Implementation of class "Collection". Added: oipf/js/impl/Collection.js Added: oipf/js/impl/Collection.js =================================================================== --- oipf/js/impl/Collection.js (rev 0) +++ oipf/js/impl/Collection.js 2015-04-20 10:02:48 UTC (rev 1229) @@ -0,0 +1,16 @@ +/* + * To change this license header, choose License Headers in Project Properties. + * To change this template file, choose Tools | Templates + * and open the template in the editor. + */ + +var Collection = Array.extend({ + + item: function(index) { + return this[index]; + } + +}); + + +