File tree Expand file tree Collapse file tree 3 files changed +6
-10
lines changed Expand file tree Collapse file tree 3 files changed +6
-10
lines changed Original file line number Diff line number Diff line change 33 < head >
44 < link href ="http://code.jquery.com/qunit/qunit-1.12.0.css " rel ="stylesheet ">
55 < script src ="http://code.jquery.com/qunit/qunit-1.12.0.js "> </ script >
6- < script src ="wNumb.min. js "> </ script >
6+ < script src ="wNumb.js "> </ script >
77 </ head >
88
99 < div id ="qunit "> </ div >
Original file line number Diff line number Diff line change @@ -245,10 +245,10 @@ var
245245 if ( optionValue === undefined ) {
246246
247247 // Only default if negativeBefore isn't set.
248- if ( optionName === 'negative' && ! filteredOptions [ ' negativeBefore' ] ) {
248+ if ( optionName === 'negative' && ! filteredOptions . negativeBefore ) {
249249 filteredOptions [ optionName ] = '-' ;
250250 // Don't set a default for mark when 'thousand' is set.
251- } else if ( optionName === 'mark' && filteredOptions [ ' thousand' ] !== '.' ) {
251+ } else if ( optionName === 'mark' && filteredOptions . thousand !== '.' ) {
252252 filteredOptions [ optionName ] = '.' ;
253253 } else {
254254 filteredOptions [ optionName ] = false ;
@@ -319,17 +319,17 @@ var
319319 options = validate ( options ) ;
320320
321321 // Call 'formatTo' with proper arguments.
322- this [ 'to' ] = function ( input ) {
322+ this . to = function ( input ) {
323323 return passAll ( options , formatTo , input ) ;
324324 } ;
325325
326326 // Call 'formatFrom' with proper arguments.
327- this [ ' from' ] = function ( input ) {
327+ this . from = function ( input ) {
328328 return passAll ( options , formatFrom , input ) ;
329329 } ;
330330 }
331331
332332 /** @export */
333- window [ ' wNumb' ] = wNumb ;
333+ window . wNumb = wNumb ;
334334
335335} ( ) ) ;
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments