My favorites | Sign in
Project Logo
                
Details: Show all Hide all

Last 7 days

  • Jan 03, 2010
    r54 (Improve Format As You Type demo by not calling formatCurrenc...) committed by esambo   -   Improve Format As You Type demo by not calling formatCurrency on a SHIFT, HOME or END key
    Improve Format As You Type demo by not calling formatCurrency on a SHIFT, HOME or END key
  • Jan 02, 2010
    r53 (Only keey "-" during Format As You Type.) committed by esambo   -   Only keey "-" during Format As You Type.
    Only keey "-" during Format As You Type.
  • Jan 02, 2010
    r52 (Fixed bug where "-" was deleted. Improved eventOnDecimalsEnt...) committed by esambo   -   Fixed bug where "-" was deleted. Improved eventOnDecimalsEntered to only be triggered if necessary.
    Fixed bug where "-" was deleted. Improved eventOnDecimalsEntered to only be triggered if necessary.
  • Jan 01, 2010
    issue 16 (Issue calling on asNumber on a negative format item) Status changed by bdewe...@hotmail.com   -   released with v1.3
    Status: Fixed
    released with v1.3
    Status: Fixed
  • Jan 01, 2010
    issue 15 (Number reset to 0 when symbol set to '') Status changed by bdewe...@hotmail.com   -   Released with v1.3
    Status: Fixed
    Released with v1.3
    Status: Fixed
  • Jan 01, 2010
    jquery.formatCurrency-1.3.0.zip (jQuery Format Currency plugin 1.3.0 (Test Suite, Region Gene...) file uploaded by bdewe...@hotmail.com   -  
    Labels: Featured Type-Archive OpSys-All
    Labels: Featured Type-Archive OpSys-All
  • Jan 01, 2010
    jquery.formatCurrency-1.3.0.i18n.zip (jQuery Format Currency plugin 1.3.0 (International Pack)) file uploaded by bdewe...@hotmail.com   -  
    Labels: Featured OpSys-All
    Labels: Featured OpSys-All
  • Jan 01, 2010
    jquery.formatCurrency-1.3.0.pack.js (jQuery Format Currency plugin 1.3.0 (Packed)) file uploaded by bdewe...@hotmail.com   -  
    Labels: Featured OpSys-All
    Labels: Featured OpSys-All
  • Jan 01, 2010
    jquery.formatCurrency-1.3.0.min.js (jQuery Format Currency plugin 1.2.0 (Minified)) file uploaded by bdewe...@hotmail.com   -  
    Labels: Featured OpSys-All
    Labels: Featured OpSys-All
  • Jan 01, 2010
    jquery.formatCurrency-1.3.0.js (jQuery Format Currency plugin 1.3.0) file uploaded by bdewe...@hotmail.com   -  
    Labels: Featured OpSys-All
    Labels: Featured OpSys-All
  • Jan 01, 2010
    r51 (Added 1.3.0 tag) committed by bdewe...@hotmail.com   -   Added 1.3.0 tag
    Added 1.3.0 tag
  • Jan 01, 2010
    issue 16 (Issue calling on asNumber on a negative format item) Status changed by bdewe...@hotmail.com   -   Leaving accepted until v1.3 is released
    Status: Accepted
    Leaving accepted until v1.3 is released
    Status: Accepted
  • Jan 01, 2010
    issue 16 (Issue calling on asNumber on a negative format item) changed by bdewe...@hotmail.com   -   This has been fixed in the trunk an will be released with v1.3
    Status: Fixed
    Labels: Milestone-v1.3
    This has been fixed in the trunk an will be released with v1.3
    Status: Fixed
    Labels: Milestone-v1.3
  • Jan 01, 2010
    r50 (Fixed bug #16 and added unit tests for negative format of (1...) committed by bdewe...@hotmail.com   -   Fixed bug #16 and added unit tests for negative format of (100.00)
    Fixed bug #16 and added unit tests for negative format of (100.00)

Last 30 days

  • Dec 17, 2009
    issue 16 (Issue calling on asNumber on a negative format item) commented on by bdewe...@hotmail.com   -   Just checked in Unit tests that prove this as valid. Unfortunately my internet connection is spotty I'll resolve the issue shortly based on these tests.
    Just checked in Unit tests that prove this as valid. Unfortunately my internet connection is spotty I'll resolve the issue shortly based on these tests.
  • Dec 17, 2009
    issue 16 (Issue calling on asNumber on a negative format item) Status changed by bdewe...@hotmail.com   -   Just checkin Unit tests that prove this as valid. Unfortunately my internet connection is spotty I'll resolve the issue shortly based on these tests.
    Status: Accepted
    Just checkin Unit tests that prove this as valid. Unfortunately my internet connection is spotty I'll resolve the issue shortly based on these tests.
    Status: Accepted
  • Dec 17, 2009
    r49 (Added Unit Tests for issue #16) committed by bdewe...@hotmail.com   -   Added Unit Tests for issue #16
    Added Unit Tests for issue #16
  • Dec 17, 2009
    issue 16 (Issue calling on asNumber on a negative format item) commented on by keith74   -   Seems to working for me so far, but I made an additional change so that it works for both asNumber and toNumber. I changed: [154] var method = $(this).is('input, select, textarea') ? 'val' : 'html'; [155] $(this)[method]($(this)[method]().replace(settings.regex, '')); to var method = $(this).is('input, select, textarea') ? 'val' : 'html'; var num = $(this)[method](); num = num.replace("(", "(-"); num = num.replace(settings.regex, ''); $(this)[method](num); Seems you would want to maybe make it part of the core regex statment, but seems to be working so far. Thanks for the help.
    Seems to working for me so far, but I made an additional change so that it works for both asNumber and toNumber. I changed: [154] var method = $(this).is('input, select, textarea') ? 'val' : 'html'; [155] $(this)[method]($(this)[method]().replace(settings.regex, '')); to var method = $(this).is('input, select, textarea') ? 'val' : 'html'; var num = $(this)[method](); num = num.replace("(", "(-"); num = num.replace(settings.regex, ''); $(this)[method](num); Seems you would want to maybe make it part of the core regex statment, but seems to be working so far. Thanks for the help.
  • Dec 16, 2009
    issue 16 (Issue calling on asNumber on a negative format item) commented on by chdr...@yahoo.com   -   Not sure if it's the proper fix or a hack, but my preliminary testing suggests that a solution is possible by adding [178] num = num.replace("(", "(-"); immediately before [179] num = num.replace(settings.regex, '');
    Not sure if it's the proper fix or a hack, but my preliminary testing suggests that a solution is possible by adding [178] num = num.replace("(", "(-"); immediately before [179] num = num.replace(settings.regex, '');
  • Dec 15, 2009
    issue 16 (Issue calling on asNumber on a negative format item) reported by keith74   -   What steps will reproduce the problem? 1. Add a negative number and call formatCurrency on it, shows up red and in parentheses 2. Try to convert it back to a number with asNumber 3. Number comes back as positive instead of negative What is the expected output? What do you see instead? Expect if it was negative when formatCurrency was called, it should come back as negative when asNumber is called on the same field What version of the product are you using? On what operating system? formatCurrency 1.2, FF 3.0.15, jquery 1.3.2 Please provide any additional information below. Been trying to patch it myself, but haven't quite figured it out yet.
    What steps will reproduce the problem? 1. Add a negative number and call formatCurrency on it, shows up red and in parentheses 2. Try to convert it back to a number with asNumber 3. Number comes back as positive instead of negative What is the expected output? What do you see instead? Expect if it was negative when formatCurrency was called, it should come back as negative when asNumber is called on the same field What version of the product are you using? On what operating system? formatCurrency 1.2, FF 3.0.15, jquery 1.3.2 Please provide any additional information below. Been trying to patch it myself, but haven't quite figured it out yet.

Older

  • Dec 04, 2009
    r48 (Added explicit open/closing {} on all if statements, take3) committed by bdewe...@hotmail.com   -   Added explicit open/closing {} on all if statements, take3
    Added explicit open/closing {} on all if statements, take3
  • Dec 04, 2009
    r47 (Added explicit open/closing {} on all if statements, take2) committed by bdewe...@hotmail.com   -   Added explicit open/closing {} on all if statements, take2
    Added explicit open/closing {} on all if statements, take2
  • Dec 04, 2009
    r46 (Added explicit open/closing {} on all if statements) committed by bdewe...@hotmail.com   -   Added explicit open/closing {} on all if statements
    Added explicit open/closing {} on all if statements
  • Dec 04, 2009
    issue 15 (Number reset to 0 when symbol set to '') Labels changed by bdewe...@hotmail.com   -   Accepted, Thanks for pointing this out. This has been fixed in the trunk and will be included in v1.3. As for the decimalSymbol issue, it is contained within a [] character literal and doesn't require the escaping. If you find this to be an error still, please create a new issue with the browser that is experiencing the issue.
    Labels: Milestone-v1.3
    Accepted, Thanks for pointing this out. This has been fixed in the trunk and will be included in v1.3. As for the decimalSymbol issue, it is contained within a [] character literal and doesn't require the escaping. If you find this to be an error still, please create a new issue with the browser that is experiencing the issue.
    Labels: Milestone-v1.3
  • Dec 04, 2009
    r45 (Fixed bug #15 and added unit test, changed generateRegex fun...) committed by bdewe...@hotmail.com   -   Fixed bug #15 and added unit test, changed generateRegex function to check for blank symbol.
    Fixed bug #15 and added unit test, changed generateRegex function to check for blank symbol.
  • Dec 04, 2009
    issue 15 (Number reset to 0 when symbol set to '') Status changed by bdewe...@hotmail.com   -   Accepted, thanks for point this out, we'll write a unit test for this and resolve in v1.3
    Status: Accepted
    Accepted, thanks for point this out, we'll write a unit test for this and resolve in v1.3
    Status: Accepted
  • Dec 04, 2009
    issue 15 (Number reset to 0 when symbol set to '') reported by msg.jason   -   What steps will reproduce the problem? 1. Set input element value to 1,234.56. 2. Call $(element).formatCurrency({ symbol: ''}); on input element. 3. Verify input element value is 0. What is the expected output? What do you see instead? See above. What version of the product are you using? On what operating system? jquery.formatCurrency-1.2.0.js, IE8 & Chrome Please provide any additional information below. Bugfix: 1. Removed 'symbol|' part from regex, we want to strip all symbols 2. Replaced '.' wildcard character with '\\.' function generateRegex(settings) { var decimalSymbol = settings.decimalSymbol.replace('.', '\\.'); return new RegExp("[^\\d" + decimalSymbol + "-]", "g"); }
    What steps will reproduce the problem? 1. Set input element value to 1,234.56. 2. Call $(element).formatCurrency({ symbol: ''}); on input element. 3. Verify input element value is 0. What is the expected output? What do you see instead? See above. What version of the product are you using? On what operating system? jquery.formatCurrency-1.2.0.js, IE8 & Chrome Please provide any additional information below. Bugfix: 1. Removed 'symbol|' part from regex, we want to strip all symbols 2. Replaced '.' wildcard character with '\\.' function generateRegex(settings) { var decimalSymbol = settings.decimalSymbol.replace('.', '\\.'); return new RegExp("[^\\d" + decimalSymbol + "-]", "g"); }
  • Dec 04, 2009
    Usage (The formatCurrency, toNumber, and asNumber usage documentati...) Wiki page commented on by msg.jason   -   This script does almost everything I wanted done, but a few suggestions I want to propose: # Use a larger value for unit testing i.e. 123,456.78 instead of 123. # Refactor the input cleaning block in formatCurrency, asNumber & toNumber methods.
    This script does almost everything I wanted done, but a few suggestions I want to propose: # Use a larger value for unit testing i.e. 123,456.78 instead of 123. # Refactor the input cleaning block in formatCurrency, asNumber & toNumber methods.
  • Dec 04, 2009
    Usage (The formatCurrency, toNumber, and asNumber usage documentati...) Wiki page commented on by msg.jason   -   This script does almost everything I wanted done, but a few suggestions I want to propose after debugging the above issue: # Use a larger value for unit testing i.e. 123,456.78 instead of 123. # Refactor the input cleaning block in formatCurrency, asNumber & toNumber methods.
    This script does almost everything I wanted done, but a few suggestions I want to propose after debugging the above issue: # Use a larger value for unit testing i.e. 123,456.78 instead of 123. # Refactor the input cleaning block in formatCurrency, asNumber & toNumber methods.
  • Dec 04, 2009
    Usage (The formatCurrency, toNumber, and asNumber usage documentati...) Wiki page commented on by msg.jason   -   This script does almost everything I wanted done, but a few suggestions I want to propose after debugging the above issue: # Use a larger value for unit testing i.e. 123,456.78 instead of 123. # Refactor the input cleaning block in formatCurrency, asNumber & toNumber methods.
    This script does almost everything I wanted done, but a few suggestions I want to propose after debugging the above issue: # Use a larger value for unit testing i.e. 123,456.78 instead of 123. # Refactor the input cleaning block in formatCurrency, asNumber & toNumber methods.
  • Dec 04, 2009
    Usage (The formatCurrency, toNumber, and asNumber usage documentati...) Wiki page commented on by msg.jason   -   This script does almost everything I wanted done, but a few suggestions I want to propose after debugging the above issue: 1. Use a larger value for unit testing i.e. 123,456.78 instead of 123 2. Refactor the input cleaning block in formatCurrency, asNumber & toNumber methods.
    This script does almost everything I wanted done, but a few suggestions I want to propose after debugging the above issue: 1. Use a larger value for unit testing i.e. 123,456.78 instead of 123 2. Refactor the input cleaning block in formatCurrency, asNumber & toNumber methods.
  • Dec 04, 2009
    Usage (The formatCurrency, toNumber, and asNumber usage documentati...) Wiki page commented on by msg.jason   -   I found that when symbol option is set to empty string, number gets reset to 0. Bug: {{{ function generateRegex(settings) { var symbol = settings.symbol.replace('$', '\\$').replace('.', '\\.'); return new RegExp(symbol + "|[^\\d" + decimalSymbol + "-]", "g"); } }}} Fix: {{{ function generateRegex(settings) { var symbol = settings.symbol.replace('$', '\\$'); var decimalSymbol = settings.symbol.replace('.', '\\.'); return new RegExp("[^\\d" + decimalSymbol + "-]", "g"); } }}}
    I found that when symbol option is set to empty string, number gets reset to 0. Bug: {{{ function generateRegex(settings) { var symbol = settings.symbol.replace('$', '\\$').replace('.', '\\.'); return new RegExp(symbol + "|[^\\d" + decimalSymbol + "-]", "g"); } }}} Fix: {{{ function generateRegex(settings) { var symbol = settings.symbol.replace('$', '\\$'); var decimalSymbol = settings.symbol.replace('.', '\\.'); return new RegExp("[^\\d" + decimalSymbol + "-]", "g"); } }}}
  • Dec 04, 2009
    Usage (The formatCurrency, toNumber, and asNumber usage documentati...) Wiki page commented on by msg.jason   -   Bug: {{{ function generateRegex(settings) { var symbol = settings.symbol.replace('$', '\\$').replace('.', '\\.'); return new RegExp(symbol + "|[^\\d" + settings.decimalSymbol + "-]", "g"); } }}} Fix: {{{ function generateRegex(settings) { var symbol = settings.symbol.replace('$', '\\$'); var decimalSymbol = settings.decimalSymbol.replace('.', '\\.'); return new RegExp(symbol + "|[^\\d" + decimalSymbol + "-]", "g"); } }}}
    Bug: {{{ function generateRegex(settings) { var symbol = settings.symbol.replace('$', '\\$').replace('.', '\\.'); return new RegExp(symbol + "|[^\\d" + settings.decimalSymbol + "-]", "g"); } }}} Fix: {{{ function generateRegex(settings) { var symbol = settings.symbol.replace('$', '\\$'); var decimalSymbol = settings.decimalSymbol.replace('.', '\\.'); return new RegExp(symbol + "|[^\\d" + decimalSymbol + "-]", "g"); } }}}
  • Dec 03, 2009
    Futures (The page is devoted to discussions on future plans) Wiki page edited by bdewe...@hotmail.com   -   Revision r44 added credit card features
    Revision r44 added credit card features
  • Nov 28, 2009
    GuideForCommiters (This is a guide for committers on the project) Wiki page edited by bdewe...@hotmail.com   -   Revision r43 Edited wiki page through web user interface.
    Revision r43 Edited wiki page through web user interface.
  • Nov 28, 2009
    GuideForCommiters (This is a guide for committers on the project) Wiki page added by bdewe...@hotmail.com   -   Revision r42 Created wiki page through web user interface.
    Revision r42 Created wiki page through web user interface.
  • Nov 28, 2009
    Futures (The page is devoted to discussions on future plans) Wiki page edited by bdewe...@hotmail.com   -   Revision r41 Edited wiki page through web user interface.
    Revision r41 Edited wiki page through web user interface.
  • Nov 28, 2009
    Futures (The page is devoted to discussions on future plans) Wiki page edited by bdewe...@hotmail.com   -   Revision r40 Edited wiki page through web user interface.
    Revision r40 Edited wiki page through web user interface.
  • Nov 28, 2009
    Futures Wiki page added by bdewe...@hotmail.com   -   Revision r39 Created wiki page through web user interface.
    Revision r39 Created wiki page through web user interface.
  • Nov 27, 2009
    issue 11 (Blank = 0.00 Incorrectly) commented on by samihoda   -   Option is fine, but setting to 0.00 shouldn't be the default. Thanks for fixing this!
    Option is fine, but setting to 0.00 shouldn't be the default. Thanks for fixing this!
  • Nov 27, 2009
    r38 (updated the unit test file with from link in the 1.1 tag.) committed by bdewe...@hotmail.com   -   updated the unit test file with from link in the 1.1 tag.
    updated the unit test file with from link in the 1.1 tag.
  • Nov 27, 2009
    Usage (The formatCurrency, toNumber, and asNumber usage documentati...) Wiki page commented on by bdewe...@hotmail.com   -   I've just released a new version 1.2 of the plugin that should address many of the issues in the comments so far
    I've just released a new version 1.2 of the plugin that should address many of the issues in the comments so far
  • Nov 27, 2009
    jquery.formatCurrency-1.2.0.zip (jQuery Format Currency plugin 1.2.0 (Test Suite, Region Gene...) file uploaded by bdewe...@hotmail.com   -  
    Labels: Featured Type-Archive OpSys-All
    Labels: Featured Type-Archive OpSys-All
  • Nov 27, 2009
    jquery.formatCurrency-1.2.0.i18n.zip (jQuery Format Currency plugin 1.2.0 (International Pack)) file uploaded by bdewe...@hotmail.com   -  
    Labels: Featured OpSys-All
    Labels: Featured OpSys-All
  • Nov 27, 2009
    jquery.formatCurrency-1.2.0.pack.js (jQuery Format Currency plugin 1.2.0 (Packed)) file uploaded by bdewe...@hotmail.com   -  
    Labels: Featured OpSys-All
    Labels: Featured OpSys-All
  • Nov 27, 2009
    jquery.formatCurrency-1.2.0.min.js (jQuery Format Currency plugin 1.2.0 (Minified)) file uploaded by bdewe...@hotmail.com   -  
    Labels: Featured OpSys-All
    Labels: Featured OpSys-All
  • Nov 27, 2009
    r37 (Created v1.2.0 release) committed by bdewe...@hotmail.com   -   Created v1.2.0 release
    Created v1.2.0 release
  • Nov 27, 2009
    jquery.formatCurrency-1.2.0.js (jQuery Format Currency plugin 1.2.0) file uploaded by bdewe...@hotmail.com   -  
    Labels: Featured OpSys-All
    Labels: Featured OpSys-All
  • Nov 27, 2009
    issue 14 (Unable to properly parse currency from India region) changed by bdewe...@hotmail.com   -   Added some checks to the regex that replaces the literal of the number symbol. Also added en-IN to the trunk to provide unit testing on this region as its a nice edge/test case. Thanks poovarasanbe for the report
    Status: Fixed
    Labels: Milestone-v1.2
    Added some checks to the regex that replaces the literal of the number symbol. Also added en-IN to the trunk to provide unit testing on this region as its a nice edge/test case. Thanks poovarasanbe for the report
    Status: Fixed
    Labels: Milestone-v1.2
  • Nov 27, 2009
    r36 (Fixed Issue #14 and added en-IN for testing) committed by bdewe...@hotmail.com   -   Fixed Issue #14 and added en-IN for testing
    Fixed Issue #14 and added en-IN for testing
 
Hosted by Google Code