[Pkg-javascript-commits] [less.js] 173/285: cleanup callback

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 0e821f1a4f563f24e4269799d45d223ea31473b9
Author: Levi Thomason <me at levithomason.com>
Date:   Wed Oct 15 23:03:55 2014 -0700

    cleanup callback
---
 lib/less-browser/index.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/less-browser/index.js b/lib/less-browser/index.js
index 97a1a9a..3855e52 100644
--- a/lib/less-browser/index.js
+++ b/lib/less-browser/index.js
@@ -223,7 +223,7 @@ if (/!watch/.test(location.hash)) {
 //
 // Get all <link> tags with the 'rel' attribute set to "stylesheet/less"
 //
-less.registerStylesheets = function(callback) {
+less.registerStylesheets = function() {
     return new PromiseConstructor(function(resolve, reject) {
         var links = document.getElementsByTagName('link');
         less.sheets = [];

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