"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "packages/less/src/less/tree/expression.js" between
less.js-4.1.2.tar.gz and less.js-4.1.3.tar.gz

About: Less.js (Leaner CSS) is a CSS preprocessor (extension language) adding features that allow variables, mixins, functions and many other techniques that allow you to make CSS that is more maintainable, themable and extendable.

expression.js  (less.js-4.1.2):expression.js  (less.js-4.1.3)
import Node from './node'; import Node from './node';
import Paren from './paren'; import Paren from './paren';
import Comment from './comment'; import Comment from './comment';
import Dimension from './dimension'; import Dimension from './dimension';
import * as Constants from '../constants';
const MATH = Constants.Math;
const Expression = function(value, noSpacing) { const Expression = function(value, noSpacing) {
this.value = value; this.value = value;
this.noSpacing = noSpacing; this.noSpacing = noSpacing;
if (!value) { if (!value) {
throw new Error('Expression requires an array parameter'); throw new Error('Expression requires an array parameter');
} }
}; };
Expression.prototype = Object.assign(new Node(), { Expression.prototype = Object.assign(new Node(), {
 End of changes. 1 change blocks. 
2 lines changed or deleted 0 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)