Skip to content
This repository has been archived by the owner on Feb 22, 2023. It is now read-only.

Commit

Permalink
Bump to 1.1.6 - bug fix edge cases
Browse files Browse the repository at this point in the history
  • Loading branch information
baumandm committed Oct 30, 2014
1 parent 6451fbc commit 0ca4f1a
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "angular-numeraljs",
"author": "Dave Bauman",
"version": "1.1.5",
"version": "1.1.6",
"license": "MIT",
"main": ["./dist/angular-numeraljs.js"],
"repository": {
Expand Down
4 changes: 2 additions & 2 deletions commonjs/angular-numeraljs.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
window.require.define({"angular-numeraljs": function(exports, require, module) {
/**
* AngularJS filter for Numeral.js: number formatting as a filter
* @version v1.1.5 - 2014-10-29
* @version v1.1.6 - 2014-10-29
* @link https://github.com/baumandm/angular-numeraljs
* @author Dave Bauman <[email protected]>
* @license MIT License, http://www.opensource.org/licenses/MIT
Expand Down Expand Up @@ -39,7 +39,7 @@ angular.module('ngNumeraljs', [])
})
.filter('numeraljs', ['$numeraljsConfig', function ($numeraljsConfig) {
return function (input, format) {
if (!input) {
if (input == null) {
return input;
}

Expand Down
4 changes: 2 additions & 2 deletions commonjs/angular-numeraljs.min.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
window.require.define({"angular-numeraljs.min": function(exports, require, module) {
/**
* AngularJS filter for Numeral.js: number formatting as a filter
* @version v1.1.5 - 2014-10-29
* @version v1.1.6 - 2014-10-29
* @link https://github.com/baumandm/angular-numeraljs
* @author Dave Bauman <[email protected]>
* @license MIT License, http://www.opensource.org/licenses/MIT
*/
"use strict";angular.module("ngNumeraljs",[]).provider("$numeraljsConfig",function(){var a={};this.setFormat=function(b,c){a[b]=c},this.setDefaultFormat=function(a){numeral.defaultFormat(a)},this.setLanguage=function(a,b){numeral.language(a,b)},this.setCurrentLanguage=function(a){numeral.language(a)},this.$get=function(){return{customFormat:function(b){return a[b]||b}}}}).filter("numeraljs",["$numeraljsConfig",function(a){return function(b,c){return b?(c=a.customFormat(c),numeral(b).format(c)):b}}]);}});
"use strict";angular.module("ngNumeraljs",[]).provider("$numeraljsConfig",function(){var a={};this.setFormat=function(b,c){a[b]=c},this.setDefaultFormat=function(a){numeral.defaultFormat(a)},this.setLanguage=function(a,b){numeral.language(a,b)},this.setCurrentLanguage=function(a){numeral.language(a)},this.$get=function(){return{customFormat:function(b){return a[b]||b}}}}).filter("numeraljs",["$numeraljsConfig",function(a){return function(b,c){return null==b?b:(c=a.customFormat(c),numeral(b).format(c))}}]);}});

4 changes: 2 additions & 2 deletions dist/angular-numeraljs.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* AngularJS filter for Numeral.js: number formatting as a filter
* @version v1.1.5 - 2014-10-29
* @version v1.1.6 - 2014-10-29
* @link https://github.com/baumandm/angular-numeraljs
* @author Dave Bauman <[email protected]>
* @license MIT License, http://www.opensource.org/licenses/MIT
Expand Down Expand Up @@ -38,7 +38,7 @@ angular.module('ngNumeraljs', [])
})
.filter('numeraljs', ['$numeraljsConfig', function ($numeraljsConfig) {
return function (input, format) {
if (!input) {
if (input == null) {
return input;
}

Expand Down
4 changes: 2 additions & 2 deletions dist/angular-numeraljs.min.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/**
* AngularJS filter for Numeral.js: number formatting as a filter
* @version v1.1.5 - 2014-10-29
* @version v1.1.6 - 2014-10-29
* @link https://github.com/baumandm/angular-numeraljs
* @author Dave Bauman <[email protected]>
* @license MIT License, http://www.opensource.org/licenses/MIT
*/
"use strict";angular.module("ngNumeraljs",[]).provider("$numeraljsConfig",function(){var a={};this.setFormat=function(b,c){a[b]=c},this.setDefaultFormat=function(a){numeral.defaultFormat(a)},this.setLanguage=function(a,b){numeral.language(a,b)},this.setCurrentLanguage=function(a){numeral.language(a)},this.$get=function(){return{customFormat:function(b){return a[b]||b}}}}).filter("numeraljs",["$numeraljsConfig",function(a){return function(b,c){return b?(c=a.customFormat(c),numeral(b).format(c)):b}}]);
"use strict";angular.module("ngNumeraljs",[]).provider("$numeraljsConfig",function(){var a={};this.setFormat=function(b,c){a[b]=c},this.setDefaultFormat=function(a){numeral.defaultFormat(a)},this.setLanguage=function(a,b){numeral.language(a,b)},this.setCurrentLanguage=function(a){numeral.language(a)},this.$get=function(){return{customFormat:function(b){return a[b]||b}}}}).filter("numeraljs",["$numeraljsConfig",function(a){return function(b,c){return null==b?b:(c=a.customFormat(c),numeral(b).format(c))}}]);
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "angular-numeraljs",
"description": "AngularJS filter for Numeral.js: number formatting as a filter",
"version": "1.1.5",
"version": "1.1.6",
"homepage": "https://github.com/baumandm/angular-numeraljs",
"author": "Dave Bauman <[email protected]>",
"repository": {
Expand Down

0 comments on commit 0ca4f1a

Please sign in to comment.