can-globals
v1.2.2
Published
This module provides a dependency injection container. Modules may define a key and specify a default value (which can be static, cached lazy, or dynamic lazy), but other code can set and reset the value as needed. There is also an event system, for alert
Downloads
9,837
Readme
can-globals
An environment agnostic container for global variables. Useful for testing and server-side rendering (SSR), typically used internally by CanJS.
Documentation
Read the API docs on CanJS.com.
Changelog
See the latest releases on GitHub.
Contributing
The contribution guide has information on getting help, reporting bugs, developing locally, and more.