Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

URL.JS Fix causes an error in the console #490

Closed
MaximSavin opened this issue Nov 26, 2011 · 2 comments
Closed

URL.JS Fix causes an error in the console #490

MaximSavin opened this issue Nov 26, 2011 · 2 comments

Comments

@MaximSavin
Copy link

40601f8

This fix causes an error in the console:

Maxims-MacBook-Pro:bin maximsavin$ ./lessc style.less

/Users/maximsavin/Projects/less.js/lib/less/tree/url.js:8
        if (less.mode === 'browser' && !/^(?:https?:\/\/|file:\/\/|data:|\/)/.
                      ^
ReferenceError: less is not defined
    at Object.<anonymous> (/Users/maximsavin/Projects/less.js/lib/less/tree/url.js:8:23)
    at Object.<anonymous> (/Users/maximsavin/Projects/less.js/lib/less/parser.js:565:28)
    at $ (/Users/maximsavin/Projects/less.js/lib/less/parser.js:113:24)
    at Object.entity (/Users/maximsavin/Projects/less.js/lib/less/parser.js:768:81)
    at $ (/Users/maximsavin/Projects/less.js/lib/less/parser.js:113:24)
    at Object.expression (/Users/maximsavin/Projects/less.js/lib/less/parser.js:1097:48)
    at $ (/Users/maximsavin/Projects/less.js/lib/less/parser.js:113:24)
    at Object.value (/Users/maximsavin/Projects/less.js/lib/less/parser.js:1031:28)
    at $ (/Users/maximsavin/Projects/less.js/lib/less/parser.js:113:24)
    at Object.rule (/Users/maximsavin/Projects/less.js/lib/less/parser.js:944:33)
@andyfowler
Copy link

duplicate of #486

@MaximSavin
Copy link
Author

oops sorry...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants