Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save michaelee/393016 to your computer and use it in GitHub Desktop.
Save michaelee/393016 to your computer and use it in GitHub Desktop.
#
# js-scheme-0.4 is here: http://code.google.com/p/js-scheme/
#
diff -urN js-scheme-0.4.orig/.htaccess js-scheme-0.4-offline/.htaccess
--- js-scheme-0.4.orig/.htaccess 1970-01-01 09:00:00.000000000 +0900
+++ js-scheme-0.4-offline/.htaccess 2010-04-25 17:10:52.000000000 +0900
@@ -0,0 +1 @@
+AddType text/cache-manifest .manifest
diff -urN js-scheme-0.4.orig/cache.manifest js-scheme-0.4-offline/cache.manifest
--- js-scheme-0.4.orig/cache.manifest 1970-01-01 09:00:00.000000000 +0900
+++ js-scheme-0.4-offline/cache.manifest 2010-04-25 17:11:35.000000000 +0900
@@ -0,0 +1,10 @@
+CACHE MANIFEST
+
+# Version: 2010042501638
+
+CACHE:
+
+index.html
+js-scheme.css
+js-scheme.js
+prototype.js
diff -urN js-scheme-0.4.orig/index.html js-scheme-0.4-offline/index.html
--- js-scheme-0.4.orig/index.html 2008-10-04 11:07:48.000000000 +0900
+++ js-scheme-0.4-offline/index.html 2010-04-25 17:14:34.000000000 +0900
@@ -1,14 +1,18 @@
-<html>
+<!DOCTYPE HTML>
+<html manifest="cache.manifest">
<head>
<title>js-scheme - a Scheme interpreter written in JavaScript</title>
- <link rel="stylesheet" type="text/css" href="js-scheme.css?r=2" />
+ <link rel="stylesheet" href="js-scheme.css" media="screen">
+ <meta charset="UTF-8">
+
<script type="text/javascript" src="prototype.js"></script>
- <script type="text/javascript" src="js-scheme.js?r=35"></script>
- <script type="text/javascript" src="libs/last.fm/last.fm.js?r=1"></script>
- <script type="text/javascript" src="libs/flot/jquery.js"></script>
- <script type="text/javascript" src="libs/flot/jquery.flot.pack.js"></script>
- <script type="text/javascript" src="libs/flot/flot.js"></script>
- </head>
+ <script type="text/javascript" src="js-scheme.js"></script>
+ <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=no">
+ <meta name="format-detection" content="telephone=no">
+ <meta name="apple-mobile-web-app-capable" content="yes">
+ <meta name="apple-mobile-web-app-status-bar-style" content="black">
+ <link rel="start" href="./" title="home">
+</head>
<body>
<div id="console">
<h1><strong>JS-SCHEME</strong> -
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment