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

changing dir handling for windows #19

Merged
merged 1 commit into from
Jun 4, 2014

Conversation

thebeekeeper
Copy link
Contributor

For issue #8. Makes things work on Windows, haven't tested on other platforms.

gilbitron added a commit that referenced this pull request Jun 4, 2014
Fix dir handling for windows
@gilbitron gilbitron merged commit 138b349 into ryanlelek:master Jun 4, 2014
@saturner74
Copy link

With version 0.9, I needed to adjust this code to the following to work on Windows.

var dir = raneto.config.content_dir.replace(/\\/g, "/");
var shortPath = filePath.replace(dir, '').trim();

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.

3 participants