summaryrefslogtreecommitdiff
path: root/includes/js/dojox/help/demos
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/help/demos
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/help/demos')
-rw-r--r--includes/js/dojox/help/demos/demo_Console.html33
1 files changed, 0 insertions, 33 deletions
diff --git a/includes/js/dojox/help/demos/demo_Console.html b/includes/js/dojox/help/demos/demo_Console.html
deleted file mode 100644
index 564bb08..0000000
--- a/includes/js/dojox/help/demos/demo_Console.html
+++ /dev/null
@@ -1,33 +0,0 @@
-<html>
- <head>
- <title>Simple demo of dojox.help.console</title>
- <script src="../../../dojo/dojo.js" type="text/javascript" djConfig="isDebug: true"></script>
- <script type="text/javascript">
- dojo.addOnLoad(function(){
- dojo.query("code").onclick(function(e){
- var cmd = e.target.innerHTML;
- if(cmd.slice(-1) == ";"){
- dojo.eval(cmd);
- }else{
- console.log(dojo.getObject(cmd));
- }
- });
- });
- </script>
- </head>
- <body>
- <p>You'll want to open up Firebug for this</p>
- <p>Click each of the items below to run the command:
- <ul>
- <li><code>dojo.require("dojox.help.console");</code></li>
- <li><code>dojox.help.locate("xhr", dojo);</code> searches variable names in the dojo namespaces for "xhr".</li>
- <li><code>dojo.query.help();</code> displays help for dojo.byId</li>
- <li><code>dojo.connect</code> loads and displays the function signature for dojo.connect</li>
- <li><code>dojo.isBrowser</code> shows an example of a "conflict". It's using the Boolean object rather than the boolean generic.</li>
- <li><code>dojox.help.noConflict();</code> fixes this conflict (click on <code>dojo.isBrowser</code> again).</li>
- <li><code>dojox.help.refresh();</code> parses the page again</code></li>
- <li><code>dojo.isBrowser</code> and the conflict is back again!</li>
- </ul>
- </p>
- </body>
-</html> \ No newline at end of file