Added some Edge specific things, tidied the news layering, added a panel callback system for layered panels.

This commit is contained in:
Martin Donnelly 2018-08-27 00:58:52 +01:00
parent 440e54e16d
commit 9f36c2b163
2 changed files with 7 additions and 4 deletions

View File

@ -11,7 +11,7 @@
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
const CACHE_VERSION = { 'version': '0.0.785' };
const CACHE_VERSION = { 'version': '0.0.787' };
const PRECACHE = `jubileeData-${CACHE_VERSION.version}`;
const RUNTIME = 'runtime';

View File

@ -21,11 +21,14 @@ const { NearbyListModel, NearbyListView } = require('./NearbyList');
const { NearbyPlacesView } = require('./NearbyPlaces');
var app = app || {};
const live = false;
const live = true;
if (live) {
window.loc = 'https://jubilee.silvrtree.co.uk';
window.loc = 'http://localhost:8110';
const url = new URL(window.location.origin);
console.log('url', url);
window.loc = url.origin;
if ('serviceWorker' in navigator) {
//
navigator.serviceWorker.ready.then(function(reg) {