Skip to content

Commit

Permalink
Change minMax() to clamp()
Browse files Browse the repository at this point in the history
  • Loading branch information
Mike Wilcox committed Jun 24, 2012
1 parent 02049e4 commit 15ce90f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lang.js
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 15ce90f

Please sign in to comment.