Made pad2 server more generic and easy to implement
This commit is contained in:
1 parent
e04c0b89a1
commit
ad9f2ff223
6 files changed
+46
-25
No files matched your search
@@ -72,7 +72,7 @@ define([], function () {
|
||||
},
|
||||
getMetadata: function () {
|
||||
checkUpdate();
|
||||
return metadataObj;
|
||||
return Object.freeze(JSON.parse(JSON.stringify(metadataObj)));
|
||||
},
|
||||
onChange: function (f) { changeHandlers.push(f); }
|
||||
});
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
// Fix for noscript bugs when caching iframe content.
|
||||
// Caution, this file will get cached, you must change the name if you change it.
|
||||
document.getElementById('sbox-iframe').setAttribute('src', 'http://localhost:3001/pad2/inner.html?cb=' + (+new Date()));
|
||||
Reference in new issue
Block a user