Subversion Repositories JSX

Compare Revisions

Last modification

Ignore whitespace Rev 629 → Rev 628

/trunk/object.js
148,7 → 148,6
// return eval(code);
var t = typeof statements;
var result;
/*jshint -W061*/
try
{
result = (t == "function" ? statements() : eval(statements));
166,7 → 165,6
result = (t == "function" ? finalizer() : eval(finalizer));
}
}
/*jshint +W061*/
 
return result;
};
344,13 → 342,11
* <code>true</code> if all arguments refer to methods,
* <code>false</code> otherwise.
*/
/*jshint -W098*/
function _isNativeMethod (obj, prop)
{
/* NOTE: Thread-safe, argument-safe code reuse -- `this' is our ID */
return _isMethod.apply(_isNativeMethod, arguments);
}
/*jshint +W098*/
 
/**
* Determines if an object has a (non-inherited) property.
1953,9 → 1949,7
: '(' + (message || '') + ')'))
+ ';';
 
/*jshint -W061*/
eval(throwStmt);
/*jshint +W061*/
};
}());
 
1964,13 → 1958,9
*
* @param {Error} exception
*/
/*jshint -W098*/
jsx.rethrowThis = function (exception) {
/*jshint -W061*/
eval("throw exception");
/*jshint +W061*/
};
/*jshint +W098*/
 
jsx.object.extend(jsx, {
/**
3258,9 → 3248,7
a[i] = "argArray[" + i + "]";
}
 
/*jshint -W061*/
eval("o[p](" + a + ")");
/*jshint +W061*/
 
delete o[p];
}
3298,9 → 3286,7
if (p)
{
o[p] = this;
/*jshint -W061*/
eval("o[p](" + a + ")");
/*jshint +W061*/
delete o[p];
o = null;
}
3429,9 → 3415,7
a[i] = "argArray[" + i + "]";
}
 
/*jshint -W061*/
return eval("new this(" + a + ")");
/*jshint +W061*/
}
}, jsx.object.ADD_OVERWRITE);
}