Replace core.Utils.isDefined for $defined.

This commit is contained in:
Paulo Veiga
2011-07-27 13:44:09 -03:00
parent f60755fd8e
commit 0b67b42045
66 changed files with 406 additions and 401 deletions

View File

@@ -46,12 +46,12 @@ web2d.peer.svg.WorkspacePeer.prototype.setCoordSize = function(width, height)
{
coords = viewBox.split(/ /);
}
if (core.Utils.isDefined(width))
if ($defined(width))
{
coords[2] = width;
}
if (core.Utils.isDefined(height))
if ($defined(height))
{
coords[3] = height;
}
@@ -83,12 +83,12 @@ web2d.peer.svg.WorkspacePeer.prototype.setCoordOrigin = function(x, y)
coords = viewBox.split(/ /);
}
if (core.Utils.isDefined(x))
if ($defined(x))
{
coords[0] = x;
}
if (core.Utils.isDefined(y))
if ($defined(y))
{
coords[1] = y;
}