Help get this topic noticed by sharing it on Twitter, Facebook, or email.

Why is my popup's crossriderMain function able to pull in css but not execute my javascript in Safari?

I've worked over the past few days to namespace/modularize my code and have been working almost exlusively in Chrome. When I stepped back tonight to test in other browsers, Firefox works fine but Safari is dead in the water (no idea on IE yet). Am wondering why my popup's JavaScript isn't getting executed in Safari.

My crossriderMain function looks like this:

function crossriderMain($) {
appAPI.resources.includeCSS("styles/popup.css");
eval(appAPI.resources.get("scripts/popup.js"));
}

I've posted scripts/popup.js at https://gist.github.com/aaitken/18e98... - while it's 135 lines longs, I'm hoping there's an architectural gotcha that pops out at someone above the weeds.

Thanks!
1 person has
this question
+1
Reply