Skip to content

Commit

Permalink
Fix for missing debug variable
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom Robinson committed Oct 22, 2008
1 parent abbbc6e commit fabd1df
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Tools/Utilities/bridge.js
@@ -1,3 +1,6 @@
if (typeof debug == "undefined")
debug = false;

//window

if (!this.window)
Expand Down Expand Up @@ -192,7 +195,7 @@ if (!this.readFile)
if (!f.canRead)
{
if (debug)
alert("can't read: " + f.path)
alert("can't read: " + f.path);

return "";
}
Expand All @@ -219,7 +222,7 @@ if (!this.readFile)
if (!f.canRead())
{
if (debug)
alert("can't read: " + f.path)
alert("can't read: " + f.path);

return "";
}
Expand Down

0 comments on commit fabd1df

Please sign in to comment.