Add cache.manifest

This commit is contained in:
benweet 2013-03-31 15:11:07 +01:00
parent b798d04989
commit 5bb2966024
6 changed files with 9 additions and 9 deletions

1
cache.manifest Normal file
View File

@ -0,0 +1 @@
CACHE MANIFEST # 2013-03-31:v3 CACHE: index.html css/bootstrap.css css/jgrowl.css css/main.css js/async-runner.js js/base64.js js/bootstrap.js js/config.default.js js/gdrive.js js/jquery.jgrowl.js js/jquery.js js/jquery.layout.js js/jquery-ui.custom.js js/main.js js/Markdown.Converter.js js/Markdown.Editor.js js/Markdown.Sanitizer.js img/ajax-loader.gif img/gdrive.png img/glyphicons-halflings.png img/glyphicons-halflings-white.png img/stackedit-16.png img/stackedit-32.ico NETWORK: * FALLBACK: js/config.custo.js js/config.default.js

BIN
img/stackedit-32.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 766 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.3 KiB

View File

@ -1,15 +1,16 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html manifest="cache.manifest">
<head> <head>
<title>StackEdit</title> <title>StackEdit</title>
<link rel="icon" href="img/stackedit-64.ico" type="image/x-icon"> <link rel="icon" href="img/stackedit-32.ico" type="image/x-icon">
<link rel="shortcut icon" href="img/stackedit-64.ico" <link rel="shortcut icon" href="img/stackedit-32.ico"
type="image/x-icon"> type="image/x-icon">
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- Bootstrap --> <!-- Bootstrap -->
<link href="css/bootstrap.css" rel="stylesheet" media="screen"> <link href="css/bootstrap.css" rel="stylesheet" media="screen">
<link href="css/jgrowl.css" rel="stylesheet" media="screen"> <link href="css/jgrowl.css" rel="stylesheet" media="screen">
<link href="css/main.css" rel="stylesheet" media="screen"> <link href="css/main.css" rel="stylesheet" media="screen">
<script type="text/javascript" src="js/config.custo.js"></script>
<script type="text/javascript" src="js/base64.js"></script> <script type="text/javascript" src="js/base64.js"></script>
<script type="text/javascript" src="js/jquery.js"></script> <script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/jquery.jgrowl.js"></script> <script type="text/javascript" src="js/jquery.jgrowl.js"></script>
@ -22,7 +23,6 @@
<script type="text/javascript" src="js/main.js"></script> <script type="text/javascript" src="js/main.js"></script>
<script type="text/javascript" src="js/async-runner.js"></script> <script type="text/javascript" src="js/async-runner.js"></script>
<script type="text/javascript" src="js/gdrive.js"></script> <script type="text/javascript" src="js/gdrive.js"></script>
<script type="text/javascript" src="js/custo.js"></script>
<script> <script>
(function(i, s, o, g, r, a, m) { (function(i, s, o, g, r, a, m) {
i['GoogleAnalyticsObject'] = r; i['GoogleAnalyticsObject'] = r;
@ -122,14 +122,14 @@
</div> </div>
<div class="modal-body"> <div class="modal-body">
<div id="manage-sync-list"> <div id="manage-sync-list">
<p class="msg-sync-list hide">The file "<span class="file-title"></span>" <p class="msg-sync-list hide">"<span class="file-title"></span>"
is synchronized with these locations: is synchronized with these locations:
</p> </p>
</div> </div>
<br class="msg-sync-list hide" /> <br class="msg-sync-list hide" />
<p class="msg-sync-list hide muted"><b>NOTE:</b> Removing a <p class="msg-sync-list hide muted"><b>NOTE:</b> Removing a
synchronized location will not delete any file.</p> synchronized location will not delete any file.</p>
<p class="msg-no-sync hide">The file "<span class="file-title"></span>" <p class="msg-no-sync hide">"<span class="file-title"></span>"
is not synchronized. is not synchronized.
</p> </p>
<p class="msg-no-sync hide muted"><b>NOTE:</b> You can add <p class="msg-no-sync hide muted"><b>NOTE:</b> You can add

View File

@ -868,7 +868,7 @@
var text = panels.input.value; var text = panels.input.value;
if (text && text == oldInputText) { if (text !== undefined && text == oldInputText) {
return; // Input text hasn't changed. return; // Input text hasn't changed.
} }
else { else {

View File

@ -1,4 +1,3 @@
var CLIENT_ID = '241271498917-jpto9lls9fqnem1e4h6ppds9uob8rpvu.apps.googleusercontent.com';
var SCOPES = [ 'https://www.googleapis.com/auth/drive.install', var SCOPES = [ 'https://www.googleapis.com/auth/drive.install',
'https://www.googleapis.com/auth/drive.file' ]; 'https://www.googleapis.com/auth/drive.file' ];
@ -69,7 +68,7 @@ var gdrive = (function($) {
asyncTask.success(); asyncTask.success();
return; return;
} }
gapi.auth.authorize({ 'client_id' : CLIENT_ID, 'scope' : SCOPES, gapi.auth.authorize({ 'client_id' : GOOGLE_CLIENT_ID, 'scope' : SCOPES,
'immediate' : immediate }, function(authResult) { 'immediate' : immediate }, function(authResult) {
if (!authResult || authResult.error) { if (!authResult || authResult.error) {
asyncTask.error(); asyncTask.error();