Skip to content
This repository has been archived by the owner on Jun 21, 2023. It is now read-only.

Commit

Permalink
Useless .call() removed
Browse files Browse the repository at this point in the history
  • Loading branch information
linuxenko committed Mar 30, 2017
1 parent 211a668 commit b5c8633
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/h.js
Expand Up @@ -27,7 +27,7 @@ var H = function (argv) {
argv.props = arguments[1];
}
argv.props.children = [].slice.call(arguments, 2, arguments.length);
return argv.render.call(argv, argv.props);
return argv.render(argv.props);
}
}
return new H(arguments);
Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "basic-virtual-dom",
"version": "0.3.1",
"version": "0.3.3",
"description": "Basic virtual dom implementation",
"main": "index.js",
"files": [
Expand Down

0 comments on commit b5c8633

Please sign in to comment.