noclosure-resin-bridge
v1.0.0
Published
https://github.com/mikesamuel/noclosure-resin-bridge.git
Downloads
9
Maintainers
Readme
No Closure Polymer Resin Bridge
A bridge for Polymer Resin that does not depend on Closure Library.
See configuring Polymer Resin for information about bridge functions.
The bridge function defines what values are safe. It allows a framework to interoperate with different kinds of "safe values" like Google Closure's goog.html package, the Trusted Types polyfill, or node-sec-patterns.
If index.js
has loaded into the browser, then you can configure
Polymer Resin with this bridge thus:
security.polymer_resin.install({
'safeTypesBridge': security.polymer_resin.noclosure_bridge,
...
})