Skip to content

Commit 4cecedd

Browse files
committed
build(v0.4.9): bump version v0.4.9
1 parent a6fef5b commit 4cecedd

File tree

6 files changed

+20
-7
lines changed

6 files changed

+20
-7
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#Angular-filter   [![Build Status](https://travis-ci.org/a8m/angular-filter.svg?branch=master)](https://travis-ci.org/a8m/angular-filter) [![Coverage Status](https://coveralls.io/repos/a8m/angular-filter/badge.png?branch=master)](https://coveralls.io/r/a8m/angular-filter?branch=master)
2-
>Bunch of useful filters for angularJS (with no external dependencies!), **v0.4.8**
2+
>Bunch of useful filters for angularJS (with no external dependencies!), **v0.4.9**
33
44
##Table of contents:
55
- [Get Started](#get-started)

bower.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "angular-filter",
3-
"version": "0.4.8",
3+
"version": "0.4.9",
44
"main": "dist/angular-filter.js",
55
"description": "Bunch of useful filters for angularJS(with no external dependencies!)",
66
"repository": {

dist/angular-filter.js

+15-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
22
* Bunch of useful filters for angularJS(with no external dependencies!)
3-
* @version v0.4.8 - 2014-10-13 * @link https://github.com/a8m/angular-filter
3+
* @version v0.4.9 - 2014-10-14 * @link https://github.com/a8m/angular-filter
44
* @author Ariel Mashraki <[email protected]>
55
* @license MIT License, http://www.opensource.org/licenses/MIT
66
*/
@@ -1088,10 +1088,23 @@ angular.module('a8m.reverse', [])
10881088
return input.split('').reverse().join('');
10891089
}
10901090

1091-
return (isArray(input)) ? input.reverse() : input;
1091+
return (isArray(input)) ? reverseArray(input) : input;
10921092
}
10931093
}]);
10941094

1095+
/**
1096+
* @description
1097+
* Get an array, reverse it manually.
1098+
* @param arr
1099+
* @returns {Array}
1100+
*/
1101+
function reverseArray(arr) {
1102+
var res = [];
1103+
arr.forEach(function(e, i) {
1104+
res.push(arr[arr.length - i -1]);
1105+
});
1106+
return res;
1107+
}
10951108

10961109
/**
10971110
* @ngdoc filter

dist/angular-filter.min.js

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/angular-filter.zip

311 Bytes
Binary file not shown.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "angular-filter",
33
"description": "Bunch of useful filters for angularJS(with no external dependencies!)",
4-
"version": "0.4.8",
4+
"version": "0.4.9",
55
"filename": "angular-filter.min.js",
66
"main": "dist/angular-filter.min.js",
77
"homepage": "https://github.com/a8m/angular-filter",

0 commit comments

Comments
 (0)