summaryrefslogtreecommitdiffstatshomepage
path: root/includes/js/dojo/tests/_base/_loader/scope/scopeSingle.html
diff options
context:
space:
mode:
authorGravatar mensonge2008-11-14 15:39:19 +0000
committerGravatar mensonge2008-11-14 15:39:19 +0000
commit1c5685d68f1b73270fb814fe04cbb490eb90ba5f (patch)
tree3d3ada08a934b96fc31531f1327690d7edc6f766 /includes/js/dojo/tests/_base/_loader/scope/scopeSingle.html
parent104d59099e048688c4dbac37d72137006e396558 (diff)
downloadscuttle-1c5685d68f1b73270fb814fe04cbb490eb90ba5f.tar.gz
scuttle-1c5685d68f1b73270fb814fe04cbb490eb90ba5f.zip
Minor fix: Remove DOJO library (60Mo) replaced by link to Google CDN (online DOJO library)
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@159 b3834d28-1941-0410-a4f8-b48e95affb8f
Diffstat (limited to 'includes/js/dojo/tests/_base/_loader/scope/scopeSingle.html')
-rw-r--r--includes/js/dojo/tests/_base/_loader/scope/scopeSingle.html62
1 files changed, 0 insertions, 62 deletions
diff --git a/includes/js/dojo/tests/_base/_loader/scope/scopeSingle.html b/includes/js/dojo/tests/_base/_loader/scope/scopeSingle.html
deleted file mode 100644
index 759fcbe..0000000
--- a/includes/js/dojo/tests/_base/_loader/scope/scopeSingle.html
+++ /dev/null
@@ -1,62 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
- "http://www.w3.org/TR/html4/strict.dtd">
-<html>
- <head>
- <title>Using scope names inside dojo.require/dojoType</title>
-
- <link rel="stylesheet" type="text/css" href="../../../../resources/dojo.css" />
- <link rel="stylesheet" type="text/css" href="../../../../../dijit/css/dijitTests.css" />
- <link rel="stylesheet" type="text/css" href="../../../../../dijit/themes/tundra/tundra.css" />
-
- <script type="text/javascript">
- //djConfig for 0.4.3 setup.
- djConfig = {
- isDebug: true,
- parseOnLoad: true,
- baseUrl: "../../../../",
- scopeMap: [
- ["dojo", "jodo"],
- ["dijit", "jidit"],
- ["dojox", "jodox"]
- ]
- };
- </script>
-
- <script type="text/javascript" src="../../../../dojo.js"></script>
- <script type="text/javascript">
-
- //Notice that dijit._Calendar is required, not jidit._Calendar.
- //Same for the dojo resources (not jodo resources).
- jodo.require("dijit._Calendar");
- jodo.require("dojo.date.locale");
- jodo.require("dojo.parser"); // scan page for widgets
-
- jodo.addOnLoad(function(){
- jodo.byId("output10").innerHTML = jodo.version.toString();
- });
-
- function myHandler(id,newValue){
- console.debug("onChange for id = " + id + ", value: " + newValue);
- }
- function foobar(){
- jodo.byId("typeOut").innerHTML = "typeof dojo: " + (typeof dojo) + "<br>typeof dijit: " + (typeof dijit) + "<br>typeof dojox: " + (typeof dojox);
- }
- setTimeout(foobar, 2000);
- </script>
- </head>
- <body>
- <h1>Using scope names inside dojo.require/dojoType</h1>
-
- <p><b>NOTE: This test only works with a built version of Dojo.</b></p>
-
- <p>Jodo version: <span id="output10"></span></p>
-
- <p><b>typeof dojo, dijit and dojox should be undefined</b>: <br><span id="typeOut"></span></p>
-
- <p class="tundra">
- <input id="calendar1" jodoType="jidit._Calendar" onChange="myHandler(this.id,arguments[0])">
- </p>
-
- </body>
-</html>
-