Skip to content

Commit

Permalink
Recovers trigger method deleted by default
Browse files Browse the repository at this point in the history
  • Loading branch information
arqex committed May 18, 2017
1 parent b7f64f6 commit 5190f39
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 6 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
# Freezer Changelog

###v0.12.1
* Recovers trigger method deleted by default

###v0.12.0
* Adds a warning mechanism to detect errors quickly.
* Adds warning for setting non numeric attributes for arrays.
Expand Down
4 changes: 2 additions & 2 deletions build/freezer.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* freezer-js v0.12.0 (13-5-2017)
/* freezer-js v0.12.1 (18-5-2017)
* https://github.com/arqex/freezer
* By arqex
* License: MIT
Expand Down Expand Up @@ -1033,7 +1033,7 @@ var Freezer = function( initialValue, options ) {
hub = {}
;

Utils.each(['on', 'off', 'once', 'emit'], function( method ){
Utils.each(['on', 'off', 'once', 'emit', 'trigger'], function( method ){
var attrs = {};
attrs[ method ] = listener[method].bind(listener);
Utils.addNE( me, attrs );
Expand Down
Loading

0 comments on commit 5190f39

Please sign in to comment.