Debian Codegraph @

util/doh/tests/scopeTest.js

raw symbols SCIP
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
8 define(["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 });