[Pkg-javascript-commits] [node-browser-pack] 51/141: handle case with no deps

Bastien Roucariès rouca at moszumanska.debian.org
Thu May 4 10:23:24 UTC 2017


This is an automated email from the git hooks/post-receive script.

rouca pushed a commit to branch master
in repository node-browser-pack.

commit 0691692765abe59ff06ee15a00f9c11594c2ba5c
Author: Dominic Tarr <dominic.tarr at gmail.com>
Date:   Wed May 22 01:38:41 2013 +0200

    handle case with no deps
---
 index.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/index.js b/index.js
index 5625b10..fd947cc 100644
--- a/index.js
+++ b/index.js
@@ -68,7 +68,7 @@ module.exports = function (opts) {
     }
     
     function end () {
-        if (first) this.queue(prelude);
+        if (first) this.queue(prelude + '({');
         entries = entries.filter(function (x) { return x !== undefined });
         
         this.queue('},{},' + JSON.stringify(entries) + ')');

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-browser-pack.git



More information about the Pkg-javascript-commits mailing list