source:
Dev/trunk/src/client/dojox/xml/Script.js
Last change on this file was 483, checked in by hendrikvanantwerpen, 11 years ago | |
---|---|
File size: 363 bytes |
Rev | Line | |
---|---|---|
[483] | 1 | define([ |
2 | "dojo/_base/kernel", // dojo.getObject | |
3 | "dojo/_base/declare", | |
4 | "dojo/parser", | |
5 | "./widgetParser" | |
6 | ], function(declare, parser, widgetParser){ | |
7 | ||
8 | dojo.getObject("xml", true, dojox); | |
9 | ||
10 | declare("dojox.xml.Script", null, { | |
11 | constructor: function(props, node){ | |
12 | parser.instantiate( | |
13 | widgetParser._processScript(node) | |
14 | ); | |
15 | } | |
16 | }); | |
17 | ||
18 | return dojox.xml.Script; | |
19 | ||
20 | }); |
Note: See TracBrowser
for help on using the repository browser.