Skip to content

Commit

Permalink
fixed patch initialization
Browse files Browse the repository at this point in the history
  • Loading branch information
tinchoz49 committed Apr 9, 2017
1 parent 64ff3e6 commit e56634a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ function snabbmitt(...args) {
} else {
const snabbdom = require('snabbdom');
if (args.length === 0) {
patch = snabbdom.init();
patch = snabbdom.init([]);
} else {
patch = snabbdom.init(...args);
}
Expand Down

0 comments on commit e56634a

Please sign in to comment.