Skip to content

Commit

Permalink
Don't use 'window' in spaceport-swf plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
strager committed Apr 9, 2013
1 parent f32a205 commit c5a2ac1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/spaceport-swf.js
Expand Up @@ -204,7 +204,7 @@ unrequire['definePlugin']("Spaceport SWF", function (un) {
var global = (function () { return this; }());
var sp = global && global['sp'];
if (!sp) {
callback(new Error("Spaceport not initialized; sp object not found on window"));
callback(new Error("Spaceport not initialized; sp object not found"));
return;
}

Expand Down

0 comments on commit c5a2ac1

Please sign in to comment.