r774 - oipf/js/utils
Author: ygrego Date: 2015-02-06 16:17:45 +0000 (Fri, 06 Feb 2015) New Revision: 774 Url: http://forge.nuiton.org/projects/sandbox/repository/revisions/774 Log: Rename 'math.js' Added: oipf/js/utils/Math.js Removed: oipf/js/utils/math.js Copied: oipf/js/utils/Math.js (from rev 773, oipf/js/utils/math.js) =================================================================== --- oipf/js/utils/Math.js (rev 0) +++ oipf/js/utils/Math.js 2015-02-06 16:17:45 UTC (rev 774) @@ -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 Deleted: oipf/js/utils/math.js =================================================================== --- oipf/js/utils/math.js 2015-02-06 16:10:09 UTC (rev 773) +++ oipf/js/utils/math.js 2015-02-06 16:17:45 UTC (rev 774) @@ -1,11 +0,0 @@ -var math = Class.extend({ - - init: function() { - }, - - genId: function(boundary, adjustment){ - - return Math.floor((Math.random() * boundary) + adjustment); - } - -}); \ No newline at end of file
participants (1)
-
ygregoï¼ users.nuiton.org