public
Description: DBScriptCache automatically caches script files in the browser's HTML5 client-side database.
Homepage:
Clone URL: git://github.com/3n/db-script-cache.git
db-script-cache / index.html
100644 24 lines (19 sloc) 0.836 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
 
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  <head>
   <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
   <title>SCRIIIIP</title>
  </head>
  
  <body>
    This should be replaced by the Javascript in scriiip.js - if you see this something has gone horribly wrong. Run for your life.
  </body>
  
  <script type="text/javascript" src="db_script_cache.js">
    window.script_cache = window.script_cache || new ScriptCache();
    window.script_cache.includes([
      ['mootools-1.2.1-core.js','1.1'],
      // ['http://ajax.googleapis.com/ajax/libs/mootools/1.2.3/mootools-yui-compressed.js','1.1'],
      ['scriiip.js' ,'1.1']
    ]);
  </script>
  
</html>