less 1.7.4 → 1.7.5

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.
Files changed (47) hide show
  1. package/.idea/jsLibraryMappings.xml +0 -1
  2. package/.idea/workspace.xml +160 -202
  3. package/CHANGELOG.md +13 -0
  4. package/Gruntfile.js +0 -12
  5. package/README.md +53 -53
  6. package/bin/lessc +4 -1
  7. package/bower.json +2 -2
  8. package/dist/less-1.7.4.js +59 -59
  9. package/dist/less-1.7.4.min.js +12 -12
  10. package/dist/less-1.7.5.js +8008 -0
  11. package/dist/less-1.7.5.min.js +16 -0
  12. package/dist/less-rhino-1.7.4.js +48 -48
  13. package/dist/less-rhino-1.7.5.js +9383 -0
  14. package/dist/lessc-rhino-1.7.4.js +2 -2
  15. package/dist/lessc-rhino-1.7.5.js +449 -0
  16. package/lib/less/functions.js +8 -1
  17. package/lib/less/import-visitor.js +2 -2
  18. package/lib/less/index.js +3 -3
  19. package/lib/less/parser/parser.js.orig +1747 -0
  20. package/lib/less/parser.js +27 -1
  21. package/lib/less/tree/directive.js +4 -1
  22. package/lib/less/tree/element.js +6 -22
  23. package/lib/less/tree/rule.js +7 -4
  24. package/lib/less/tree/rule.js.orig +164 -0
  25. package/lib/less/tree/ruleset.js +8 -1
  26. package/lib/less/tree/selector.js +1 -1
  27. package/package.json +6 -6
  28. package/test/browser/less.js +7275 -6947
  29. package/test/css/comments.css +8 -0
  30. package/test/css/css-3.css +6 -0
  31. package/test/css/import.css +5 -0
  32. package/test/css/mixins.css +3 -0
  33. package/test/css/property-name-interp.css +1 -0
  34. package/test/css/urls.css +1 -0
  35. package/test/less/comments.less +14 -1
  36. package/test/less/css-3.less +7 -0
  37. package/test/less/errors/import-malformed.less +1 -1
  38. package/test/less/errors/import-malformed.txt +3 -3
  39. package/test/less/import.less +8 -2
  40. package/test/less/mixins.less +1 -0
  41. package/test/less/property-name-interp.less +4 -1
  42. package/test/less/property-name-interp.less.orig +59 -0
  43. package/test/less/urls.less +2 -1
  44. package/test/modify-vars.js +17 -0
  45. package/tmp/browser/test-runner-main.html +4 -0
  46. package/tmp/less.js +8295 -0
  47. package/build/README.md +0 -53
package/build/README.md DELETED
@@ -1,53 +0,0 @@
1
- [![Build Status](https://travis-ci.org/less/less.js.png?branch=master)](https://travis-ci.org/less/less.js)
2
- [![Dependencies](https://david-dm.org/less/less.js.png)](https://david-dm.org/less/less.js) [![devDependency Status](https://david-dm.org/less/less.js/dev-status.png)](https://david-dm.org/less/less.js#info=devDependencies) [![optionalDependency Status](https://david-dm.org/less/less.js/optional-status.png)](https://david-dm.org/less/less.js#info=optionalDependencies)
3
-
4
- # [Less.js v<%= pkg.version %>](http://lesscss.org)
5
-
6
- > The **dynamic** stylesheet language. [http://lesscss.org](http://lesscss.org).
7
-
8
- This is the JavaScript, official, stable version of Less.
9
-
10
-
11
- ## Getting Started
12
-
13
- Options for adding Less.js to your project:
14
-
15
- * Install with [NPM](https://npmjs.org/): `npm install less`
16
- * [Download the latest release][download]
17
- * Clone the repo: `git clone git://github.com/less/less.js.git`
18
-
19
- ## More information
20
-
21
- For general information on the language, configuration options or usage visit [lesscss.org](http://lesscss.org).
22
-
23
- Here are other resources for using Less.js:
24
-
25
- * [stackoverflow.com][so] is a great place to get answers about Less.
26
- * [Less.js Issues][issues] for reporting bugs
27
-
28
-
29
- ## Contributing
30
- Please read [CONTRIBUTING.md](./CONTRIBUTING.md). Add unit tests for any new or changed functionality. Lint and test your code using [Grunt](http://gruntjs.com/).
31
-
32
- ### Reporting Issues
33
-
34
- Before opening any issue, please search for existing issues and read the [Issue Guidelines](https://github.com/necolas/issue-guidelines), written by [Nicolas Gallagher](https://github.com/necolas/). After that if you find a bug or would like to make feature request, [please open a new issue][issues].
35
-
36
- Please report documentation issues in [the documentation project](https://github.com/less/less-docs).
37
-
38
- ### Development
39
-
40
- Read [Developing Less](http://lesscss.org/usage/#developing-less).
41
-
42
- ## Release History
43
- See the [changelog](CHANGELOG.md)
44
-
45
- ## [License](LICENSE)
46
-
47
- Copyright (c) 2009-<%= grunt.template.today("yyyy") %> [Alexis Sellier](http://cloudhead.io/) & The Core Less Team
48
- Licensed under the [Apache License](LICENSE).
49
-
50
-
51
- [so]: http://stackoverflow.com/questions/tagged/twitter-bootstrap+less "StackOverflow.com"
52
- [issues]: https://github.com/less/less.js/issues "GitHub Issues for Less.js"
53
- [download]: https://github.com/less/less.js/zipball/master "Download Less.js"