feature(modules) findit v1.1.6

This commit is contained in:
coderaiser 2016-07-14 20:40:43 +03:00
parent 3c3954139c
commit c5d76a2cc0
12 changed files with 44 additions and 30 deletions

View file

@ -1,6 +1,5 @@
{
"name": "emitify",
"version": "2.1.0",
"homepage": "https://github.com/coderaiser/emitify",
"authors": [
"coderaiser <mnemonic.enemy@gmail.com>"
@ -23,13 +22,14 @@
"test",
"tests"
],
"_release": "2.1.0",
"version": "2.1.1",
"_release": "2.1.1",
"_resolution": {
"type": "version",
"tag": "v2.1.0",
"commit": "f1ecef0a5c341263f9dfd49f7bc61b2a29e8aa45"
"tag": "v2.1.1",
"commit": "7a68d0c95c1568cc84c21b76398960ea40ec29ba"
},
"_source": "https://github.com/coderaiser/emitify.git",
"_target": "~2.1.0",
"_target": "^2.1.1",
"_originalSource": "emitify"
}

View file

@ -1,3 +1,14 @@
2016.07.14, v2.1.1
fix:
- (emitify) once: arguments
feature:
- (package) redrun v5.0.0
- (package) nyc v7.0.0
- (package) redrun v4.0.0
2016.06.02, v2.1.0
feature:

View file

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

View file

@ -42,7 +42,7 @@ Emitify.prototype.once = function(event, callback) {
self._check(event, callback);
self.on(event, function fn() {
callback();
callback.apply(null, arguments);
self.off(event, fn);
});
@ -87,7 +87,7 @@ Emitify.prototype.removeAllListeners = function(event) {
this._all[event] = [];
return this;
}
};
},{}]},{},["emitify"])("emitify")

View file

@ -1 +1 @@
!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var t;t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this,t.Emitify=e()}}(function(){return function e(t,o,n){function r(f,u){if(!o[f]){if(!t[f]){var s="function"==typeof require&&require;if(!u&&s)return s(f,!0);if(i)return i(f,!0);var c=new Error("Cannot find module '"+f+"'");throw c.code="MODULE_NOT_FOUND",c}var l=o[f]={exports:{}};t[f][0].call(l.exports,function(e){var o=t[f][1][e];return r(o?o:e)},l,l.exports,e,t,o,n)}return o[f].exports}for(var i="function"==typeof require&&require,f=0;f<n.length;f++)r(n[f]);return r}({emitify:[function(e,t,o){"use strict";function n(){return this instanceof n?void(this._all={}):new n}t.exports=n,n.prototype._check=function(e,t){var o=2===arguments.length;if("string"!=typeof e)throw Error("event should be string!");if(o&&"function"!=typeof t)throw Error("callback should be function!")},n.prototype.on=function(e,t){var o=this._all[e];return this._check(e,t),o?o.push(t):this._all[e]=[t],this},n.prototype.addListener=n.prototype.on,n.prototype.once=function(e,t){var o=this;return o._check(e,t),o.on(e,function n(){t(),o.off(e,n)}),this},n.prototype.off=function(e,t){var o=this._all[e]||[],n=o.indexOf(t);for(this._check(e,t);~n;)o.splice(n,1),n=o.indexOf(t);return this},n.prototype.removeListener=n.prototype.off,n.prototype.emit=function(e){var t=[].slice.call(arguments,1),o=this._all[e];if(this._check(e),o)o.forEach(function(e){e.apply(null,t)});else if("error"===e)throw t[0];return this},n.prototype.removeAllListeners=function(e){return this._check(e),this._all[e]=[],this}},{}]},{},["emitify"])("emitify")});
!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var t;t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this,t.Emitify=e()}}(function(){return function e(t,n,o){function r(f,u){if(!n[f]){if(!t[f]){var s="function"==typeof require&&require;if(!u&&s)return s(f,!0);if(i)return i(f,!0);var c=new Error("Cannot find module '"+f+"'");throw c.code="MODULE_NOT_FOUND",c}var l=n[f]={exports:{}};t[f][0].call(l.exports,function(e){var n=t[f][1][e];return r(n?n:e)},l,l.exports,e,t,n,o)}return n[f].exports}for(var i="function"==typeof require&&require,f=0;f<o.length;f++)r(o[f]);return r}({emitify:[function(e,t,n){"use strict";function o(){return this instanceof o?void(this._all={}):new o}t.exports=o,o.prototype._check=function(e,t){var n=2===arguments.length;if("string"!=typeof e)throw Error("event should be string!");if(n&&"function"!=typeof t)throw Error("callback should be function!")},o.prototype.on=function(e,t){var n=this._all[e];return this._check(e,t),n?n.push(t):this._all[e]=[t],this},o.prototype.addListener=o.prototype.on,o.prototype.once=function(e,t){var n=this;return n._check(e,t),n.on(e,function o(){t.apply(null,arguments),n.off(e,o)}),this},o.prototype.off=function(e,t){var n=this._all[e]||[],o=n.indexOf(t);for(this._check(e,t);~o;)n.splice(o,1),o=n.indexOf(t);return this},o.prototype.removeListener=o.prototype.off,o.prototype.emit=function(e){var t=[].slice.call(arguments,1),n=this._all[e];if(this._check(e),n)n.forEach(function(e){e.apply(null,t)});else if("error"===e)throw t[0];return this},o.prototype.removeAllListeners=function(e){return this._check(e),this._all[e]=[],this}},{}]},{},["emitify"])("emitify")});

View file

@ -41,7 +41,7 @@ Emitify.prototype.once = function(event, callback) {
self._check(event, callback);
self.on(event, function fn() {
callback();
callback.apply(null, arguments);
self.off(event, fn);
});
@ -86,5 +86,5 @@ Emitify.prototype.removeAllListeners = function(event) {
this._all[event] = [];
return this;
}
};

View file

@ -1,6 +1,6 @@
{
"name": "emitify",
"version": "2.1.0",
"version": "2.1.1",
"description": "dead simple event emitter",
"main": "lib/emitify.js",
"scripts": {
@ -36,8 +36,9 @@
"jscs": "^3.0.3",
"jshint": "^2.8.0",
"minify": "^2.0.2",
"nyc": "^6.1.1",
"redrun": "^3.0.0",
"nyc": "^7.0.0",
"redrun": "^5.0.1",
"tape": "^4.4.0"
}
},
"dependencies": {}
}

View file

@ -22,17 +22,16 @@
"modules"
],
"dependencies": {
"emitify": "^2.1.0"
"emitify": "^2.1.1"
},
"version": "1.1.5",
"_release": "1.1.5",
"version": "1.1.6",
"_release": "1.1.6",
"_resolution": {
"type": "version",
"tag": "v1.1.5",
"commit": "1b8b27135ee977360427ea56ee105bb6c280ab76"
"tag": "v1.1.6",
"commit": "3a28a3bf3aff0a50012fea6a44a8334a043111c9"
},
"_source": "https://github.com/coderaiser/domfs-findit.git",
"_target": "^1.1.5",
"_originalSource": "findit",
"_direct": true
"_target": "~1.1.4",
"_originalSource": "findit"
}

View file

@ -1,3 +1,9 @@
2016.07.14, v1.1.6
feature:
- (emitify) v2.1.1
2016.06.03, v1.1.5
feature:

View file

@ -22,7 +22,6 @@
"modules"
],
"dependencies": {
"emitify": "^2.1.0"
},
"version": "1.1.5"
"emitify": "^2.1.1"
}
}

View file

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

View file

@ -20,7 +20,6 @@
"commit": "6f02bc382c0529d3b4f68f6b2ad21876642dbbfe"
},
"_source": "https://github.com/jquery/jquery-dist.git",
"_target": "^3.1.0",
"_originalSource": "jquery",
"_direct": true
"_target": "3.1.0",
"_originalSource": "jquery"
}