aboutsummaryrefslogtreecommitdiff
path: root/includes/js/dojox/wire/tests/markup/DataStore.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/dojox/wire/tests/markup/DataStore.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/dojox/wire/tests/markup/DataStore.html')
-rw-r--r--includes/js/dojox/wire/tests/markup/DataStore.html66
1 files changed, 0 insertions, 66 deletions
diff --git a/includes/js/dojox/wire/tests/markup/DataStore.html b/includes/js/dojox/wire/tests/markup/DataStore.html
deleted file mode 100644
index 3c55f7e..0000000
--- a/includes/js/dojox/wire/tests/markup/DataStore.html
+++ /dev/null
@@ -1,66 +0,0 @@
-<html>
-<head>
-<title>Test DataStore</title>
-<script type="text/javascript" src="../../../../dojo/dojo.js" djConfig="isDebug: true, parseOnLoad: true"></script>
-<script type="text/javascript">
-dojo.provide("dojox.wire.ml.tests.markup.DataStore");
-
-dojo.require("dojo.parser");
-dojo.require("doh.runner");
-dojo.require("dojox.wire.ml.DataStore");
-dojo.require("dojox.wire.ml.Invocation");
-dojo.require("dojox.wire.ml.Transfer");
-
-dojox.wire.ml.tests.markup.DataStore = {
- request: {onComplete: function(){}, onError: function(){}}
-};
-
-dojo.addOnLoad(function(){
- doh.register("dojox.wire.ml.tests.markup.DataStore", [
-
- function test_DataStore_url(t){
- var d = new doh.Deferred();
- dojo.connect(dojox.wire.ml.tests.markup.DataStore.request, "onComplete", function(){
- t.assertEqual("X1", dojox.wire.ml.tests.markup.DataStore.target[0].a);
- t.assertEqual("Y2", dojox.wire.ml.tests.markup.DataStore.target[1].b);
- t.assertEqual("Z3", dojox.wire.ml.tests.markup.DataStore.target[2].c);
- d.callback(true);
- });
- dojo.connect(dojox.wire.ml.tests.markup.DataStore.request, "onError", function(error){
- d.errback(error);
- });
- dojo.publish("invokeFetch");
- return d;
- }
-
- ]);
- doh.run();
-});
-</script>
-</head>
-<body>
-<div dojoType="dojox.wire.ml.DataStore"
- id="DataStore1"
- storeClass="dojox.data.XmlStore"
- url="DataStore.xml"></div>
-<div dojoType="dojox.wire.ml.Invocation"
- triggerTopic="invokeFetch"
- object="DataStore1"
- method="fetch"
- parameters="dojox.wire.ml.tests.markup.DataStore.request">
-</div>
-<div dojoType="dojox.wire.ml.Transfer"
- trigger="dojox.wire.ml.tests.markup.DataStore.request"
- triggerEvent="onComplete"
- source="arguments[0]"
- sourceStore="DataStore1.store"
- target="dojox.wire.ml.tests.markup.DataStore.target">
- <div dojoType="dojox.wire.ml.ColumnWire"
- column="a" attribute="x"></div>
- <div dojoType="dojox.wire.ml.ColumnWire"
- column="b" attribute="y"></div>
- <div dojoType="dojox.wire.ml.ColumnWire"
- column="c" attribute="z"></div>
-</div>
-</body>
-</html>