Permalink
Browse files

Merge pull request #165 from nickdesaulniers/develop

Added appCache to Developer Preview App Dashboard
  • Loading branch information...
2 parents d5e0046 + 8a526f6 commit 13e5a82ce35169f162fd71cba92458e73e72b928 @anantn anantn committed Jun 21, 2012
View
@@ -0,0 +1,21 @@
+CACHE MANIFEST
+
+# Cache Manifest Version: 0.0.1
+
+CACHE:
+icongrid/icongrid.css
+css/jibe.css
+jquery-1.4.2.min.js
+icongrid/base32.js
+icongrid/icongrid.js
+js/jibe.js
+
+# External assets can be cached, but we have to manually bump the cache
+# manifest's version, or users with stale cache's will never see the updated
+# assets
+https://myapps.mozillalabs.com/jsapi/include.js
+https://browserid.org/include.js
+
+NETWORK:
+cache.manifest
+*
View
@@ -1,5 +1,19 @@
@charset "UTF-8";
+@font-face {
+ font-family: 'Marvel';
+ font-style: normal;
+ font-weight: 700;
+ src: local('Marvel Bold'), local('Marvel-Bold'), url('../fonts/marvel_bold.woff') format('woff');
+}
+
+@font-face {
+ font-family: 'Marvel';
+ font-style: normal;
+ font-weight: 400;
+ src: local('Marvel'), local('Marvel-Regular'), url('../fonts/marvel.woff') format('woff');
+}
+
body {
font-family: 'Marvel', sans-serif;
margin-left: auto;
View
Binary file not shown.
View
Binary file not shown.
View
@@ -2,13 +2,12 @@
<!--[if lt IE 7]> <html lang="en-us" class="no-js ie6"> <![endif]-->
<!--[if IE 7]> <html lang="en-us" class="no-js ie7"> <![endif]-->
<!--[if IE 8]> <html lang="en-us" class="no-js ie8"> <![endif]-->
-<!--[if gt IE 8]><!--> <html lang="en-us" class="no-js"> <!--<![endif]-->
+<!--[if gt IE 8]><!--> <html lang="en-us" class="no-js" manifest="cache.manifest"> <!--<![endif]-->
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=Edge;chrome=1" >
<title dir="ltr">Developer Preview Apps Dashboard</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
- <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Marvel:400,700" type="text/css">
<link rel="stylesheet" media="screen" href="icongrid/icongrid.css" >
<link rel="stylesheet" media="screen" href="css/jibe.css" >

6 comments on commit 13e5a82

@fabricedesre

Note: you should not put the cache.manifest in the manifest. It is automatically cached by the platform.

@ianb
Owner
ianb replied Jun 22, 2012

This isn't the most active code anymore.

This is the code for the dashboard on persona.org:

https://github.com/mozilla/persona.org/blob/master/views/apps.jade

@nickdesaulniers
Collaborator

@fabricedesre I guess it's optional to list the cache.manifest in the Network section, but I want it explicitly stated there, so it doesn't get put in Cache section, which would do horrible bad things.

@fabricedesre

Why do you want it here?

@nickdesaulniers
Collaborator

So that it's obvious that it's not to be cached, but to be requested every time the page loads.

@ianb
Owner
ianb replied Jun 22, 2012

No ETA at this point on persona.org/apps so we'll move forward here

Please sign in to comment.