diff options
author | mensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f> | 2008-11-14 15:39:19 +0000 |
---|---|---|
committer | mensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f> | 2008-11-14 15:39:19 +0000 |
commit | 1c5685d68f1b73270fb814fe04cbb490eb90ba5f (patch) | |
tree | 3d3ada08a934b96fc31531f1327690d7edc6f766 /includes/js/dojox/wire/tests/markup/Invocation.html | |
parent | 104d59099e048688c4dbac37d72137006e396558 (diff) | |
download | semanticscuttle-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/Invocation.html')
-rw-r--r-- | includes/js/dojox/wire/tests/markup/Invocation.html | 53 |
1 files changed, 0 insertions, 53 deletions
diff --git a/includes/js/dojox/wire/tests/markup/Invocation.html b/includes/js/dojox/wire/tests/markup/Invocation.html deleted file mode 100644 index dd6f6e4..0000000 --- a/includes/js/dojox/wire/tests/markup/Invocation.html +++ /dev/null @@ -1,53 +0,0 @@ -<html> -<head> -<title>Test Invocation</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.Invocation"); - -dojo.require("dojo.parser"); -dojo.require("doh.runner"); -dojo.require("dojox.wire.ml.Invocation"); - -dojox.wire.ml.tests.markup.Invocation = { - invoke: function(p1, p2){return p1 + p2;}, - invokeError: function(p){throw new Error(p);}, - parameters: {a: "A", b: "B", c: "C"} -}; - -dojo.addOnLoad(function(){ - doh.register("dojox.wire.ml.tests.markup.Invocation", [ - - function test_Invocation_method(t){ - dojo.publish("invokeMethod"); - t.assertEqual("AB", dojox.wire.ml.tests.markup.Invocation.result); - }, - - function test_Invocation_topic(t){ - dojo.publish("invokeTopic"); - t.assertEqual("C", dojox.wire.ml.tests.markup.Invocation.error); - } - - ]); - doh.run(); -}); -</script> -</head> -<body> -<div dojoType="dojox.wire.ml.Invocation" - triggerTopic="invokeMethod" - object="dojox.wire.ml.tests.markup.Invocation" - method="invoke" - parameters="dojox.wire.ml.tests.markup.Invocation.parameters.a,dojox.wire.ml.tests.markup.Invocation.parameters.b" - result="dojox.wire.ml.tests.markup.Invocation.result"></div> -<div dojoType="dojox.wire.ml.Invocation" - triggerTopic="invokeTopic" - topic="invokeError" - parameters="dojox.wire.ml.tests.markup.Invocation.parameters.c"></div> -<div dojoType="dojox.wire.ml.Invocation" - triggerTopic="invokeError" - object="dojox.wire.ml.tests.markup.Invocation" - method="invokeError" - error="dojox.wire.ml.tests.markup.Invocation.error"></div> -</body> -</html> |