Made pad2 server more generic and easy to implement
This commit is contained in:
@@ -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