feature(bower) philip v1.1.2

This commit is contained in:
coderaiser 2015-07-17 05:29:11 -04:00
parent 44531adfc6
commit 4f8c3591f5
6 changed files with 19 additions and 9 deletions

View file

@ -30,6 +30,6 @@
"vk-openapi": "~0.0.1",
"domtokenlist-shim": "~1.1.0",
"promise-polyfill": "~2.1.0",
"philip": "~1.1.1"
"philip": "~1.1.2"
}
}

View file

@ -1,6 +1,6 @@
{
"name": "philip",
"version": "1.1.1",
"version": "1.1.2",
"homepage": "https://github.com/coderaiser/domfs-philip",
"authors": [
"coderaiser <mnemonic.enemy@gmail.com>"
@ -25,14 +25,14 @@
"emitify": "~1.2.0",
"findit": "~1.1.0"
},
"_release": "1.1.1",
"_release": "1.1.2",
"_resolution": {
"type": "version",
"tag": "v1.1.1",
"commit": "8d6fdd3fe7dece2c0760a6beada90ff4e4ff4064"
"tag": "v1.1.2",
"commit": "9784fc8c0b935b596d6135743334fa5f86d787e7"
},
"_source": "git://github.com/coderaiser/domfs-philip.git",
"_target": "~1.1.1",
"_target": "~1.1.2",
"_originalSource": "philip",
"_direct": true
}

View file

@ -1,3 +1,9 @@
2015.07.17, v1.1.2
feature:
- (philip) emit progress only when value changed
2015.07.16, v1.1.1
feature:

View file

@ -1,6 +1,6 @@
{
"name": "philip",
"version": "1.1.1",
"version": "1.1.2",
"homepage": "https://github.com/coderaiser/domfs-philip",
"authors": [
"coderaiser <mnemonic.enemy@gmail.com>"

View file

@ -34,6 +34,7 @@
this._n = 0;
this._processingFn = processingFn;
this._pause = false;
this._prev = 0;
this._find(array, function(files, dirs) {
self._files = files;
@ -102,7 +103,10 @@
Philip.prototype._progress = function() {
var value = Math.round(this._i * 100 / this._n);
this.emit('progress', value);
if (value !== this._prev) {
this._prev = value;
this.emit('progress', value);
}
};
Philip.prototype._getFiles = function(files, obj, callback) {

View file

@ -1,7 +1,7 @@
{
"name": "philip",
"private": true,
"version": "1.1.1",
"version": "1.1.2",
"description": "Process files and directories in DOM File System",
"main": "lib/philip.js",
"dependencies": {},