3 Feb
2015
3 Feb
'15
5:08 p.m.
Author: ygrego Date: 2015-02-03 17:08:04 +0000 (Tue, 03 Feb 2015) New Revision: 763 Url: http://forge.nuiton.org/projects/sandbox/repository/revisions/763 Log: Adding of new class 'math' into new file 'math.js'. Added: oipf/js/utils/ oipf/js/utils/math.js Added: oipf/js/utils/math.js =================================================================== --- oipf/js/utils/math.js (rev 0) +++ oipf/js/utils/math.js 2015-02-03 17:08:04 UTC (rev 763) @@ -0,0 +1,11 @@ +var math = Class.extend({ + + init: function() { + }, + + genId: function(boundary, adjustment){ + + return Math.floor((Math.random() * boundary) + adjustment); + } + +}); \ No newline at end of file
4150
Age (days ago)
4150
Last active (days ago)
0 comments
1 participants
participants (1)
-
ygregoï¼ users.nuiton.org