Skip to content

Commit

Permalink
add support for custom params in events
Browse files Browse the repository at this point in the history
  • Loading branch information
kbrsh committed Feb 10, 2017
1 parent 9c83d67 commit efdaf48
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
4 changes: 4 additions & 0 deletions dist/moon.js
Original file line number Diff line number Diff line change
Expand Up @@ -1109,6 +1109,10 @@
var eventToCall = rawModifiers[0];
var methodToCall = splitVal[1];
var params = "(event)";
var rawParams = methodToCall.split("(")[1];
if (rawParams) {
params = "";
}
var modifiers = "";

rawModifiers.shift();
Expand Down
2 changes: 1 addition & 1 deletion dist/moon.min.js

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

Loading

0 comments on commit efdaf48

Please sign in to comment.