From 15ce90f518c7106e1ae9da343b1035dc36d81185 Mon Sep 17 00:00:00 2001 From: Mike Wilcox Date: Sun, 24 Jun 2012 12:04:59 -0500 Subject: [PATCH] Change minMax() to clamp() --- lang.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lang.js b/lang.js index d0573ac..06d0503 100644 --- a/lang.js +++ b/lang.js @@ -98,7 +98,7 @@ define([ return source1; }, - minMax: function(/*Number*/num, /*Number*/n1, /*Number*/n2){ + clamp: function(/*Number*/num, /*Number*/n1, /*Number*/n2){ // summary: // Returns the number if it is inbetween the min and the max. // If it is over it returns the max, if under returns the min.