Skip to content

Commit

Permalink
Merge pull request #3159 from matthew-dean/3.x
Browse files Browse the repository at this point in the history
Bump to 3.0.0-RC.1
  • Loading branch information
matthew-dean authored Feb 4, 2018
2 parents d30e3a6 + 8b4524f commit f80a021
Show file tree
Hide file tree
Showing 5 changed files with 5,880 additions and 29 deletions.
14 changes: 8 additions & 6 deletions dist/less.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/*!
* Less - Leaner CSS v3.0.0-alpha.3
* Less - Leaner CSS v3.0.0-RC.1
* http://lesscss.org
*
* Copyright (c) 2009-2017, Alexis Sellier <self@cloudhead.net>
* Copyright (c) 2009-2018, Alexis Sellier <self@cloudhead.net>
* Licensed under the Apache-2.0 License.
*
*/
Expand Down Expand Up @@ -2872,13 +2872,13 @@ module.exports = function(environment, fileManagers) {
/* eslint guard-for-in: 0 */
t = initial.tree[n];
if (typeof t === "function") {
api[n] = ctor(t);
api[n.toLowerCase()] = ctor(t);
}
else {
api[n] = Object.create(null);
for (var o in t) {
/* eslint guard-for-in: 0 */
api[n][o] = ctor(t[o]);
api[n][o.toLowerCase()] = ctor(t[o]);
}
}
}
Expand Down Expand Up @@ -3600,7 +3600,8 @@ var LessError = require('../less-error'),
tree = require("../tree"),
visitors = require("../visitors"),
getParserInput = require("./parser-input"),
utils = require("../utils");
utils = require("../utils"),
functionRegistry = require('../functions/function-registry');

//
// less.js - parser
Expand Down Expand Up @@ -3783,6 +3784,7 @@ var Parser = function Parser(context, imports, fileInfo) {
tree.Node.prototype.rootNode = root;
root.root = true;
root.firstRoot = true;
root.functionRegistry = functionRegistry.inherit();

} catch (e) {
return callback(new LessError(e, imports, fileInfo.filename));
Expand Down Expand Up @@ -5594,7 +5596,7 @@ Parser.serializeVars = function(vars) {

module.exports = Parser;

},{"../less-error":36,"../tree":66,"../utils":88,"../visitors":92,"./parser-input":41}],43:[function(require,module,exports){
},{"../functions/function-registry":26,"../less-error":36,"../tree":66,"../utils":88,"../visitors":92,"./parser-input":41}],43:[function(require,module,exports){
var utils = require('./utils');
/**
* Plugin Manager
Expand Down
12 changes: 6 additions & 6 deletions dist/less.min.js

Large diffs are not rendered by default.

16 changes: 0 additions & 16 deletions lib/less/plugin-api.js

This file was deleted.

Loading

0 comments on commit f80a021

Please sign in to comment.