locbet / jquery-numberformatter

Automatically exported from code.google.com/p/jquery-numberformatter
0 stars 0 forks source link

$ should be jQuery in Number.prototype.toFixed (line 461, r10-r12) #43

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. r10 or higher
2. load page attempting to use $.numberFormat in client code
3. Notice Chrome's console bark at you about no $._roundNumber being defined.

TypeError: Object function $(element) {
...
} has no method '_roundNumber'

What is the expected output? What do you see instead?
see above

What version of the product are you using? On what operating system?
1.2.2.min on Mac OS X, Chrome 11.0.696.68
jshashtable 2.1
jquery 1.4.4 min

Please provide any additional information below.

r10 to r12 exhibit the problem.  Changing $._roundNumber to jQuery._roundNumber 
seems to solve it for me.  $ isn't passed into the scope, jQuery is.

Original issue reported on code.google.com by b...@sankatygroup.com on 23 May 2011 at 8:01

GoogleCodeExporter commented 8 years ago
Thanks, will look into it for the next release.

Original comment by apar...@gmail.com on 11 Sep 2011 at 4:28

GoogleCodeExporter commented 8 years ago
Added to 1.2.3 (r15).

Fixed as suggested, seems to work fine.

Original comment by apar...@gmail.com on 5 Feb 2012 at 12:00