Skip to content

Commit

Permalink
#5 repack
Browse files Browse the repository at this point in the history
  • Loading branch information
hustcc committed Aug 22, 2016
1 parent 6bc2df9 commit 9163bfb
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
5 changes: 4 additions & 1 deletion dist/onfire.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,10 @@
**/
function fire(eventName) {
// fire events
setTimeout(_fire_func(eventName, slice(arguments, 1)), 0);
var args = slice(arguments, 1);
setTimeout(function () {
_fire_func(eventName, args);
});
}
/**
* onfire.fireSync( event[, data1 [,data2] ... ] )
Expand Down
2 changes: 1 addition & 1 deletion dist/onfire.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "onfire.js",
"officialName": "onfire.js",
"version": "1.0.5",
"version": "1.0.6",
"summary": "onfire.js is a simple events dispatcher subscribe / publish library (just 0.9kb). aysnc, simple and usefull, can be used to in react / vue / angular for Cross-component communication.",
"description": "onfire.js is a simple events dispatcher subscribe / publish library (just 0.9kb). aysnc, simple and usefull.",
"author": {
Expand Down

0 comments on commit 9163bfb

Please sign in to comment.