locbet / jquery-numberformatter

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

jQuery.noConflict #45

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. override the $ operator. 
   var $my= jQuery.noConflict();
2. try to format a number
   amount = $my.formatNumber(amount, {format:'#,###.00', locale:'us'});

What is the expected output? What do you see instead?
I expected the formatted amount. I've got a javascipt error instead:
$ is null or not an object.

What version of the product are you using? On what operating system?
Version 1.2.2? Windows7/IE8

Please provide any additional information below.
a fix would be to not use the '$.' operator in the plugin. 
instead user direct 'jQuery.'.

Original issue reported on code.google.com by Rudi.Ha...@gmail.com on 8 Jul 2011 at 8:35

GoogleCodeExporter commented 8 years ago
Thanks, didn't know about this function of jQuery, will try and fix for next 
release.

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

GoogleCodeExporter commented 8 years ago

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

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Sorry. But this is blocking me from using your script in my asp.net site...

Cheer up.

Original comment by johnn...@gmail.com on 11 Dec 2011 at 3:36

GoogleCodeExporter commented 8 years ago
Fixed as part of defect #43 (r15/v1.2.3).

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