- venkman only -
strict mode fixes git-svn-id: svn://10.0.0.236/trunk@102359 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -99,7 +99,7 @@ function formatBranch (rec, indent)
|
||||
for (var i = 0; i < rec.childData.length; ++i)
|
||||
{
|
||||
formatRecord (rec.childData[i], indent);
|
||||
if (rec.childData[i].childData)
|
||||
if ("childData" in rec.childData[i])
|
||||
formatBranch(rec.childData[i], indent + " ");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
<script>
|
||||
<![CDATA[
|
||||
dd = function (msg) { dump("-*- tree: " + msg + "\n"); }
|
||||
ASSERT = function (expr, msg) {
|
||||
var ASSERT = function (expr, msg) {
|
||||
if (!expr)
|
||||
dd ("** ASSERTION FAILED: " + msg + " **\n" + getStackTrace());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user