Skip to content

Commit ea0d252

Browse files
committed
feature(bower) emitify v2.1.0
1 parent ff4d5d0 commit ea0d252

File tree

9 files changed

+49
-18
lines changed

9 files changed

+49
-18
lines changed

bower.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"dependencies": {
2222
"execon": "~1.2.0",
2323
"load": "~1.1.4",
24-
"emitify": "~2.0.0",
25-
"loadremote": "~1.2.0"
24+
"loadremote": "~1.2.0",
25+
"emitify": "^2.1.0"
2626
}
2727
}

modules/emitify/.bower.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "emitify",
3-
"version": "2.0.0",
3+
"version": "2.1.0",
44
"homepage": "https://github.com/coderaiser/emitify",
55
"authors": [
66
"coderaiser <mnemonic.enemy@gmail.com>"
@@ -23,14 +23,14 @@
2323
"test",
2424
"tests"
2525
],
26-
"_release": "2.0.0",
26+
"_release": "2.1.0",
2727
"_resolution": {
2828
"type": "version",
29-
"tag": "v2.0.0",
30-
"commit": "82014823cbf1b668e08fafe3aec7fbc2efc80805"
29+
"tag": "v2.1.0",
30+
"commit": "f1ecef0a5c341263f9dfd49f7bc61b2a29e8aa45"
3131
},
32-
"_source": "git://github.com/coderaiser/emitify.git",
33-
"_target": "~2.0.0",
32+
"_source": "https://github.com/coderaiser/emitify.git",
33+
"_target": "^2.1.0",
3434
"_originalSource": "emitify",
3535
"_direct": true
3636
}

modules/emitify/ChangeLog

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1+
2016.06.02, v2.1.0
2+
3+
feature:
4+
- (emitify) add removeAllListeners
5+
- (travis) add node v6
6+
- (package) npm-run-all -> redrun
7+
- (package) jscs v3.0.3
8+
- (package) browserify v13.0.0
9+
- (package) nyc v6.1.1
10+
11+
112
2015.12.29, v2.0.0
213

314
feature:

modules/emitify/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,10 @@ Alias to `emitter.on`.
3939

4040
Alias to `emitter.off`.
4141

42+
### emitter.removeAllListeners(event)
43+
44+
Removes all listeners related to `event`.
45+
4246
## How to use?
4347

4448
```js

modules/emitify/bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "emitify",
3-
"version": "2.0.0",
3+
"version": "2.1.0",
44
"homepage": "https://github.com/coderaiser/emitify",
55
"authors": [
66
"coderaiser <mnemonic.enemy@gmail.com>"

modules/emitify/dist/emitify.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,5 +82,13 @@ Emitify.prototype.emit = function(event) {
8282
return this;
8383
};
8484

85+
Emitify.prototype.removeAllListeners = function(event) {
86+
this._check(event);
87+
this._all[event] = [];
88+
89+
return this;
90+
}
91+
92+
8593
},{}]},{},["emitify"])("emitify")
8694
});

modules/emitify/dist/emitify.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

modules/emitify/lib/emitify.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,3 +80,11 @@ Emitify.prototype.emit = function(event) {
8080

8181
return this;
8282
};
83+
84+
Emitify.prototype.removeAllListeners = function(event) {
85+
this._check(event);
86+
this._all[event] = [];
87+
88+
return this;
89+
}
90+

modules/emitify/package.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
{
22
"name": "emitify",
3-
"version": "2.0.0",
3+
"version": "2.1.0",
44
"description": "dead simple event emitter",
55
"main": "lib/emitify.js",
66
"scripts": {
77
"test": "tape test/*.js",
88
"jscs": "jscs --esnext lib test",
99
"jshint": "jshint lib test",
10-
"codestyle": "npm-run-all jshint jscs",
10+
"codestyle": "redrun jshint jscs",
1111
"coverage": "nyc npm test",
1212
"report": "nyc report --reporter=text-lcov | coveralls",
1313
"bundle:base": "browserify -s Emitify --dg false",
1414
"bundle": "npm run bundle:base -- -r ./lib/emitify.js:emitify ./lib/emitify.js -o dist/emitify.js",
1515
"minify": "minify dist/emitify.js > dist/emitify.min.js",
16-
"build": "npm-run-all bundle minify",
16+
"build": "redrun bundle minify",
1717
"wisdom": "npm run build"
1818
},
1919
"repository": {
@@ -31,13 +31,13 @@
3131
},
3232
"homepage": "https://github.com/coderaiser/emitify",
3333
"devDependencies": {
34-
"browserify": "~12.0.1",
34+
"browserify": "^13.0.0",
3535
"coveralls": "^2.11.6",
36-
"jscs": "^2.7.0",
36+
"jscs": "^3.0.3",
3737
"jshint": "^2.8.0",
38-
"minify": "~2.0.2",
39-
"npm-run-all": "^1.4.0",
40-
"nyc": "^5.0.1",
38+
"minify": "^2.0.2",
39+
"nyc": "^6.1.1",
40+
"redrun": "^3.0.0",
4141
"tape": "^4.4.0"
4242
}
4343
}

0 commit comments

Comments
 (0)