Created
July 6, 2012 05:27
-
-
Save beriberikix/3058263 to your computer and use it in GitHub Desktop.
css jison file error
This file contains hidden or 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
| // used https://github.com/MarkBennett/css-smasher/blob/master/lib/parser.jison | |
| //latest node stable and all packages | |
| jison parser.jison -o cssParser.js -m js | |
| // in the browser | |
| <script src="cssParser.js"></script> | |
| <script> | |
| cssParser.parse("body { color: red; }"); | |
| </script> | |
| // returns TypeError: undefined is not a function. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment