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

absoluteTo in IE7 always prefixes base directory to path #68

Closed
joeweoj opened this issue Feb 12, 2013 · 1 comment
Closed

absoluteTo in IE7 always prefixes base directory to path #68

joeweoj opened this issue Feb 12, 2013 · 1 comment
Labels

Comments

@joeweoj
Copy link

joeweoj commented Feb 12, 2013

The condition:

if (resolved.path()[0] !== '/') {
    resolved._parts.path = base.directory() + '/' + resolved._parts.path;
    resolved.normalizePath();
}

is always true in IE7 because it doesn't access strings like arrays. perhaps charAt(0) instead?

@rodneyrehm
Copy link
Member

I'd probably go with .slice(0, 1), but in the end it doesn't matter… Pull Request welcome hint

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

No branches or pull requests

2 participants