[Pkg-javascript-commits] [node-browser-pack] 13/141: fixed trailing comments test
Bastien Roucariès
rouca at moszumanska.debian.org
Thu May 4 10:23:20 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 7cf319fc6662a9cf639785ab5f7a5780da183477
Author: James Halliday <mail at substack.net>
Date: Wed Feb 20 08:43:25 2013 +1000
fixed trailing comments test
---
index.js | 2 +-
package.json | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/index.js b/index.js
index bae4c55..1ac75b5 100644
--- a/index.js
+++ b/index.js
@@ -37,7 +37,7 @@ module.exports = function (opts) {
(first ? '' : ','),
JSON.stringify(row.id),
':[',
- 'function(require,module,exports){' + row.source + '}',
+ 'function(require,module,exports){' + row.source + '\n}',
',',
JSON.stringify(row.deps || {}),
']'
diff --git a/package.json b/package.json
index 9a67292..277dc27 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "browser-pack",
- "version": "0.1.1",
+ "version": "0.1.2",
"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