[Pkg-javascript-commits] [less.js] 17/26: Fix typo

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


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

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

commit 6ccf6d2d964632feca3df40ce943bab62b135f94
Author: Luke Page <luke.a.page at gmail.com>
Date:   Sun Nov 16 16:07:33 2014 +0000

    Fix typo
---
 lib/less/contexts.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/less/contexts.js b/lib/less/contexts.js
index 99f5d36..5c0ef6d 100644
--- a/lib/less/contexts.js
+++ b/lib/less/contexts.js
@@ -76,7 +76,7 @@ contexts.Eval.prototype.isMathOn = function () {
 };
 
 contexts.Eval.prototype.isPathRelative = function (path) {
-    return !/^(?:[a-z-]+:|\/i)/.test(path);
+    return !/^(?:[a-z-]+:|\/)/i.test(path);
 };
 
 contexts.Eval.prototype.normalizePath = function( path ) {

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