23 Feb
2015
23 Feb
'15
8:44 a.m.
Author: ygrego Date: 2015-02-23 08:44:51 +0000 (Mon, 23 Feb 2015) New Revision: 848 Url: http://forge.nuiton.org/projects/sandbox/repository/revisions/848 Log: Permit to instanciate a object "Collection" without parameter. Modified: oipf/js/lib/Collection.js Modified: oipf/js/lib/Collection.js =================================================================== --- oipf/js/lib/Collection.js 2015-02-23 08:41:49 UTC (rev 847) +++ oipf/js/lib/Collection.js 2015-02-23 08:44:51 UTC (rev 848) @@ -20,7 +20,9 @@ }, init: function(elements) { - this.push(elements); + if (elements) { + this.push(elements); + }s } }); \ No newline at end of file
4130
Age (days ago)
4130
Last active (days ago)
0 comments
1 participants
participants (1)
-
ygregoï¼ users.nuiton.org