joshuef / safe-js

12 stars 7 forks source link

window.safeNFS is missing when using polyfill.js #12

Closed happybeing closed 8 years ago

happybeing commented 8 years ago

I found the error in the polyfill.js

if( ! window.safeNFS )
{
    window.safeDNS = safejs.nfs;
}

Should of course be:

if( ! window.safeNFS )
{
    window.safeNFS = safejs.nfs;
}

https://github.com/joshuef/safe-js/blob/master/src/polyfill.js#L10