youtube/spfjs — pull request #153 by nicksay (2014-11-18 04:11:38+00:00)
Title: Handle edge cases for script/style loading.

The edge cases handled are:
- Ensure switching names for an existing URL works.
- Ensure callbacks are transfered when switching names for existing URLs.
- Ensure switching URLs cancels previous callbacks.
- Ensure calling unload cancels previous callbacks.

Add tests for all of the above.

Closes #60.