feature(bower) emitify v1.3.0

This commit is contained in:
coderaiser 2015-09-30 06:02:01 -04:00
parent 50d698a985
commit 3e148bf4ec
16 changed files with 79 additions and 41 deletions

View file

@ -22,16 +22,16 @@
],
"dependencies": {
"domtokenlist-shim": "~1.1.0",
"emitify": "~1.2.0",
"fancybox": "~2.1.5",
"format-io": "~0.9.6",
"github": "~0.10.6",
"jquery": "~2.1.4",
"menu": "~0.7.9",
"philip": "~1.3.0",
"promise-polyfill": "~2.1.0",
"rendy": "~1.1.0",
"vk-openapi": "~0.0.1",
"smalltalk": "~1.5.2"
"smalltalk": "~1.5.2",
"emitify": "~1.3.0",
"philip": "~1.3.1"
}
}

View file

@ -1,6 +1,6 @@
{
"name": "emitify",
"version": "1.2.0",
"version": "1.3.0",
"homepage": "https://github.com/coderaiser/emitify",
"authors": [
"coderaiser <mnemonic.enemy@gmail.com>"
@ -23,13 +23,14 @@
"test",
"tests"
],
"_release": "1.2.0",
"_release": "1.3.0",
"_resolution": {
"type": "version",
"tag": "v1.2.0",
"commit": "5dd1685840ba4905c7fcbd7b00202bed4baeb1ad"
"tag": "v1.3.0",
"commit": "828df111561259b17cb3ec65aff7ab2228682b5b"
},
"_source": "git://github.com/coderaiser/emitify.git",
"_target": "~1.2.0",
"_originalSource": "emitify"
"_target": "~1.3.0",
"_originalSource": "emitify",
"_direct": true
}

View file

@ -1,3 +1,10 @@
2015.09.30, v1.3.0
feature:
- (travis) add
- (emitify) add chaining
2015.06.16, v1.2.0
feature:

View file

@ -1,4 +1,4 @@
# Emitify
# Emitify [![License][LicenseIMGURL]][LicenseURL] [![NPM version][NPMIMGURL]][NPMURL] [![Dependency Status][DependencyStatusIMGURL]][DependencyStatusURL] [![Build Status][BuildStatusIMGURL]][BuildStatusURL]
Dead simple event emitter.
@ -51,8 +51,6 @@ var Emitify = require('emitify'),
emitter.on('data', log);
emitter.emit('data', 'hello');
// result
'hello'
emitter.off('data', log);
@ -61,3 +59,13 @@ emitter.off('data', log);
## License
MIT
[NPMIMGURL]: https://img.shields.io/npm/v/emitify.svg?style=flat
[BuildStatusIMGURL]: https://img.shields.io/travis/coderaiser/emitify/master.svg?style=flat
[DependencyStatusIMGURL]: https://img.shields.io/gemnasium/coderaiser/emitify.svg?style=flat
[LicenseIMGURL]: https://img.shields.io/badge/license-MIT-317BF9.svg?style=flat
[NPMURL]: https://npmjs.org/package/emitify "npm"
[BuildStatusURL]: https://travis-ci.org/coderaiser/emitify "Build Status"
[DependencyStatusURL]: https://gemnasium.com/coderaiser/emitify "Dependency Status"
[LicenseURL]: https://tldrlegal.com/license/mit-license "MIT License"

View file

@ -1,6 +1,6 @@
{
"name": "emitify",
"version": "1.2.0",
"version": "1.3.0",
"homepage": "https://github.com/coderaiser/emitify",
"authors": [
"coderaiser <mnemonic.enemy@gmail.com>"

View file

@ -17,10 +17,10 @@
var isTwo = arguments.length === 2;
if (typeof event !== 'string')
throw(Error('event should be string!'));
throw Error('event should be string!');
if (isTwo && typeof callback !== 'function')
throw(Error('callback should be function!'));
throw Error('callback should be function!');
};
Emitify.prototype.on = function(event, callback) {
@ -48,6 +48,8 @@
callback();
self.off(event, fn);
});
return this;
};
Emitify.prototype.off = function(event, callback) {
@ -60,6 +62,8 @@
events.splice(index, 1);
index = events.indexOf(callback);
}
return this;
};
Emitify.prototype.removeListener =
@ -77,6 +81,8 @@
});
else if (event === 'error')
throw args[0];
return this;
};
})(this);

View file

@ -1,10 +1,10 @@
{
"name": "emitify",
"version": "1.2.0",
"version": "1.3.0",
"description": "dead simple event emitter",
"main": "lib/emitify.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"test": "tape test/*.js"
},
"repository": {
"type": "git",
@ -19,5 +19,8 @@
"bugs": {
"url": "https://github.com/coderaiser/emitify/issues"
},
"homepage": "https://github.com/coderaiser/emitify"
"homepage": "https://github.com/coderaiser/emitify",
"devDependencies": {
"tape": "~4.2.0"
}
}

View file

@ -22,17 +22,17 @@
"modules"
],
"dependencies": {
"emitify": "~1.2.0"
"emitify": "~1.3.0"
},
"version": "1.1.2",
"_release": "1.1.2",
"version": "1.1.3",
"_release": "1.1.3",
"_resolution": {
"type": "version",
"tag": "v1.1.2",
"commit": "c311a97563fccb55df3129a3f93f40c0ba08aaf5"
"tag": "v1.1.3",
"commit": "40cd3158e92c5176386033feb2a1ce05c42cc334"
},
"_source": "git://github.com/coderaiser/domfs-findit.git",
"_target": "~1.1.2",
"_target": "~1.1.3",
"_originalSource": "findit",
"_direct": true
}

View file

@ -1,3 +1,9 @@
2015.09.30, v1.1.3
feature:
- (bower) emitify v1.3.0
2015.07.16, v1.1.2
fix:

View file

@ -22,7 +22,7 @@
"modules"
],
"dependencies": {
"emitify": "~1.2.0"
"emitify": "~1.3.0"
},
"version": "1.1.2"
"version": "1.1.3"
}

View file

@ -46,7 +46,7 @@
entry.createReader()
.readEntries(function(entries) {
[].filter.call(entries, function(entry) {
[].forEach.call(entries, function(entry) {
self._find(emitter, entry);
});

View file

@ -1,7 +1,7 @@
{
"name": "findit",
"private": true,
"version": "1.1.2",
"version": "1.1.3",
"description": "Walk a directory tree in DOM File System",
"main": "lib/findit.js",
"dependencies": {},

View file

@ -1,6 +1,6 @@
{
"name": "philip",
"version": "1.3.0",
"version": "1.3.1",
"homepage": "https://github.com/coderaiser/domfs-philip",
"authors": [
"coderaiser <mnemonic.enemy@gmail.com>"
@ -22,18 +22,18 @@
"modules"
],
"dependencies": {
"emitify": "~1.2.0",
"findit": "~1.1.0",
"execon": "~1.2.2"
"emitify": "~1.3.0",
"execon": "~1.2.2",
"findit": "~1.1.3"
},
"_release": "1.3.0",
"_release": "1.3.1",
"_resolution": {
"type": "version",
"tag": "v1.3.0",
"commit": "103d5c3cc2fdd8d2857b003e52bc3c4cead207d7"
"tag": "v1.3.1",
"commit": "7b8bd3426400c03f68d92792c7bbc828a1e8073a"
},
"_source": "git://github.com/coderaiser/domfs-philip.git",
"_target": "~1.3.0",
"_target": "~1.3.1",
"_originalSource": "philip",
"_direct": true
}

View file

@ -1,3 +1,10 @@
2015.09.30, v1.3.1
feature:
- (bower) findit v1.1.3
- (philip) emitify v1.3.0
2015.07.20, v1.3.0
feature:

View file

@ -1,6 +1,6 @@
{
"name": "philip",
"version": "1.3.0",
"version": "1.3.1",
"homepage": "https://github.com/coderaiser/domfs-philip",
"authors": [
"coderaiser <mnemonic.enemy@gmail.com>"
@ -22,8 +22,8 @@
"modules"
],
"dependencies": {
"emitify": "~1.2.0",
"findit": "~1.1.0",
"execon": "~1.2.2"
"emitify": "~1.3.0",
"execon": "~1.2.2",
"findit": "~1.1.3"
}
}

View file

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