fix meta for new load regime
This commit is contained in:
parent
490cdcbce4
commit
4caa258eab
2 changed files with 12 additions and 12 deletions
18
js/meta.js
18
js/meta.js
|
|
@ -240,13 +240,6 @@ THREE.Face3.prototype.mVisible = function(show) {
|
|||
* LETS_GET_THIS_PARTY_STARTED()
|
||||
******************************************************************* */
|
||||
|
||||
if (MOTO.KV.__mem__) alert(
|
||||
"browser is blocking local storage or\n"+
|
||||
"3rd party cookies required to store\n" +
|
||||
"application state.");
|
||||
|
||||
SPACE.addEventListener(DOC, 'DOMContentLoaded', metaInit, false);
|
||||
|
||||
function metaInit() {
|
||||
SPACE.showSkyGrid(false);
|
||||
SPACE.setSkyColor(0xf8f8f8);
|
||||
|
|
@ -2122,4 +2115,15 @@ THREE.Face3.prototype.mVisible = function(show) {
|
|||
}
|
||||
}
|
||||
|
||||
if (MOTO.KV.__mem__) alert(
|
||||
"browser is blocking local storage or\n"+
|
||||
"3rd party cookies required to store\n" +
|
||||
"application state.");
|
||||
|
||||
if (DOC.readyState === 'loading') {
|
||||
SPACE.addEventListener(DOC, 'DOMContentLoaded', metaInit, false);
|
||||
} else {
|
||||
metaInit();
|
||||
}
|
||||
|
||||
})();
|
||||
|
|
|
|||
|
|
@ -13,13 +13,9 @@
|
|||
<link rel="stylesheet" type="text/css" href="/moto/style.css">
|
||||
<link rel="stylesheet" type="text/css" href="/meta/style.css">
|
||||
<script src="/js/ext-three.js"></script>
|
||||
<script src="/code/meta.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script>
|
||||
/* because TWEEN complains */
|
||||
module = {};
|
||||
</script>
|
||||
<!--{meta}-->
|
||||
<div id="control-left"><div id="assets"><div class="title"><a href="/"><span>grid</span>:<span>space</span></a></div></div></div>
|
||||
<div id="control-right"><div id="control"><div class="title"><a href="/meta/"><span>meta</span>:<span>moto</span></a></div></div></div>
|
||||
<div id="container"></div>
|
||||
|
|
|
|||
Loading…
Reference in a new issue