mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-28 19:08:50 +00:00
Fix for missing debug variable
This commit is contained in:
1 parent
abbbc6e8f0
commit
fabd1df4dd
1 file changed
+5
-2
@@ -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 "";
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user