From 24848207287c4f8f7fdb100ee822ad8a54d62113 Mon Sep 17 00:00:00 2001 From: guybedford Date: Tue, 12 Jan 2016 10:43:03 +0200 Subject: [PATCH] prototypes 101 --- api.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api.js b/api.js index de964b377..74769cc59 100644 --- a/api.js +++ b/api.js @@ -114,7 +114,7 @@ API.Builder.prototype.bundle = function(expressionOrTree, outFile, opts) { if (!('normalize' in opts)) opts.normalize = true; - return bundle.Builder.bundle.call(this, expressionOrTree, opts); + return bundle.Builder.prototype.bundle.call(this, expressionOrTree, opts); }; API.Builder.prototype.buildStatic = function(expressionOrTree, outFile, opts) { @@ -131,7 +131,7 @@ API.Builder.prototype.buildStatic = function(expressionOrTree, outFile, opts) { if (!('format' in opts)) opts.format = 'global'; - return bundle.Builder.buildStatic.call(this, expressionOrTree, opts); + return bundle.Builder.prototype.buildStatic.call(this, expressionOrTree, opts); };