From b5c8633cb5c906cdd79e703490c2e85631da4d98 Mon Sep 17 00:00:00 2001 From: Svetlana Linuxenko Date: Thu, 30 Mar 2017 15:10:34 +0300 Subject: [PATCH] Useless .call() removed --- lib/h.js | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/h.js b/lib/h.js index 52969c4..a5476be 100644 --- a/lib/h.js +++ b/lib/h.js @@ -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); diff --git a/package.json b/package.json index a8e9568..556e8ea 100644 --- a/package.json +++ b/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": [