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

@@ -25,15 +25,15 @@ web2d.peer.svg.Font = function()
web2d.peer.svg.Font.prototype.init = function(args)
{
if (core.Utils.isDefined(args.size))
if ($defined(args.size))
{
this._size = parseInt(args.size);
}
if (core.Utils.isDefined(args.style))
if ($defined(args.style))
{
this._style = args.style;
}
if (core.Utils.isDefined(args.weight))
if ($defined(args.weight))
{
this._weight = args.weight;
}