Skip to content

Commit

Permalink
Release 1.5.2
Browse files Browse the repository at this point in the history
  • Loading branch information
BenjaminVanRyseghem committed Oct 14, 2015
1 parent 0c2d42c commit 4fec1f3
Show file tree
Hide file tree
Showing 10 changed files with 412 additions and 282 deletions.
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
### 1.5.2

- Fixed scoping issue. Thanks @tuimz
- #68 Format decimal numbers. Thanks @BenjaminVanRyseghem
- #70 v1.5.0 error with browserify. Thanks @BenjaminVanRyseghem
- #71 Incorrectly reporting hasModule = true. Thanks @BenjaminVanRyseghem
- #72 the currency symbol is $ which is a currency symbol already by itself (the dollar..). Thanks @BenjaminVanRyseghem
- #76 ability to "pad" a number in formatting. Thanks @BenjaminVanRyseghem
- #79 browserify attempts to load all language files. Thanks @BenjaminVanRyseghem
- #106 Exception on large number formatting. Thanks @andrewla

### 1.5.1

- #78 Why is 0 formatted as +0?. Thanks to @clayzermk1
Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "numbro",
"repo": "foretagsplatsen/numbro",
"version": "1.5.1",
"version": "1.5.2",
"description": "Format and manipulate numbers.",
"keywords": [
"numeral",
Expand Down
2 changes: 1 addition & 1 deletion component.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "numbro",
"repo": "foretagsplatsen/numbro",
"version": "1.5.1",
"version": "1.5.2",
"description": "Format and manipulate numbers.",
"keywords": [
"numeral",
Expand Down
74 changes: 37 additions & 37 deletions dist/languages.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
}
};

// Node
// CommonJS
if (typeof module !== 'undefined' && module.exports) {
module.exports = language;
}
Expand Down Expand Up @@ -86,7 +86,7 @@
}
};

// Node
// CommonJS
if (typeof module !== 'undefined' && module.exports) {
module.exports = language;
}
Expand Down Expand Up @@ -135,7 +135,7 @@
}
};

// Node
// CommonJS
if (typeof module !== 'undefined' && module.exports) {
module.exports = language;
}
Expand Down Expand Up @@ -186,7 +186,7 @@
}
};

// Node
// CommonJS
if (typeof module !== 'undefined' && module.exports) {
module.exports = language;
}
Expand Down Expand Up @@ -239,7 +239,7 @@
}
};

// Node
// CommonJS
if (typeof module !== 'undefined' && module.exports) {
module.exports = language;
}
Expand Down Expand Up @@ -292,7 +292,7 @@
}
};

// Node
// CommonJS
if (typeof module !== 'undefined' && module.exports) {
module.exports = language;
}
Expand Down Expand Up @@ -346,7 +346,7 @@
}
};

// Node
// CommonJS
if (typeof module !== 'undefined' && module.exports) {
module.exports = language;
}
Expand Down Expand Up @@ -400,7 +400,7 @@
}
};

// Node
// CommonJS
if (typeof module !== 'undefined' && module.exports) {
module.exports = language;
}
Expand Down Expand Up @@ -452,7 +452,7 @@
}
};

// Node
// CommonJS
if (typeof module !== 'undefined' && module.exports) {
module.exports = language;
}
Expand Down Expand Up @@ -491,7 +491,7 @@
}
};

// Node
// CommonJS
if (typeof module !== 'undefined' && module.exports) {
module.exports = language;
}
Expand Down Expand Up @@ -540,7 +540,7 @@
}
};

// Node
// CommonJS
if (typeof module !== 'undefined' && module.exports) {
module.exports = language;
}
Expand Down Expand Up @@ -583,7 +583,7 @@
}
};

// Node
// CommonJS
if (typeof module !== 'undefined' && module.exports) {
module.exports = language;
}
Expand Down Expand Up @@ -632,7 +632,7 @@
}
};

// Node
// CommonJS
if (typeof module !== 'undefined' && module.exports) {
module.exports = language;
}
Expand Down Expand Up @@ -681,7 +681,7 @@
}
};

// Node
// CommonJS
if (typeof module !== 'undefined' && module.exports) {
module.exports = language;
}
Expand Down Expand Up @@ -730,7 +730,7 @@
}
};

// Node
// CommonJS
if (typeof module !== 'undefined' && module.exports) {
module.exports = language;
}
Expand Down Expand Up @@ -776,15 +776,15 @@
}
};

// Node
// CommonJS
if (typeof module !== 'undefined' && module.exports) {
module.exports = language;
}
// Browser
if (typeof window !== 'undefined' && this.numbro && this.numbro.language) {
this.numbro.language(language.langLocaleCode, language);
if (typeof window !== 'undefined' && window.numbro && window.numbro.language) {
window.numbro.language(language.langLocaleCode, language);
}
}());
}.call(typeof window === 'undefined' ? this : window));


/*!
Expand Down Expand Up @@ -826,7 +826,7 @@
}
};

// Node
// CommonJS
if (typeof module !== 'undefined' && module.exports) {
module.exports = language;
}
Expand Down Expand Up @@ -875,7 +875,7 @@
}
};

// Node
// CommonJS
if (typeof module !== 'undefined' && module.exports) {
module.exports = language;
}
Expand Down Expand Up @@ -924,7 +924,7 @@
}
};

// Node
// CommonJS
if (typeof module !== 'undefined' && module.exports) {
module.exports = language;
}
Expand Down Expand Up @@ -972,7 +972,7 @@
fullWithNoDecimals: ',0 $'
}
};
// Node
// CommonJS
if (typeof module !== 'undefined' && module.exports) {
module.exports = language;
}
Expand Down Expand Up @@ -1018,7 +1018,7 @@
}
};

// Node
// CommonJS
if (typeof module !== 'undefined' && module.exports) {
module.exports = language;
}
Expand Down Expand Up @@ -1068,7 +1068,7 @@
}
};

// Node
// CommonJS
if (typeof module !== 'undefined' && module.exports) {
module.exports = language;
}
Expand Down Expand Up @@ -1118,7 +1118,7 @@
}
};

// Node
// CommonJS
if (typeof module !== 'undefined' && module.exports) {
module.exports = language;
}
Expand Down Expand Up @@ -1167,7 +1167,7 @@
}
};

// Node
// CommonJS
if (typeof module !== 'undefined' && module.exports) {
module.exports = language;
}
Expand Down Expand Up @@ -1216,7 +1216,7 @@
}
};

// Node
// CommonJS
if (typeof module !== 'undefined' && module.exports) {
module.exports = language;
}
Expand Down Expand Up @@ -1265,7 +1265,7 @@
}
};

// Node
// CommonJS
if (typeof module !== 'undefined' && module.exports) {
module.exports = language;
}
Expand Down Expand Up @@ -1317,7 +1317,7 @@
}
};

// Node
// CommonJS
if (typeof module !== 'undefined' && module.exports) {
module.exports = language;
}
Expand Down Expand Up @@ -1369,7 +1369,7 @@
}
};

// Node
// CommonJS
if (typeof module !== 'undefined' && module.exports) {
module.exports = language;
}
Expand Down Expand Up @@ -1418,7 +1418,7 @@
}
};

// Node
// CommonJS
if (typeof module !== 'undefined' && module.exports) {
module.exports = language;
}
Expand Down Expand Up @@ -1464,7 +1464,7 @@
}
};

// Node
// CommonJS
if (typeof module !== 'undefined' && module.exports) {
module.exports = language;
}
Expand Down Expand Up @@ -1513,7 +1513,7 @@
}
};

// Node
// CommonJS
if (typeof module !== 'undefined' && module.exports) {
module.exports = language;
}
Expand Down Expand Up @@ -1597,7 +1597,7 @@
}
};

// Node
// CommonJS
if (typeof module !== 'undefined' && module.exports) {
module.exports = language;
}
Expand Down Expand Up @@ -1649,7 +1649,7 @@
}
};

// Node
// CommonJS
if (typeof module !== 'undefined' && module.exports) {
module.exports = language;
}
Expand Down Expand Up @@ -1698,7 +1698,7 @@
}
};

// Node
// CommonJS
if (typeof module !== 'undefined' && module.exports) {
module.exports = language;
}
Expand Down
2 changes: 1 addition & 1 deletion dist/languages.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/languages/he-IL.min.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
* locale : IL
* author : Eli Zehavi : https://github.com/eli-zehavi
*/
!function(){"use strict";var a={langLocaleCode:"he-IL",delimiters:{thousands:",",decimal:"."},abbreviations:{thousand:"אלף",million:"מליון",billion:"בליון",trillion:"טריליון"},currency:{symbol:"₪",position:"prefix"},defaults:{currencyFormat:",0000 a"},formats:{fourDigits:"0000 a",fullWithTwoDecimals:"₪ ,0.00",fullWithTwoDecimalsNoCurrency:",0.00",fullWithNoDecimals:"₪ ,0"}};"undefined"!=typeof module&&module.exports&&(module.exports=a),"undefined"!=typeof window&&this.numbro&&this.numbro.language&&this.numbro.language(a.langLocaleCode,a)}();
(function(){"use strict";var a={langLocaleCode:"he-IL",delimiters:{thousands:",",decimal:"."},abbreviations:{thousand:"אלף",million:"מליון",billion:"בליון",trillion:"טריליון"},currency:{symbol:"₪",position:"prefix"},defaults:{currencyFormat:",0000 a"},formats:{fourDigits:"0000 a",fullWithTwoDecimals:"₪ ,0.00",fullWithTwoDecimalsNoCurrency:",0.00",fullWithNoDecimals:"₪ ,0"}};"undefined"!=typeof module&&module.exports&&(module.exports=a),"undefined"!=typeof window&&window.numbro&&window.numbro.language&&window.numbro.language(a.langLocaleCode,a)}).call("undefined"==typeof window?this:window);
Loading

0 comments on commit 4fec1f3

Please sign in to comment.