[Pkg-javascript-commits] [node-browser-pack] 17/141: passing the only-execute-entries test

Bastien Roucariès rouca at moszumanska.debian.org
Thu May 4 10:23:21 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 45131035486973af2b8ee39b18e9a3be4b7bbc75
Author: James Halliday <mail at substack.net>
Date:   Wed Feb 20 01:50:38 2013 -0800

    passing the only-execute-entries test
---
 index.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/index.js b/index.js
index 675b536..346e89e 100644
--- a/index.js
+++ b/index.js
@@ -45,10 +45,10 @@ module.exports = function (opts) {
         ].join(''));
         
         first = false;
-        if (row.order !== undefined) {
+        if (row.entry && row.order !== undefined) {
             entries.splice(row.order, 0, row.id);
         }
-        else entries.push(row.id);
+        else if (row.entry) entries.push(row.id);
     }
     
     function end () {

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