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

Create site config system #21

Closed
ianb opened this issue Jan 30, 2013 · 2 comments
Closed

Create site config system #21

ianb opened this issue Jan 30, 2013 · 2 comments

Comments

@ianb
Copy link
Contributor

ianb commented Jan 30, 2013

TowTruck should be somewhat configurable by sites. No configuration should be necessary, but it should be possible to override hubUrl, maybe indicate other hooks, etc.

I imagine something like require.js (after #10 is implemented), where you could either do:

TowTruck.config({
  hubUrl: "something else"
});
// or like require.js, if TowTruck hasn't been loaded:
TwoTruck = {
  hubUrl: "something else"
});
@ianb
Copy link
Contributor Author

ianb commented Feb 7, 2013

While hubUrl has to be configured early on, and maybe a few other things, I think for other hooks something more like an event system will make more sense.

@ianb
Copy link
Contributor Author

ianb commented Feb 28, 2013

Implemented

@ianb ianb closed this as completed Feb 28, 2013
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

1 participant