diff --git a/dist/jvent.js b/dist/jvent.js index b68ed62..316798e 100644 --- a/dist/jvent.js +++ b/dist/jvent.js @@ -1,7 +1,7 @@ /*! - * jvent - v1.0.0 + * jvent - v1.0.1 * - * Copyright (c) 2016, @pazguille + * Copyright (c) 2016, Guille Paz * Released under the MIT license. */ (function(window) { @@ -160,7 +160,7 @@ Jvent.prototype.emit = function () { }; /** - * Expose + * Expose Jvent */ // AMD if (typeof window.define === 'function' && window.define.amd !== undefined) { diff --git a/dist/jvent.min.js b/dist/jvent.min.js index 2713a87..b64b4e4 100644 --- a/dist/jvent.min.js +++ b/dist/jvent.min.js @@ -1 +1 @@ -!function(t){"use strict";function i(){}i.prototype.on=function(t,i){return this._collection=this._collection||{},this._collection[t]=this._collection[t]||[],this._collection[t].push(i),this},i.prototype.once=function(t,i){function e(){o.off(t,e),i.apply(this,arguments)}var o=this;return e.listener=i,this.on(t,e),this},i.prototype.off=function(t,i){var e=this._collection&&this._collection[t],o=0;if(void 0!==e){for(o;on;n+=1)o[n].apply(this,i);return this},"function"==typeof t.define&&void 0!==t.define.amd?t.define("Jvent",[],function(){return i}):"undefined"!=typeof module&&void 0!==module.exports?module.exports=i:t.Jvent=i}(this); \ No newline at end of file +!function(t){"use strict";function i(){}i.prototype.on=function(t,i){return this._collection=this._collection||{},this._collection[t]=this._collection[t]||[],this._collection[t].push(i),this},i.prototype.once=function(t,i){function e(){o.off(t,e),i.apply(this,arguments)}var o=this;return e.listener=i,this.on(t,e),this},i.prototype.off=function(t,i){var e=this._collection&&this._collection[t],o=0;if(void 0!==e){for(o;o