[Pkg-javascript-commits] [less.js] 146/285: Fix error filename

Jonas Smedegaard dr at jones.dk
Mon Oct 26 23:23:48 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 0c168e1c8d7fc5ff2e262ad24436d1f2bd65e63e
Author: Luke Page <luke.a.page at gmail.com>
Date:   Sat Oct 4 18:35:56 2014 +0100

    Fix error filename
---
 lib/less-browser/browser-import.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/less-browser/browser-import.js b/lib/less-browser/browser-import.js
index d06169b..997f692 100644
--- a/lib/less-browser/browser-import.js
+++ b/lib/less-browser/browser-import.js
@@ -127,7 +127,7 @@ BrowserImport.prototype.loadFile = function loadFile(filename, currentDirectory,
             // Use remote copy (re-parse)
             fullfill({ contents: data, filename: href, webInfo: { lastModified: lastModified }});
         }, function doXHRError(status, url) {
-            reject({ type: 'File', message: "'" + url + "' wasn't found (" + status + ")", filename: href });
+            reject({ type: 'File', message: "'" + url + "' wasn't found (" + status + ")", href: href });
         });
     }.bind(this));
 };

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