1
2
3
4
5
6
7
8
9
10
11
12
| define(['dojo/_base/declare', 'dojo/_base/lang', 'dojo/_base/array', 'dojo/_base/html', 'dojo/topic', 'dojo/Deferred', 'dojo/on'], function (declare, lang, array, html, topic, Deferred, on) {
| var clazz;
| clazz = declare("test.ClassX", null, {
| messageX: null,
| constructor: function (msgX) {
| this.messageX = msgX;
| },
| sayMessageX: function () {
| alert("hi, this is " + this.messageX);
| }
| });
| });
|
|