This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* getLessVars parses your LESS variables to Javascript (provided you make a dummy node in LESS) | |
* @param {String} id The CSS-id your variables are listed under. | |
* @param {Boolean} [parseNumbers=true] Try to parse units as numbers. | |
* @return {Object} A value object containing your LESS variables. | |
* @example | |
* LESS: | |
* @myLessVariable: 123px; | |
* #dummyLessId { width: @myLessVariable; } | |
* Javascript: |
NewerOlder