In my case jQuery was out of date. Updating it fixed all issues. On Thursday, 21 May 2015 18:06:33 UTC-4, [email protected] wrote: > > And what did you screw up? Because I'm having the same issue. I've been > off this app for half a year and suddenly i've been told it doesn't work in > safari. > > The error gives ZERO hints to what the issue is, except that apparently > safari doesn't have eval? Not that I use it anywhere. > > So what fixed your issue? > > On Tuesday, 31 March 2015 16:34:22 UTC-4, [email protected] wrote: >> >> This was my own screw up. >> >> On Tuesday, March 31, 2015 at 3:15:12 PM UTC-4, [email protected] >> wrote: >>> >>> I'm seeing an assertion failed error in my app in line 118 of >>> webcomponent.js: >>> >>> window.ShadowDOMPolyfill = {}; >>> (function(scope) { >>> "use strict"; >>> var constructorTable = new WeakMap(); >>> var nativePrototypeTable = new WeakMap(); >>> var wrappers = Object.create(null); >>> function detectEval() { >>> if (typeof chrome !== "undefined" && chrome.app && >>> chrome.app.runtime) { >>> return false; >>> } >>> if (navigator.getDeviceStorage) { >>> return false; >>> } >>> try { >>> var f = new Function("return true;"); >>> return f(); >>> } catch (ex) { >>> return false; >>> } >>> } >>> var hasEval = detectEval(); >>> function assert(b) { >>> if (!b) >>> * throw new Error("Assertion failed");* >>> } >>> >>> This only shows up in Safari, and not Chrome. Any ideas? >>> >>
Follow Polymer on Google+: plus.google.com/107187849809354688692 --- You received this message because you are subscribed to the Google Groups "Polymer" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/polymer-dev/5827d0a5-d9fe-498b-b06c-7a1bff1047ff%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
