[Pkg-javascript-commits] [less.js] 172/285: more sane resolve

Jonas Smedegaard dr at jones.dk
Mon Oct 26 23:23:51 UTC 2015


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

js pushed a commit to annotated tag v2.0.0
in repository less.js.

commit 89358faefe8a577cb4adc8cf4c487a5c184a57fe
Author: Levi Thomason <me at levithomason.com>
Date:   Wed Oct 15 23:02:11 2014 -0700

    more sane resolve
---
 lib/less-browser/index.js | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/lib/less-browser/index.js b/lib/less-browser/index.js
index 5c69aad..97a1a9a 100644
--- a/lib/less-browser/index.js
+++ b/lib/less-browser/index.js
@@ -233,11 +233,9 @@ less.registerStylesheets = function(callback) {
                 (links[i].type.match(typePattern)))) {
                 less.sheets.push(links[i]);
             }
-
-            if (i === links.length - 1) {
-                resolve();
-            }
         }
+
+        resolve();
     });
 };
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/less.js.git



More information about the Pkg-javascript-commits mailing list