Problem with GETJSON ? chrome extension

i’ve got some problem with getjson. Actually i developt an chrome extension. $getJson work in the background.js but when i use him in my pop.js he doesn’t work?

$.getJSON(‘’, function(channel) {

 if (channel["stream"]==null) { document.getElementById("live").innerHTML='<h3>OFFLINE</h3>';}
 if (channel["stream"]!=null) { document.getElementById("live").innerHTML='<h3>ONLINE</h3>';}



This forum is for help with the Twitch API. For general programming help or help with Chrome extensions, try StackOverflow or Google Groups for extension development.