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

Make saving the library easier. #2

Closed
3rd-Eden opened this issue Jul 4, 2013 · 2 comments
Closed

Make saving the library easier. #2

3rd-Eden opened this issue Jul 4, 2013 · 2 comments
Labels

Comments

@3rd-Eden
Copy link
Member

3rd-Eden commented Jul 4, 2013

Manually saving the library can a bit of a pain. We should make it easier to developers to save the library to disk.

  1. We can add a /primus.js route and send the compiled library. This would be great for testing and makes it significantly easier to get started with primus.
  2. Another option would be adding Primus#save(path) method where we will just save the compiled library to disk.
@nicokaiser
Copy link

Instead of /primus.js maybe Primus.pathname + '.js' or Primus.pathname + '/client.js'?

This way, everything related is contained in the path in Primus.pathname.

3rd-Eden added a commit that referenced this issue Jul 4, 2013
This should make it easier for developers to get started with primus. See #2
@3rd-Eden
Copy link
Member Author

3rd-Eden commented Jul 4, 2013

Decided to for /<pathname>/primus.js so it's still namespaced as you suggest but has name that is easy to remember.

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