Remove chk, all must be $defined.

This commit is contained in:
Paulo Veiga
2011-07-28 13:06:15 -03:00
parent d4fefed545
commit 899bf85545
10 changed files with 49 additions and 49 deletions

View File

@@ -201,7 +201,7 @@ mindplot.TextEditor = new Class({
var textHeight = editor._currentNode.getTextShape().getHeight();
var iconGroup = editor._currentNode.getIconGroup();
var iconGroupSize;
if ($chk(iconGroup)) {
if ($defined(iconGroup)) {
iconGroupSize = editor._currentNode.getIconGroup().getSize();
}
else {