Skip to content

Instantly share code, notes, and snippets.

@beriberikix
Created July 6, 2012 05:27
Show Gist options
  • Select an option

  • Save beriberikix/3058263 to your computer and use it in GitHub Desktop.

Select an option

Save beriberikix/3058263 to your computer and use it in GitHub Desktop.
css jison file error
// 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