Skip to content
This repository has been archived by the owner on Jan 29, 2024. It is now read-only.

Introducing loader methods analog to other use**() methods #58

Closed
0x-r4bbit opened this issue May 19, 2013 · 3 comments
Closed

Introducing loader methods analog to other use**() methods #58

0x-r4bbit opened this issue May 19, 2013 · 3 comments
Assignees
Milestone

Comments

@0x-r4bbit
Copy link
Member

  • useUrlLoader(url);
  • useStaticFilesLoader(options)
  • useLoader(serviceName, options)

Syntactic sugar.

@ghost ghost assigned 0x-r4bbit May 19, 2013
@0x-r4bbit
Copy link
Member Author

This also means, we could get rid of LoaderGenerator. I'll give some warnings when registerLoader() is used, so people have a chance to refactor deprecated stuff.

@0x-r4bbit
Copy link
Member Author

Running sample for useStaticFilesLoader(): http://plnkr.co/edit/4Qmnfc

@0x-r4bbit
Copy link
Member Author

Running sample for useLoader(): http://plnkr.co/edit/ehaRxl

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

No branches or pull requests

1 participant