Skip to content

Commit

Permalink
Some bug fixes to the core clss
Browse files Browse the repository at this point in the history
  • Loading branch information
meltingice committed Oct 19, 2010
1 parent c1022ef commit b61ba47
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion jsonp-fu/jsonp-fu.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ var jsonpfu = {},
*/
if (!('console' in window)) {
window.console = {
log: function () { }
log: function (msg) { },
error: function (msg) { }
};
}

Expand Down Expand Up @@ -61,6 +62,8 @@ var jsonpfu = {},
callback = function () {};
}

log("loading url " + url);

new_script.type = 'text/javascript';
new_script.src = url;
new_script.onload = function () {
Expand Down

0 comments on commit b61ba47

Please sign in to comment.