Permalink
Please sign in to comment.
Browse files
Added document-register-element/pony CommonJS module.
As discussed in issue #86 there is currently no way to require document-register-element polyfill without polluting the global context after feature detection. Since there could be some very specific case when the browser should be force-patched, the `pony` version of the module will not attempt to feature detect anything and it will only enrich the environment once invoked. ``` const installCE = require('document-register-element/pony'); installCE(global, 'force'); // second argument is optional // it defaults to 'auto' which // uses feature detection only ```
- Loading branch information...
Showing
with
1,483 additions
and 23 deletions.
- +3 −0 Makefile
- +1 −1 build/document-register-element.amd.js
- +1 −1 build/document-register-element.js
- +9 −4 build/document-register-element.max.amd.js
- +9 −4 build/document-register-element.max.js
- +14 −6 build/document-register-element.node.js
- +1,432 −0 pony/index.js
- +7 −2 src/document-register-element.js
- +1 −1 template/amd.before
- +0 −2 template/node.after
- +5 −1 template/node.before
- +1 −1 template/var.before
Oops, something went wrong.
0 comments on commit
e6def74