1.0.1 • Published 8 years ago
can-global v1.0.1
can-global
Returns the global that this environment provides.
Usage
ES6 use
With StealJS, you can import this module directly in a template that is autorendered:
import plugin from "can-global";CommonJS use
Use require to load can-global and everything else
needed to create a template that uses can-global:
import plugin from "can-global";Standalone use
Load the global version of the plugin:
<script src='./node_modules/can-global/dist/global/can-global.js'></script>