aboutsummaryrefslogtreecommitdiff
path: root/includes/js/dijit/tests/Container.html
diff options
context:
space:
mode:
authormensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f>2008-11-14 15:39:19 +0000
committermensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f>2008-11-14 15:39:19 +0000
commit1c5685d68f1b73270fb814fe04cbb490eb90ba5f (patch)
tree3d3ada08a934b96fc31531f1327690d7edc6f766 /includes/js/dijit/tests/Container.html
parent104d59099e048688c4dbac37d72137006e396558 (diff)
downloadsemanticscuttle-1c5685d68f1b73270fb814fe04cbb490eb90ba5f.tar.gz
semanticscuttle-1c5685d68f1b73270fb814fe04cbb490eb90ba5f.tar.bz2
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/dijit/tests/Container.html')
-rw-r--r--includes/js/dijit/tests/Container.html63
1 files changed, 0 insertions, 63 deletions
diff --git a/includes/js/dijit/tests/Container.html b/includes/js/dijit/tests/Container.html
deleted file mode 100644
index 64dd5d4..0000000
--- a/includes/js/dijit/tests/Container.html
+++ /dev/null
@@ -1,63 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
- "http://www.w3.org/TR/html4/strict.dtd">
-<html>
-<head>
-
- <title>Container</title>
-
- <script type="text/javascript" src="../../dojo/dojo.js" djConfig="isDebug: true, parseOnLoad: true"></script>
- <script type="text/javascript">
- dojo.require("doh.runner");
- dojo.require("dijit._Widget");
- dojo.require("dijit._Container");
-
- dojo.declare("dijit.TestContainer",
- [dijit._Widget, dijit._Container], { }
- );
-
- dojo.require("dojo.parser");
-
- dojo.addOnLoad(function(){
- doh.register("t",
- [
- {
- name: "getChildren",
- runTest: function(t){
- var c = dijit.byId("container");
- var children = c.getChildren();
- t.is(3, children.length);
- t.is("zero", children[0].id);
- t.is("one", children[1].id);
- t.is("two", children[2].id);
- }
- },
- {
- name: "_getSiblingOfChild",
- runTest: function(t){
- var c = dijit.byId("container");
- var children = c.getChildren();
- t.is("one", c._getSiblingOfChild(children[0], 1).id);
- t.is("two", c._getSiblingOfChild(children[1], 1).id);
- t.is(null, c._getSiblingOfChild(children[2], 1));
- t.is(null, c._getSiblingOfChild(children[0], -1));
- t.is("zero", c._getSiblingOfChild(children[1], -1).id);
- t.is("one", c._getSiblingOfChild(children[2], -1).id);
- }
- }
- ]
- );
- doh.run();
- });
-
- </script>
-</head>
-<body class="tundra">
-
- <div id="container" dojoType="dijit.TestContainer">
- <div id="zero" dojoType="dijit._Widget"></div>
- <div id="one" dojoType="dijit._Widget"></div>
- <div id="two" dojoType="dijit._Widget"></div>
- </div>
-
-</body>
-</html>