r1467 - trunk/demos

r1467 - trunk/demos


Author: pazu2k@gmail.com
Date: Fri Jan 2 04:20:10 2009
New Revision: 1467
Modified:
trunk/demos/index.html
Log:
demos/index.html - mapped #widget to #widget|default.
Modified: trunk/demos/index.html
==============================================================================
--- trunk/demos/index.html    (original)
+++ trunk/demos/index.html    Fri Jan 2 04:20:10 2009
@@ -80,6 +80,9 @@
        });
        
        if (window.location.hash) {
+            if (window.location.hash.indexOf('|') === -1) {
+                window.location.hash += '|default';    
+            }            
            var path = window.location.href.replace('#','');
            path = path.replace('\|','/') + '.html';
            loadPage(path);