source:
Dev/trunk/src/client/dojo/tests/resources/AMDWidget2.js
Last change on this file was 483, checked in by hendrikvanantwerpen, 11 years ago | |
---|---|
File size: 212 bytes |
Rev | Line | |
---|---|---|
[483] | 1 | define(["dojo/_base/declare"], function(declare){ |
2 | ||
3 | return declare(null, { | |
4 | constructor: function(args, node){ | |
5 | this.params = args; | |
6 | }, | |
7 | ||
8 | method1: function(value){ | |
9 | value++; | |
10 | return value; | |
11 | } | |
12 | }); | |
13 | ||
14 | }); |
Note: See TracBrowser
for help on using the repository browser.