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

Support for Bower #584

Closed
Iristyle opened this issue Sep 15, 2012 · 3 comments
Closed

Support for Bower #584

Iristyle opened this issue Sep 15, 2012 · 3 comments

Comments

@Iristyle
Copy link

I think this is more on them than it is on you, given your spec was first, they're using your component.json filename, etc.... but please consider working with the Twitter folks to let Mocha install through Bower.

bower/bower#56

@tj
Copy link
Contributor

tj commented Sep 15, 2012

sorry, it's not ready yet for components but when it is I wont be able to support both anyway since they're using component.json differently

@tj tj closed this as completed Sep 15, 2012
@Iristyle
Copy link
Author

Yeah, figured you would say that... so I created
https://github.com/Iristyle/bower-mocha

I just didn't want to have to maintain this...

@jonathanong
Copy link
Contributor

Would doing something like underscore work for working in both?

if (typeof exports !== 'undefined') {
  if (typeof module !== 'undefined' && module.exports) {
    exports = module.exports = _;
  }
  exports._ = _;
} else {
  root['_'] = _;
}

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

3 participants