[Pkg-javascript-commits] [node-browser-pack] 30/141: missing `var`

Bastien Roucariès rouca at moszumanska.debian.org
Thu May 4 10:23:22 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 28a395f7502bf5f6c0a87351728c451b0570d6e2
Author: James Halliday <mail at substack.net>
Date:   Thu Mar 14 22:40:52 2013 -0700

    missing `var`
---
 index.js     | 2 +-
 package.json | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/index.js b/index.js
index 9c598a5..7183d69 100644
--- a/index.js
+++ b/index.js
@@ -52,7 +52,7 @@ module.exports = function (opts) {
         
         if (row.sourceFile) addMappings(row);
 
-        wrappedSource = [
+        var wrappedSource = [
             (first ? '' : ','),
             JSON.stringify(row.id),
             ':[',
diff --git a/package.json b/package.json
index 8de5b22..d8bff7b 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
 {
     "name": "browser-pack",
-    "version": "0.4.0",
+    "version": "0.4.1",
     "description": "pack node-style source files from a json stream into a browser bundle",
     "main": "index.js",
     "bin": {

-- 
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