You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
363 B
20 lines
363 B
define([ |
|
"dojo/_base/kernel", // dojo.getObject |
|
"dojo/_base/declare", |
|
"dojo/parser", |
|
"./widgetParser" |
|
], function(declare, parser, widgetParser){ |
|
|
|
dojo.getObject("xml", true, dojox); |
|
|
|
declare("dojox.xml.Script", null, { |
|
constructor: function(props, node){ |
|
parser.instantiate( |
|
widgetParser._processScript(node) |
|
); |
|
} |
|
}); |
|
|
|
return dojox.xml.Script; |
|
|
|
});
|
|
|