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

Ensure uri-compatible strings are used on windows #7

Merged
merged 1 commit into from Jan 15, 2016
Merged

Ensure uri-compatible strings are used on windows #7

merged 1 commit into from Jan 15, 2016

Conversation

bdollard
Copy link
Contributor

Since the first two arguments to io.bit3.jsass.importer.Import. are
going to be treated as URIs we need to ensure that the strings passed to
the constructor are URI compatible (i.e. not contain backslashes or
other illegal characters). This motivates both changes.

Also we don't want windows users to have to import webjars using
something like @import "boostrap\\scss/bootstrap. This is another
reason for the change to webjars.clj.

Since the first two arguments to io.bit3.jsass.importer.Import. are
going to be treated as URIs we need to ensure that the strings passed to
the constructor are URI compatible (i.e. not contain backslashes or
other illegal characters).  This motivates both changes.

Also we don't want windows users to have to import webjars using
something like  `@import "boostrap\\scss/bootstrap`.  This is another
reason for the change to webjars.clj.
@Deraen
Copy link
Owner

Deraen commented Jan 15, 2016

Thanks. Have you tested this on Windows? Any other problems?

@bdollard
Copy link
Contributor Author

This fixes the two problems I ran into on Windows. The boot sass now works properly on my project in Windows. These changes also makes boot run-tests pass without errors on windows.

@Deraen
Copy link
Owner

Deraen commented Jan 15, 2016

Great!

Deraen added a commit that referenced this pull request Jan 15, 2016
Ensure uri-compatible strings are used on windows
@Deraen Deraen merged commit f05b167 into Deraen:master Jan 15, 2016
@Deraen
Copy link
Owner

Deraen commented Feb 22, 2016

This has now been deployed in 0.2.1.

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

Successfully merging this pull request may close these issues.

2 participants