source: Dev/trunk/src/client/util/doh/tests/scopeTest.js @ 529

Last change on this file since 529 was 483, checked in by hendrikvanantwerpen, 11 years ago

Added Dojo 1.9.3 release.

File size: 706 bytes
Line 
1// to run this test and see it pass, try (note sandbox and async parameters)
2//       * path/to/dojotoolkit/util/doh/runner.html?test=doh/tests/scopeTest&sandbox&async
3//
4// to run this test and see it fail, try either of (note no sandbox parameter)
5//       * path/to/dojotoolkit/util/doh/runner.html?test=doh/tests/scopeTest
6//       * path/to/dojotoolkit/util/doh/runner.html?test=doh/tests/scopeTest&async
7
8define(["doh/runner"], function(doh) {
9        var global= this;
10        doh.register("scope", function(t){
11                t.is(global.dojo, undefined, "dojo global was defined");
12                t.isNot(global.dohDojo, undefined, "dohDojo global was not defined");
13                t.isNot(require("dohDojo"), undefined, "dohDojo module was not defined");
14        });
15});
Note: See TracBrowser for help on using the repository browser.