Fix for missing debug variable

This commit is contained in:
Tom Robinson committed 2008-10-22 16:22:41 -07:00
1 parent abbbc6e8f0
commit fabd1df4dd
1 file changed
+5 -2
+5 -2
View File
@@ -1,3 +1,6 @@
if (typeof debug == "undefined")
debug = false;
//window
if (!this.window)
@@ -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 "";
}
@@ -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 "";
}