Added some Edge specific things, tidied the news layering, added a panel callback system for layered panels.
This commit is contained in:
parent
440e54e16d
commit
9f36c2b163
@ -11,7 +11,7 @@
|
|||||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// 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 PRECACHE = `jubileeData-${CACHE_VERSION.version}`;
|
||||||
const RUNTIME = 'runtime';
|
const RUNTIME = 'runtime';
|
||||||
|
|
||||||
|
@ -21,11 +21,14 @@ const { NearbyListModel, NearbyListView } = require('./NearbyList');
|
|||||||
const { NearbyPlacesView } = require('./NearbyPlaces');
|
const { NearbyPlacesView } = require('./NearbyPlaces');
|
||||||
var app = app || {};
|
var app = app || {};
|
||||||
|
|
||||||
const live = false;
|
const live = true;
|
||||||
|
|
||||||
if (live) {
|
if (live) {
|
||||||
window.loc = 'https://jubilee.silvrtree.co.uk';
|
const url = new URL(window.location.origin);
|
||||||
window.loc = 'http://localhost:8110';
|
console.log('url', url);
|
||||||
|
|
||||||
|
window.loc = url.origin;
|
||||||
|
|
||||||
if ('serviceWorker' in navigator) {
|
if ('serviceWorker' in navigator) {
|
||||||
//
|
//
|
||||||
navigator.serviceWorker.ready.then(function(reg) {
|
navigator.serviceWorker.ready.then(function(reg) {
|
||||||
|
Loading…
Reference in New Issue
Block a user