return the result of declare directly and avoid dependency on dojox package and the call to getObject  refs #12863
return the result of declare directly and avoid dependency on dojox package and the call to getObject  refs #12863

git-svn-id: ee6e786acc44c9cca5ee17c71a5576c45c210361@25974 560b804f-0ae3-0310-86f3-f6aa0a117693

redaktor/deliteful