Permalink
Browse files

Don't include the game in the standard build

  • Loading branch information...
1 parent b66d9b3 commit 065a99475b0c4456c6ef10162cd93e5eba656c9b @zackbloom zackbloom committed Oct 25, 2013
Showing with 8 additions and 6 deletions.
  1. +1 −1 Gruntfile.coffee
  2. +2 −0 README.md
  3. +2 −2 offline.min.js
  4. +1 −1 package.json
  5. +2 −2 test/index.html
View
@@ -26,7 +26,7 @@ module.exports = (grunt) ->
banner: "/*! <%= pkg.name %> <%= pkg.version %> */\n"
dist:
- src: ['js/*']
+ src: ['js/*', '!js/snake.js']
dest: 'offline.min.js'
compass:
View
@@ -44,6 +44,8 @@ Options (any can be provided as a function), with their defaults:
requests: true
// Should we show a snake game while the connection is down to keep the user entertained?
+ // It's not included in the normal build, you should bring in js/snake.js in addition to
+ // offline.min.js.
game: false
}
```
View

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
View
@@ -1,6 +1,6 @@
{
"name": "offline",
- "version": "0.4.0",
+ "version": "0.4.1",
"description": "",
"authors": [
"Adam Schwartz <aschwartz@hubspot.com>",
View
@@ -1,5 +1,5 @@
<head>
-<script src="./offline.min.js"></script>
+<script src="../offline.min.js"></script>
<!--
Themes:
@@ -12,7 +12,7 @@
<link rel="stylesheet" href="./themes/offline-theme-hubspot.css" />
-->
-<link rel="stylesheet" href="./themes/offline-theme-chrome.css" />
+<link rel="stylesheet" href="../themes/offline-theme-chrome.css" />
<script>
var run = function(){

0 comments on commit 065a994

Please sign in to comment.