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

Automatically append ".js" when normalizing filename #33

Closed
kirill-konshin opened this issue Apr 1, 2015 · 3 comments
Closed

Automatically append ".js" when normalizing filename #33

kirill-konshin opened this issue Apr 1, 2015 · 3 comments

Comments

@kirill-konshin
Copy link

    normalized.push(parts[i]);
  }

  var file = normalized.pop();
  file += file.indexOf('.js') == -1 ? '.js' : '';
  normalized.push(file);

  return normalized.join('/');

Without that karma-cajon, the fork of this project, tries to load files without any extension. Since the author of the fork did not enabled issues -- I'll leave it here.

@kirill-konshin
Copy link
Author

PR xdamman#1 created

@kirill-konshin
Copy link
Author

Bump!

@lukeapage
Copy link

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

No branches or pull requests

3 participants