less 3.8.0 → 3.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Gruntfile.js +1 -3
- package/dist/less.js +2352 -98
- package/dist/less.min.js +7 -7
- package/lib/less/functions/color.js +84 -41
- package/lib/less/index.js +1 -1
- package/lib/less/parser/parser.js +2 -9
- package/lib/less/source-map-output.js +2 -2
- package/lib/less/tree/color.js +58 -18
- package/lib/less/utils.js +12 -19
- package/lib/less-browser/index.js +7 -1
- package/package.json +5 -2
- package/test/browser/less.js +2352 -98
- package/test/css/colors.css +20 -3
- package/test/css/css-escapes.css +3 -0
- package/test/css/functions.css +4 -4
- package/test/less/colors.less +18 -0
- package/test/less/css-escapes.less +4 -0
- package/test/less/errors/color-func-invalid-color.txt +1 -1
- package/test/less/sourcemaps/custom-props.less +8 -0
- package/test/less-bom/colors.less +18 -0
- package/test/less-bom/css-escapes.less +4 -0
- package/test/less-bom/errors/color-func-invalid-color.txt +1 -1
- package/test/less-bom/sourcemaps/custom-props.less +8 -0
- package/test/less-test.js +26 -12
- package/test/sourcemaps/custom-props.json +1 -0
- package/test/less/errors/color-invalid-hex-code.less +0 -4
- package/test/less/errors/color-invalid-hex-code.txt +0 -4
- package/test/less/errors/color-invalid-hex-code2.less +0 -4
- package/test/less/errors/color-invalid-hex-code2.txt +0 -4
- package/test/less-bom/errors/color-invalid-hex-code.less +0 -4
- package/test/less-bom/errors/color-invalid-hex-code.txt +0 -4
- package/test/less-bom/errors/color-invalid-hex-code2.less +0 -4
- package/test/less-bom/errors/color-invalid-hex-code2.txt +0 -4
package/Gruntfile.js
CHANGED
|
@@ -292,6 +292,7 @@ module.exports = function (grunt) {
|
|
|
292
292
|
keepRunner: true,
|
|
293
293
|
host: 'http://localhost:8081/',
|
|
294
294
|
vendor: [
|
|
295
|
+
'./node_modules/phantomjs-polyfill-object-assign/object-assign-polyfill.js',
|
|
295
296
|
'test/browser/vendor/promise.js',
|
|
296
297
|
'test/browser/jasmine-jsreporter.js',
|
|
297
298
|
'test/browser/common.js',
|
|
@@ -472,9 +473,6 @@ module.exports = function (grunt) {
|
|
|
472
473
|
|
|
473
474
|
require('jit-grunt')(grunt);
|
|
474
475
|
|
|
475
|
-
// Actually load this plugin's task(s).
|
|
476
|
-
grunt.loadTasks('build/tasks');
|
|
477
|
-
|
|
478
476
|
// by default, run tests
|
|
479
477
|
grunt.registerTask('default', [
|
|
480
478
|
'test'
|