From 7f82c6762ad7ae49ab607f0e3128ccbefabd7741 Mon Sep 17 00:00:00 2001 From: Javier Abadia Date: Sun, 23 Feb 2014 23:12:02 +0100 Subject: [PATCH 1/2] this path needs to be relative --- samples/military-offline.html | 2 +- samples/tiles-indexed-db.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/samples/military-offline.html b/samples/military-offline.html index c204c7d..e5600b1 100644 --- a/samples/military-offline.html +++ b/samples/military-offline.html @@ -141,7 +141,7 @@ checks: { image: { url: function() { - return 'http://web.local/offline-editor-js/tiny-image.png?_=' + (Math.floor(Math.random() * 1000000000)); + return '../tiny-image.png?_=' + (Math.floor(Math.random() * 1000000000)); } }, active: 'image' diff --git a/samples/tiles-indexed-db.html b/samples/tiles-indexed-db.html index 8046efd..a6c663d 100644 --- a/samples/tiles-indexed-db.html +++ b/samples/tiles-indexed-db.html @@ -279,7 +279,7 @@ require([ checks: { image: { url: function() { - return 'http://web.local/offline-editor-js/tiny-image.png?_=' + (Math.floor(Math.random() * 1000000000)); + return '../tiny-image.png?_=' + (Math.floor(Math.random() * 1000000000)); } }, active: 'image' From fd163e064d149cc8c6a4044e42b74f0becf70f09 Mon Sep 17 00:00:00 2001 From: Javier Abadia Date: Sun, 23 Feb 2014 23:50:24 +0100 Subject: [PATCH 2/2] upgrade submodule offline to v0.6.0 --- vendor/offline | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vendor/offline b/vendor/offline index c123ab2..8761b56 160000 --- a/vendor/offline +++ b/vendor/offline @@ -1 +1 @@ -Subproject commit c123ab2be3baa1079c2dcce7b552af30ef402bb8 +Subproject commit 8761b56e5bbbbec5f63ccfd67fca445e2885edd2