diff options
author | mensonge | 2008-11-14 15:39:19 +0000 |
---|---|---|
committer | mensonge | 2008-11-14 15:39:19 +0000 |
commit | 1c5685d68f1b73270fb814fe04cbb490eb90ba5f (patch) | |
tree | 3d3ada08a934b96fc31531f1327690d7edc6f766 /includes/js/dojo/tests/_base/_loader/addLoadEvents.html | |
parent | 104d59099e048688c4dbac37d72137006e396558 (diff) | |
download | scuttle-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/addLoadEvents.html')
-rw-r--r-- | includes/js/dojo/tests/_base/_loader/addLoadEvents.html | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/includes/js/dojo/tests/_base/_loader/addLoadEvents.html b/includes/js/dojo/tests/_base/_loader/addLoadEvents.html deleted file mode 100644 index 53e669f..0000000 --- a/includes/js/dojo/tests/_base/_loader/addLoadEvents.html +++ /dev/null @@ -1,37 +0,0 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" - "http://www.w3.org/TR/html4/strict.dtd"> -<html> - <head> - <title>Testing dojo.addOnLoad() and dojo.addOnUnload()</title> - <script type="text/javascript" - src="../../../dojo.js" djConfig="isDebug: true"></script> - <script type="text/javascript"> - dojo.addOnLoad(function(){ - console.debug("addOnLoad(func) works"); - }); - var scope = { - named: function(){ console.debug("addOnLoad(obj, name) works"); }, - refd: function(){ console.debug("addOnLoad(obj, func) works"); } - }; - dojo.addOnLoad(scope, "named"); - dojo.addOnLoad(scope, scope.refd); - // dojo.addOnLoad(scope, "named"); - // dojo.addOnLoad(scope, scope.refd); - - dojo.addOnUnload(function(){ - alert("addOnUnload works"); - }); - </script> - </head> - <body> - <h1>Testing dojo.addOnLoad() and dojo.addOnUnload()</h1> - - <p>This page has registers a function with dojo.addOnLoad() and dojo.addOnUnload.</p> - - <p><b>dojo.addOnLoad()</b>: You should see an alert with the page first loads ("addOnLoad works").</p> - - <p><b>dojo.addOnUnload()</b>: You should see an alert if the page is reloaded, or if you navigate to a - different web page ("addOnUnload works"). - </body> -</html> - |