millermedeiros / amd-utils

modular JavaScript utilities written in the AMD format
http://millermedeiros.github.com/amd-utils
142 stars 11 forks source link

move math/inRange and math/isNear to another package? #39

Closed millermedeiros closed 12 years ago

millermedeiros commented 12 years ago

Both methods aren't really related to math.. it's more a logic/condition thing. Considering to create a new package just don't know the name yet, have other methods that would fit the same category like a method that returns the first non-null argument...

millermedeiros commented 12 years ago

so @satazor just told me that similar things in Java are inside the math package: http://commons.apache.org/lang/api-2.4/org/apache/commons/lang/math/Range.html so closing this for now.. maybe when we have more stuff like this.