Skip to content

Commit

Permalink
🚀Going for v0.3.1!!🎉
Browse files Browse the repository at this point in the history
We are now getting in BETA
  • Loading branch information
arguiot committed Jul 13, 2017
1 parent 800742a commit cacea0e
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 11 deletions.
6 changes: 3 additions & 3 deletions dist/display.es6.js
Original file line number Diff line number Diff line change
Expand Up @@ -438,12 +438,12 @@ class DisplayJS {
}
rmFromArray(array, condition) {
const obj = [];
this.forIn(array, (i) => {
for (const i in array) {
if (!condition(i)) {
obj.push(array[i]);
}
return obj;
});
}
return obj;
}
average(array) {
const summed = this.sum(array);
Expand Down
6 changes: 3 additions & 3 deletions dist/display.js
Original file line number Diff line number Diff line change
Expand Up @@ -582,12 +582,12 @@ var DisplayJS = function () {
key: "rmFromArray",
value: function rmFromArray(array, condition) {
var obj = [];
this.forIn(array, function (i) {
for (var i in array) {
if (!condition(i)) {
obj.push(array[i]);
}
return obj;
});
}
return obj;
}
}, {
key: "average",
Expand Down
2 changes: 1 addition & 1 deletion dist/display.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 package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "display.js",
"version": "v0.3.0",
"version": "v0.3.1",
"description": "A simple JavaScript framework for building ambitious UIs",
"main": "dist/display.min.js",
"directories": {
Expand Down
6 changes: 3 additions & 3 deletions src/display.js
Original file line number Diff line number Diff line change
Expand Up @@ -438,12 +438,12 @@ class DisplayJS {
}
rmFromArray(array, condition) {
const obj = [];
this.forIn(array, (i) => {
for (const i in array) {
if (!condition(i)) {
obj.push(array[i]);
}
return obj;
});
}
return obj;
}
average(array) {
const summed = this.sum(array);
Expand Down

0 comments on commit cacea0e

Please sign in to comment.