[Pkg-javascript-commits] [less.js] 117/285: Remove unnecessary text from require statements

Jonas Smedegaard dr at jones.dk
Mon Oct 26 23:23:45 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 1a78cd5901ece46c68f1baf739f6c7602231837f
Author: Luke Page <luke.a.page at gmail.com>
Date:   Mon Sep 8 00:57:50 2014 +0100

    Remove unnecessary text from require statements
---
 lib/less-browser/index.js             |  4 ++--
 lib/less-node/index.js                |  8 ++++----
 lib/less/data/index.js                |  4 ++--
 lib/less/functions/color-blending.js  |  4 ++--
 lib/less/functions/color.js           | 10 +++++-----
 lib/less/functions/data-uri.js        |  6 +++---
 lib/less/functions/default.js         |  4 ++--
 lib/less/functions/function-caller.js |  2 +-
 lib/less/functions/index.js           | 22 +++++++++++-----------
 lib/less/functions/math.js            |  4 ++--
 lib/less/functions/number.js          |  6 +++---
 lib/less/functions/string.js          |  8 ++++----
 lib/less/functions/svg.js             | 10 +++++-----
 lib/less/functions/types.js           | 16 ++++++++--------
 lib/less/imports.js                   |  4 ++--
 lib/less/index.js                     | 16 ++++++++--------
 lib/less/less-error.js                |  2 +-
 lib/less/parse-tree.js                |  4 ++--
 lib/less/parser/parser-input.js       |  4 ++--
 lib/less/parser/parser.js             | 10 +++++-----
 lib/less/render.js                    |  8 ++++----
 lib/less/transform-tree.js            |  6 +++---
 lib/less/tree/alpha.js                |  2 +-
 lib/less/tree/anonymous.js            |  2 +-
 lib/less/tree/assignment.js           |  2 +-
 lib/less/tree/attribute.js            |  2 +-
 lib/less/tree/call.js                 |  4 ++--
 lib/less/tree/color.js                |  6 +++---
 lib/less/tree/combinator.js           |  2 +-
 lib/less/tree/comment.js              |  4 ++--
 lib/less/tree/condition.js            |  2 +-
 lib/less/tree/detached-ruleset.js     |  4 ++--
 lib/less/tree/dimension.js            |  8 ++++----
 lib/less/tree/directive.js            |  4 ++--
 lib/less/tree/element.js              |  8 ++++----
 lib/less/tree/expression.js           |  6 +++---
 lib/less/tree/extend.js               |  2 +-
 lib/less/tree/import.js               | 12 ++++++------
 lib/less/tree/javascript.js           |  8 ++++----
 lib/less/tree/js-eval-node.js         |  4 ++--
 lib/less/tree/keyword.js              |  2 +-
 lib/less/tree/media.js                | 14 +++++++-------
 lib/less/tree/mixin-call.js           |  8 ++++----
 lib/less/tree/mixin-definition.js     | 12 ++++++------
 lib/less/tree/negative.js             |  6 +++---
 lib/less/tree/operation.js            |  6 +++---
 lib/less/tree/paren.js                |  2 +-
 lib/less/tree/quoted.js               |  6 +++---
 lib/less/tree/rule.js                 |  6 +++---
 lib/less/tree/ruleset-call.js         |  4 ++--
 lib/less/tree/ruleset.js              | 14 +++++++-------
 lib/less/tree/selector.js             |  2 +-
 lib/less/tree/unicode-descriptor.js   |  2 +-
 lib/less/tree/unit.js                 |  4 ++--
 lib/less/tree/url.js                  |  2 +-
 lib/less/tree/value.js                |  2 +-
 lib/less/tree/variable.js             |  2 +-
 57 files changed, 169 insertions(+), 169 deletions(-)

diff --git a/lib/less-browser/index.js b/lib/less-browser/index.js
index 7b71548..ba43b44 100644
--- a/lib/less-browser/index.js
+++ b/lib/less-browser/index.js
@@ -29,9 +29,9 @@ function log(str, level) {
 
 var isFileProtocol = /^(file|chrome(-extension)?|resource|qrc|app):/.test(location.protocol),
     options = window.less,
-    environment = require("./environment.js")(options, isFileProtocol, log, logLevel);
+    environment = require("./environment")(options, isFileProtocol, log, logLevel);
 
-window.less = less = require('../less/index.js')(environment);
+window.less = less = require('../less')(environment);
 
 less.env = options.env || (location.hostname == '127.0.0.1' ||
                         location.hostname == '0.0.0.0'   ||
diff --git a/lib/less-node/index.js b/lib/less-node/index.js
index 7b8f5c0..c4124f9 100644
--- a/lib/less-node/index.js
+++ b/lib/less-node/index.js
@@ -1,9 +1,9 @@
-var environment = require("./environment.js"),
-    createLess = require("../less/index.js"),
-    less = createLess(environment);
+var environment = require("./environment"),
+    createFromEnvironment = require("../less"),
+    less = createFromEnvironment(environment);
 
 // allow people to create less with their own environment
-less.createLess = createLess;
+less.createFromEnvironment = createFromEnvironment;
 
 less.formatError = function(ctx, options) {
     options = options || {};
diff --git a/lib/less/data/index.js b/lib/less/data/index.js
index 436caae..a5f41e2 100644
--- a/lib/less/data/index.js
+++ b/lib/less/data/index.js
@@ -1,4 +1,4 @@
 module.exports = {
-    colors: require("./colors.js"),
-    unitConversions: require("./unit-conversions.js")
+    colors: require("./colors"),
+    unitConversions: require("./unit-conversions")
 };
diff --git a/lib/less/functions/color-blending.js b/lib/less/functions/color-blending.js
index ed2fa07..5370451 100644
--- a/lib/less/functions/color-blending.js
+++ b/lib/less/functions/color-blending.js
@@ -1,5 +1,5 @@
-var Color = require("../tree/color.js"),
-    functionRegistry = require("./function-registry.js");
+var Color = require("../tree/color"),
+    functionRegistry = require("./function-registry");
 
 // Color Blending
 // ref: http://www.w3.org/TR/compositing-1
diff --git a/lib/less/functions/color.js b/lib/less/functions/color.js
index c08aee8..ebdd042 100644
--- a/lib/less/functions/color.js
+++ b/lib/less/functions/color.js
@@ -1,8 +1,8 @@
-var Dimension = require("../tree/dimension.js"),
-    Color = require("../tree/color.js"),
-    Quoted = require("../tree/quoted.js"),
-    Anonymous = require("../tree/anonymous.js"),
-    functionRegistry = require("./function-registry.js"),
+var Dimension = require("../tree/dimension"),
+    Color = require("../tree/color"),
+    Quoted = require("../tree/quoted"),
+    Anonymous = require("../tree/anonymous"),
+    functionRegistry = require("./function-registry"),
     colorFunctions;
 
 function clamp(val) {
diff --git a/lib/less/functions/data-uri.js b/lib/less/functions/data-uri.js
index ad5ac65..03f086c 100644
--- a/lib/less/functions/data-uri.js
+++ b/lib/less/functions/data-uri.js
@@ -1,7 +1,7 @@
 module.exports = function(environment) {
-    var Anonymous = require("../tree/anonymous.js"),
-        URL = require("../tree/url.js"),
-        functionRegistry = require("./function-registry.js");
+    var Anonymous = require("../tree/anonymous"),
+        URL = require("../tree/url"),
+        functionRegistry = require("./function-registry");
 
     functionRegistry.add("data-uri", function(mimetypeNode, filePathNode) {
 
diff --git a/lib/less/functions/default.js b/lib/less/functions/default.js
index 8b97e7a..7e11bee 100644
--- a/lib/less/functions/default.js
+++ b/lib/less/functions/default.js
@@ -1,5 +1,5 @@
-var Keyword = require("../tree/keyword.js"),
-    functionRegistry = require("./function-registry.js");
+var Keyword = require("../tree/keyword"),
+    functionRegistry = require("./function-registry");
 
 var defaultFunc = {
     eval: function () {
diff --git a/lib/less/functions/function-caller.js b/lib/less/functions/function-caller.js
index 753c148..056b817 100644
--- a/lib/less/functions/function-caller.js
+++ b/lib/less/functions/function-caller.js
@@ -1,4 +1,4 @@
-var functionRegistry = require("./function-registry.js");
+var functionRegistry = require("./function-registry");
 
 var functionCaller = function(name, env, currentFileInfo) {
     this.name = name.toLowerCase();
diff --git a/lib/less/functions/index.js b/lib/less/functions/index.js
index ab605b6..90703c0 100644
--- a/lib/less/functions/index.js
+++ b/lib/less/functions/index.js
@@ -1,19 +1,19 @@
 module.exports = function(environment) {
     var functions = {
-        functionRegistry: require("./function-registry.js"),
-        functionCaller: require("./function-caller.js")
+        functionRegistry: require("./function-registry"),
+        functionCaller: require("./function-caller")
     };
 
     //register functions
-    require("./default.js");
-    require("./color.js");
-    require("./color-blending.js");
-    require("./data-uri.js")(environment);
-    require("./math.js");
-    require("./number.js");
-    require("./string.js");
-    require("./svg.js")(environment);
-    require("./types.js");
+    require("./default");
+    require("./color");
+    require("./color-blending");
+    require("./data-uri")(environment);
+    require("./math");
+    require("./number");
+    require("./string");
+    require("./svg")(environment);
+    require("./types");
 
     return functions;
 };
diff --git a/lib/less/functions/math.js b/lib/less/functions/math.js
index 9474273..b345fc3 100644
--- a/lib/less/functions/math.js
+++ b/lib/less/functions/math.js
@@ -1,5 +1,5 @@
-var Dimension = require("../tree/dimension.js"),
-    functionRegistry = require("./function-registry.js");
+var Dimension = require("../tree/dimension"),
+    functionRegistry = require("./function-registry");
 
 var mathFunctions = {
     // name,  unit
diff --git a/lib/less/functions/number.js b/lib/less/functions/number.js
index 0eb84c9..38d12f5 100644
--- a/lib/less/functions/number.js
+++ b/lib/less/functions/number.js
@@ -1,6 +1,6 @@
-var Dimension = require("../tree/dimension.js"),
-    Anonymous = require("../tree/anonymous.js"),
-    functionRegistry = require("./function-registry.js");
+var Dimension = require("../tree/dimension"),
+    Anonymous = require("../tree/anonymous"),
+    functionRegistry = require("./function-registry");
 
 var minMax = function (isMin, args) {
     args = Array.prototype.slice.call(args);
diff --git a/lib/less/functions/string.js b/lib/less/functions/string.js
index a954727..efeb810 100644
--- a/lib/less/functions/string.js
+++ b/lib/less/functions/string.js
@@ -1,7 +1,7 @@
-var Quoted = require("../tree/quoted.js"),
-    Anonymous = require("../tree/anonymous.js"),
-    JavaScript = require("../tree/javascript.js"),
-    functionRegistry = require("./function-registry.js");
+var Quoted = require("../tree/quoted"),
+    Anonymous = require("../tree/anonymous"),
+    JavaScript = require("../tree/javascript"),
+    functionRegistry = require("./function-registry");
 
 functionRegistry.addMultiple({
     e: function (str) {
diff --git a/lib/less/functions/svg.js b/lib/less/functions/svg.js
index 2927f0b..27294e0 100644
--- a/lib/less/functions/svg.js
+++ b/lib/less/functions/svg.js
@@ -1,9 +1,9 @@
 module.exports = function(environment) {
-    var Dimension = require("../tree/dimension.js"),
-        Color = require("../tree/color.js"),
-        Anonymous = require("../tree/anonymous.js"),
-        URL = require("../tree/url.js"),
-        functionRegistry = require("./function-registry.js");
+    var Dimension = require("../tree/dimension"),
+        Color = require("../tree/color"),
+        Anonymous = require("../tree/anonymous"),
+        URL = require("../tree/url"),
+        functionRegistry = require("./function-registry");
 
     functionRegistry.add("svg-gradient", function(direction) {
 
diff --git a/lib/less/functions/types.js b/lib/less/functions/types.js
index dfb51b6..2870f03 100644
--- a/lib/less/functions/types.js
+++ b/lib/less/functions/types.js
@@ -1,11 +1,11 @@
-var Keyword = require("../tree/keyword.js"),
-    Dimension = require("../tree/dimension.js"),
-    Color = require("../tree/color.js"),
-    Quoted = require("../tree/quoted.js"),
-    Anonymous = require("../tree/anonymous.js"),
-    URL = require("../tree/url.js"),
-    Operation = require("../tree/operation.js"),
-    functionRegistry = require("./function-registry.js");
+var Keyword = require("../tree/keyword"),
+    Dimension = require("../tree/dimension"),
+    Color = require("../tree/color"),
+    Quoted = require("../tree/quoted"),
+    Anonymous = require("../tree/anonymous"),
+    URL = require("../tree/url"),
+    Operation = require("../tree/operation"),
+    functionRegistry = require("./function-registry");
 
 var isa = function (n, Type) {
     return (n instanceof Type) ? Keyword.True : Keyword.False;
diff --git a/lib/less/imports.js b/lib/less/imports.js
index d0e149d..3cb9cfb 100644
--- a/lib/less/imports.js
+++ b/lib/less/imports.js
@@ -1,5 +1,5 @@
-var contexts = require("./contexts.js"),
-    Parser = require('./parser/parser.js');
+var contexts = require("./contexts"),
+    Parser = require('./parser/parser');
 
 var getImportManager = module.exports = function(environment, env) {
     var rootFilename = env && env.filename;
diff --git a/lib/less/index.js b/lib/less/index.js
index 2b2ed2b..bd2ea81 100644
--- a/lib/less/index.js
+++ b/lib/less/index.js
@@ -1,15 +1,15 @@
 module.exports = function(environment) {
     var less = {
         version: [2, 0, 0],
-        data: require('./data/index.js'),
-        tree: require('./tree/index.js'),
-        visitor: require('./visitor/index.js'),
-        Parser: require('./parser/parser.js'),
-        functions: require('./functions/index.js')(environment),
-        contexts: require("./contexts.js"),
-        environment: environment
+        data: require('./data'),
+        tree: require('./tree'),
+        visitor: require('./visitor'),
+        Parser: require('./parser/parser'),
+        functions: require('./functions')(environment),
+        contexts: require("./contexts"),
+        environment: environment,
+        render: require("./render")(environment)
     };
-    less.render = require("./render.js")(environment);
 
     return less;
 };
diff --git a/lib/less/less-error.js b/lib/less/less-error.js
index 6978116..4332bb3 100644
--- a/lib/less/less-error.js
+++ b/lib/less/less-error.js
@@ -1,4 +1,4 @@
-var utils = require("./utils.js");
+var utils = require("./utils");
 
 var LessError = module.exports = function LessError(e, importManager, currentFilename) {
 
diff --git a/lib/less/parse-tree.js b/lib/less/parse-tree.js
index 50f5f3b..1ae303f 100644
--- a/lib/less/parse-tree.js
+++ b/lib/less/parse-tree.js
@@ -1,5 +1,5 @@
-var LessError = require('./less-error.js'),
-    transformTree = require("./transform-tree.js");
+var LessError = require('./less-error'),
+    transformTree = require("./transform-tree");
 
 module.exports = function(environment)
 {
diff --git a/lib/less/parser/parser-input.js b/lib/less/parser/parser-input.js
index 5c799c6..fc0bf56 100644
--- a/lib/less/parser/parser-input.js
+++ b/lib/less/parser/parser-input.js
@@ -1,5 +1,5 @@
-var chunker = require('./chunker.js'),
-    LessError = require('../less-error.js');
+var chunker = require('./chunker'),
+    LessError = require('../less-error');
 module.exports = function() {
     var input,       // LeSS input string
         j,           // current chunk
diff --git a/lib/less/parser/parser.js b/lib/less/parser/parser.js
index 5f513e1..3246e5f 100644
--- a/lib/less/parser/parser.js
+++ b/lib/less/parser/parser.js
@@ -1,8 +1,8 @@
-var LessError = require('../less-error.js'),
-    tree = require("../tree/index.js"),
-    visitor = require("../visitor/index.js"),
-    getParserInput = require("./parser-input.js"),
-    utils = require("../utils.js");
+var LessError = require('../less-error'),
+    tree = require("../tree"),
+    visitor = require("../visitor"),
+    getParserInput = require("./parser-input"),
+    utils = require("../utils");
 
 //
 // less.js - parser
diff --git a/lib/less/render.js b/lib/less/render.js
index 83f9098..1691207 100644
--- a/lib/less/render.js
+++ b/lib/less/render.js
@@ -1,10 +1,10 @@
 var PromiseConstructor = typeof Promise === 'undefined' ? require('promise') : Promise,
-    contexts = require("./contexts.js"),
-    getImportManager = require("./imports.js"),
-    Parser = require('./parser/parser.js');
+    contexts = require("./contexts"),
+    getImportManager = require("./imports"),
+    Parser = require('./parser/parser');
 
 var render = function(environment) {
-    var ParseTree = require("./parse-tree.js")(environment);
+    var ParseTree = require("./parse-tree")(environment);
     return function (input, options, callback) {
         options = options || {};
 
diff --git a/lib/less/transform-tree.js b/lib/less/transform-tree.js
index bbfba9e..cd74539 100644
--- a/lib/less/transform-tree.js
+++ b/lib/less/transform-tree.js
@@ -1,6 +1,6 @@
-var contexts = require("./contexts.js"),
-    visitor = require("./visitor/index.js"),
-    tree = require("./tree/index.js");
+var contexts = require("./contexts"),
+    visitor = require("./visitor"),
+    tree = require("./tree");
 
 module.exports = function(root, options) {
     options = options || {};
diff --git a/lib/less/tree/alpha.js b/lib/less/tree/alpha.js
index c4a7dd1..9d4d5fa 100644
--- a/lib/less/tree/alpha.js
+++ b/lib/less/tree/alpha.js
@@ -1,4 +1,4 @@
-var Node = require("./node.js");
+var Node = require("./node");
 
 var Alpha = function (val) {
     this.value = val;
diff --git a/lib/less/tree/anonymous.js b/lib/less/tree/anonymous.js
index d68d5df..0d81a3f 100644
--- a/lib/less/tree/anonymous.js
+++ b/lib/less/tree/anonymous.js
@@ -1,4 +1,4 @@
-var Node = require("./node.js");
+var Node = require("./node");
 
 var Anonymous = function (value, index, currentFileInfo, mapLines, rulesetLike) {
     this.value = value;
diff --git a/lib/less/tree/assignment.js b/lib/less/tree/assignment.js
index efcc903..c9492ce 100644
--- a/lib/less/tree/assignment.js
+++ b/lib/less/tree/assignment.js
@@ -1,4 +1,4 @@
-var Node = require("./node.js");
+var Node = require("./node");
 
 var Assignment = function (key, val) {
     this.key = key;
diff --git a/lib/less/tree/attribute.js b/lib/less/tree/attribute.js
index 4d713f2..67f336e 100644
--- a/lib/less/tree/attribute.js
+++ b/lib/less/tree/attribute.js
@@ -1,4 +1,4 @@
-var Node = require("./node.js");
+var Node = require("./node");
 
 var Attribute = function (key, op, value) {
     this.key = key;
diff --git a/lib/less/tree/call.js b/lib/less/tree/call.js
index 6521949..38bcbc0 100644
--- a/lib/less/tree/call.js
+++ b/lib/less/tree/call.js
@@ -1,5 +1,5 @@
-var Node = require("./node.js"),
-    FunctionCaller = require("../functions/function-caller.js");
+var Node = require("./node"),
+    FunctionCaller = require("../functions/function-caller");
 //
 // A function call node.
 //
diff --git a/lib/less/tree/color.js b/lib/less/tree/color.js
index 1de5809..c51adf1 100644
--- a/lib/less/tree/color.js
+++ b/lib/less/tree/color.js
@@ -1,5 +1,5 @@
-var Node = require("./node.js"),
-    colors = require("../data/colors.js");
+var Node = require("./node"),
+    colors = require("../data/colors");
 
 //
 // RGB Colors - #ff0014, #eee
@@ -162,7 +162,7 @@ Color.prototype.toARGB = function () {
     return toHex([this.alpha * 255].concat(this.rgb));
 };
 Color.prototype.compare = function (x) {
-    return (x.rgb && 
+    return (x.rgb &&
         x.rgb[0] === this.rgb[0] &&
         x.rgb[1] === this.rgb[1] &&
         x.rgb[2] === this.rgb[2] &&
diff --git a/lib/less/tree/combinator.js b/lib/less/tree/combinator.js
index ba0abb0..784933c 100644
--- a/lib/less/tree/combinator.js
+++ b/lib/less/tree/combinator.js
@@ -1,4 +1,4 @@
-var Node = require("./node.js");
+var Node = require("./node");
 
 var Combinator = function (value) {
     if (value === ' ') {
diff --git a/lib/less/tree/comment.js b/lib/less/tree/comment.js
index 4226231..f098970 100644
--- a/lib/less/tree/comment.js
+++ b/lib/less/tree/comment.js
@@ -1,5 +1,5 @@
-var Node = require("./node.js"),
-    getDebugInfo = require("./debug-info.js");
+var Node = require("./node"),
+    getDebugInfo = require("./debug-info");
 
 var Comment = function (value, isLineComment, index, currentFileInfo) {
     this.value = value;
diff --git a/lib/less/tree/condition.js b/lib/less/tree/condition.js
index 27b3be5..ee65e87 100644
--- a/lib/less/tree/condition.js
+++ b/lib/less/tree/condition.js
@@ -1,4 +1,4 @@
-var Node = require("./node.js");
+var Node = require("./node");
 
 var Condition = function (op, l, r, i, negate) {
     this.op = op.trim();
diff --git a/lib/less/tree/detached-ruleset.js b/lib/less/tree/detached-ruleset.js
index 4c7723f..f0c81e7 100644
--- a/lib/less/tree/detached-ruleset.js
+++ b/lib/less/tree/detached-ruleset.js
@@ -1,5 +1,5 @@
-var Node = require("./node.js"),
-    contexts = require("../contexts.js");
+var Node = require("./node"),
+    contexts = require("../contexts");
 
 var DetachedRuleset = function (ruleset, frames) {
     this.ruleset = ruleset;
diff --git a/lib/less/tree/dimension.js b/lib/less/tree/dimension.js
index dfd00cf..ce59f27 100644
--- a/lib/less/tree/dimension.js
+++ b/lib/less/tree/dimension.js
@@ -1,7 +1,7 @@
-var Node = require("./node.js"),
-    unitConversions = require("../data/unit-conversions.js"),
-    Unit = require("./unit.js"),
-    Color = require("./color.js");
+var Node = require("./node"),
+    unitConversions = require("../data/unit-conversions"),
+    Unit = require("./unit"),
+    Color = require("./color");
 
 //
 // A number with a unit
diff --git a/lib/less/tree/directive.js b/lib/less/tree/directive.js
index 2f99d3f..b39df71 100644
--- a/lib/less/tree/directive.js
+++ b/lib/less/tree/directive.js
@@ -1,5 +1,5 @@
-var Node = require("./node.js"),
-    Ruleset = require("./ruleset.js");
+var Node = require("./node"),
+    Ruleset = require("./ruleset");
 
 var Directive = function (name, value, rules, index, currentFileInfo, debugInfo) {
     this.name  = name;
diff --git a/lib/less/tree/element.js b/lib/less/tree/element.js
index cc1c83e..f62f656 100644
--- a/lib/less/tree/element.js
+++ b/lib/less/tree/element.js
@@ -1,6 +1,6 @@
-var Node = require("./node.js"),
-    Paren = require("./paren.js"),
-    Combinator = require("./combinator.js");
+var Node = require("./node"),
+    Paren = require("./paren"),
+    Combinator = require("./combinator");
 
 var Element = function (combinator, value, index, currentFileInfo) {
     this.combinator = combinator instanceof Combinator ?
@@ -38,7 +38,7 @@ Element.prototype.toCSS = function (env) {
     env = env || {};
     var value = this.value, firstSelector = env.firstSelector;
     if (value instanceof Paren) {
-        // selector in parens should not be affected by outer selector 
+        // selector in parens should not be affected by outer selector
         // flags (breaks only interpolated selectors - see #1973)
         env.firstSelector = true;
     }
diff --git a/lib/less/tree/expression.js b/lib/less/tree/expression.js
index 11d09cb..2f25c7e 100644
--- a/lib/less/tree/expression.js
+++ b/lib/less/tree/expression.js
@@ -1,6 +1,6 @@
-var Node = require("./node.js"),
-    Paren = require("./paren.js"),
-    Comment = require("./comment.js");
+var Node = require("./node"),
+    Paren = require("./paren"),
+    Comment = require("./comment");
 
 var Expression = function (value) { this.value = value; };
 Expression.prototype = new Node();
diff --git a/lib/less/tree/extend.js b/lib/less/tree/extend.js
index d4d0676..caa7016 100644
--- a/lib/less/tree/extend.js
+++ b/lib/less/tree/extend.js
@@ -1,4 +1,4 @@
-var Node = require("./node.js");
+var Node = require("./node");
 
 var Extend = function Extend(selector, option, index) {
     this.selector = selector;
diff --git a/lib/less/tree/import.js b/lib/less/tree/import.js
index 6b5f26f..e0ac6d8 100644
--- a/lib/less/tree/import.js
+++ b/lib/less/tree/import.js
@@ -1,9 +1,9 @@
-var Node = require("./node.js"),
-    Media = require("./media.js"),
-    URL = require("./url.js"),
-    Quoted = require("./quoted.js"),
-    Ruleset = require("./ruleset.js"),
-    Anonymous = require("./anonymous.js");
+var Node = require("./node"),
+    Media = require("./media"),
+    URL = require("./url"),
+    Quoted = require("./quoted"),
+    Ruleset = require("./ruleset"),
+    Anonymous = require("./anonymous");
 
 //
 // CSS @import node
diff --git a/lib/less/tree/javascript.js b/lib/less/tree/javascript.js
index 4b5a2c0..05913b8 100644
--- a/lib/less/tree/javascript.js
+++ b/lib/less/tree/javascript.js
@@ -1,7 +1,7 @@
-var JsEvalNode = require("./js-eval-node.js"),
-    Dimension = require("./dimension.js"),
-    Quoted = require("./quoted.js"),
-    Anonymous = require("./anonymous.js");
+var JsEvalNode = require("./js-eval-node"),
+    Dimension = require("./dimension"),
+    Quoted = require("./quoted"),
+    Anonymous = require("./anonymous");
 
 var JavaScript = function (string, escaped, index, currentFileInfo) {
     this.escaped = escaped;
diff --git a/lib/less/tree/js-eval-node.js b/lib/less/tree/js-eval-node.js
index 297a7a1..2df63bb 100644
--- a/lib/less/tree/js-eval-node.js
+++ b/lib/less/tree/js-eval-node.js
@@ -1,5 +1,5 @@
-var Node = require("./node.js"),
-    Variable = require("./variable.js");
+var Node = require("./node"),
+    Variable = require("./variable");
 
 var JsEvalNode = function() {
 };
diff --git a/lib/less/tree/keyword.js b/lib/less/tree/keyword.js
index c800692..80677a4 100644
--- a/lib/less/tree/keyword.js
+++ b/lib/less/tree/keyword.js
@@ -1,4 +1,4 @@
-var Node = require("./node.js");
+var Node = require("./node");
 
 var Keyword = function (value) { this.value = value; };
 Keyword.prototype = new Node();
diff --git a/lib/less/tree/media.js b/lib/less/tree/media.js
index 5926b32..45d008d 100644
--- a/lib/less/tree/media.js
+++ b/lib/less/tree/media.js
@@ -1,10 +1,10 @@
-var Ruleset = require("./ruleset.js"),
-    Value = require("./value.js"),
-    Element = require("./element.js"),
-    Selector = require("./selector.js"),
-    Anonymous = require("./anonymous.js"),
-    Expression = require("./expression.js"),
-    Directive = require("./directive.js");
+var Ruleset = require("./ruleset"),
+    Value = require("./value"),
+    Element = require("./element"),
+    Selector = require("./selector"),
+    Anonymous = require("./anonymous"),
+    Expression = require("./expression"),
+    Directive = require("./directive");
 
 var Media = function (value, features, index, currentFileInfo) {
     this.index = index;
diff --git a/lib/less/tree/mixin-call.js b/lib/less/tree/mixin-call.js
index 358dd2c..7def79c 100644
--- a/lib/less/tree/mixin-call.js
+++ b/lib/less/tree/mixin-call.js
@@ -1,7 +1,7 @@
-var Node = require("./node.js"),
-    Selector = require("./selector.js"),
-    MixinDefinition = require("./mixin-definition.js"),
-    defaultFunc = require("../functions/default.js");
+var Node = require("./node"),
+    Selector = require("./selector"),
+    MixinDefinition = require("./mixin-definition"),
+    defaultFunc = require("../functions/default");
 
 var MixinCall = function (elements, args, index, currentFileInfo, important) {
     this.selector = new(Selector)(elements);
diff --git a/lib/less/tree/mixin-definition.js b/lib/less/tree/mixin-definition.js
index 3c2f195..e7a8957 100644
--- a/lib/less/tree/mixin-definition.js
+++ b/lib/less/tree/mixin-definition.js
@@ -1,9 +1,9 @@
-var Selector = require("./selector.js"),
-    Element = require("./element.js"),
-    Ruleset = require("./ruleset.js"),
-    Rule = require("./rule.js"),
-    Expression = require("./expression.js"),
-    contexts = require("../contexts.js");
+var Selector = require("./selector"),
+    Element = require("./element"),
+    Ruleset = require("./ruleset"),
+    Rule = require("./rule"),
+    Expression = require("./expression"),
+    contexts = require("../contexts");
 
 var Definition = function (name, params, rules, condition, variadic, frames) {
     this.name = name;
diff --git a/lib/less/tree/negative.js b/lib/less/tree/negative.js
index d33a315..4232930 100644
--- a/lib/less/tree/negative.js
+++ b/lib/less/tree/negative.js
@@ -1,6 +1,6 @@
-var Node = require("./node.js"),
-    Operation = require("./operation.js"),
-    Dimension = require("./dimension.js");
+var Node = require("./node"),
+    Operation = require("./operation"),
+    Dimension = require("./dimension");
 
 var Negative = function (node) {
     this.value = node;
diff --git a/lib/less/tree/operation.js b/lib/less/tree/operation.js
index 6b558e2..a76dda9 100644
--- a/lib/less/tree/operation.js
+++ b/lib/less/tree/operation.js
@@ -1,6 +1,6 @@
-var Node = require("./node.js"),
-    Color = require("./color.js"),
-    Dimension = require("./dimension.js");
+var Node = require("./node"),
+    Color = require("./color"),
+    Dimension = require("./dimension");
 
 var Operation = function (op, operands, isSpaced) {
     this.op = op.trim();
diff --git a/lib/less/tree/paren.js b/lib/less/tree/paren.js
index ab9b22a..54c71fb 100644
--- a/lib/less/tree/paren.js
+++ b/lib/less/tree/paren.js
@@ -1,4 +1,4 @@
-var Node = require("./node.js");
+var Node = require("./node");
 
 var Paren = function (node) {
     this.value = node;
diff --git a/lib/less/tree/quoted.js b/lib/less/tree/quoted.js
index 79c37f7..11e646b 100644
--- a/lib/less/tree/quoted.js
+++ b/lib/less/tree/quoted.js
@@ -1,6 +1,6 @@
-var Node = require("./node.js"),
-    JsEvalNode = require("./js-eval-node.js"),
-    Variable = require("./variable.js");
+var Node = require("./node"),
+    JsEvalNode = require("./js-eval-node"),
+    Variable = require("./variable");
 
 var Quoted = function (str, content, escaped, index, currentFileInfo) {
     this.escaped = escaped;
diff --git a/lib/less/tree/rule.js b/lib/less/tree/rule.js
index 521a2f0..fcc5329 100644
--- a/lib/less/tree/rule.js
+++ b/lib/less/tree/rule.js
@@ -1,6 +1,6 @@
-var Node = require("./node.js"),
-    Value = require("./value.js"),
-    Keyword = require("./keyword.js");
+var Node = require("./node"),
+    Value = require("./value"),
+    Keyword = require("./keyword");
 
 var Rule = function (name, value, important, merge, index, currentFileInfo, inline, variable) {
     this.name = name;
diff --git a/lib/less/tree/ruleset-call.js b/lib/less/tree/ruleset-call.js
index 537a978..3a2e77a 100644
--- a/lib/less/tree/ruleset-call.js
+++ b/lib/less/tree/ruleset-call.js
@@ -1,5 +1,5 @@
-var Node = require("./node.js"),
-    Variable = require("./variable.js");
+var Node = require("./node"),
+    Variable = require("./variable");
 
 var RulesetCall = function (variable) {
     this.variable = variable;
diff --git a/lib/less/tree/ruleset.js b/lib/less/tree/ruleset.js
index 6e4e690..0760595 100644
--- a/lib/less/tree/ruleset.js
+++ b/lib/less/tree/ruleset.js
@@ -1,10 +1,10 @@
-var Node = require("./node.js"),
-    Rule = require("./rule.js"),
-    Selector = require("./selector.js"),
-    Element = require("./element.js"),
-    contexts = require("../contexts.js"),
-    defaultFunc = require("../functions/default.js"),
-    getDebugInfo = require("./debug-info.js");
+var Node = require("./node"),
+    Rule = require("./rule"),
+    Selector = require("./selector"),
+    Element = require("./element"),
+    contexts = require("../contexts"),
+    defaultFunc = require("../functions/default"),
+    getDebugInfo = require("./debug-info");
 
 var Ruleset = function (selectors, rules, strictImports) {
     this.selectors = selectors;
diff --git a/lib/less/tree/selector.js b/lib/less/tree/selector.js
index ef39ece..e27e70f 100644
--- a/lib/less/tree/selector.js
+++ b/lib/less/tree/selector.js
@@ -1,4 +1,4 @@
-var Node = require("./node.js");
+var Node = require("./node");
 
 var Selector = function (elements, extendList, condition, index, currentFileInfo, isReferenced) {
     this.elements = elements;
diff --git a/lib/less/tree/unicode-descriptor.js b/lib/less/tree/unicode-descriptor.js
index 72f33ea..ff87b54 100644
--- a/lib/less/tree/unicode-descriptor.js
+++ b/lib/less/tree/unicode-descriptor.js
@@ -1,4 +1,4 @@
-var Node = require("./node.js");
+var Node = require("./node");
 
 var UnicodeDescriptor = function (value) {
     this.value = value;
diff --git a/lib/less/tree/unit.js b/lib/less/tree/unit.js
index 64b6b4f..d9a7459 100644
--- a/lib/less/tree/unit.js
+++ b/lib/less/tree/unit.js
@@ -1,5 +1,5 @@
-var Node = require("./node.js"),
-    unitConversions = require("../data/unit-conversions.js");
+var Node = require("./node"),
+    unitConversions = require("../data/unit-conversions");
 
 var Unit = function (numerator, denominator, backupUnit) {
     this.numerator = numerator ? numerator.slice(0).sort() : [];
diff --git a/lib/less/tree/url.js b/lib/less/tree/url.js
index 603e4b7..6dd2fa6 100644
--- a/lib/less/tree/url.js
+++ b/lib/less/tree/url.js
@@ -1,4 +1,4 @@
-var Node = require("./node.js");
+var Node = require("./node");
 
 var URL = function (val, currentFileInfo, isEvald) {
     this.value = val;
diff --git a/lib/less/tree/value.js b/lib/less/tree/value.js
index fb1c7f8..b550edd 100644
--- a/lib/less/tree/value.js
+++ b/lib/less/tree/value.js
@@ -1,4 +1,4 @@
-var Node = require("./node.js");
+var Node = require("./node");
 
 var Value = function (value) {
     this.value = value;
diff --git a/lib/less/tree/variable.js b/lib/less/tree/variable.js
index cff740e..87428af 100644
--- a/lib/less/tree/variable.js
+++ b/lib/less/tree/variable.js
@@ -1,4 +1,4 @@
-var Node = require("./node.js");
+var Node = require("./node");
 
 var Variable = function (name, index, currentFileInfo) {
     this.name = name;

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