dojo.exists calls are not handled. In the trivial case, dojo.exists('foo', obj) can probably be converted to something like obj.foo != null (this might even be oversimplified given some of the magic used by dojo.exists). For more complex cases like dojo.exists('foo.bar', obj) or dojo.exists('global.foo') we probably need to just call lang.exists rather than unravel some of the magic.
dojo.exists
calls are not handled. In the trivial case,dojo.exists('foo', obj)
can probably be converted to something likeobj.foo != null
(this might even be oversimplified given some of the magic used by dojo.exists). For more complex cases likedojo.exists('foo.bar', obj)
ordojo.exists('global.foo')
we probably need to just calllang.exists
rather than unravel some of the magic.