Skip to content
This repository

Maybe a bug? #5

Closed
BadKnees opened this Issue June 28, 2011 · 2 comments

2 participants

BadKnees Ruslan Spivak
BadKnees

when i try to slim this:

var tagRegExp = new RegExp('<(\/*)(FooBar)', 'gi');

I get:
SyntaxError: Unexpected token (LT, '<') at 1:30 between LexToken(LPAREN,'(',1,28) and LexToken(LPAREN,'(',1,31)

This same error occurs across several different libraries i use. One of them being monernizr.

Ruslan Spivak
Owner

Definitely a bug. Thanks for filing it.

Ruslan Spivak
Owner

The bug is fixed. I've made a new 0.5.3 release and uploaded it to pypi: http://pypi.python.org/pypi/slimit

Ruslan Spivak rspivak closed this June 28, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.