| 1 | define([ |
| 2 | "dojo/_base/declare", |
| 3 | "dojox/mobile/dh/UrlDataSource" |
| 4 | ], function(declare, UrlDataSource){ |
| 5 | |
| 6 | return declare("dojox.mobile.tests.doh.MyDataSource", UrlDataSource, { |
| 7 | constructor: function(){ |
| 8 | console.log("This is MyDataSource"); |
| 9 | window._MyDataSourceFlag = true; |
| 10 | this.inherited(arguments); |
| 11 | } |
| 12 | }); |
| 13 | }); |