Better performances and UI for the debug tools

This commit is contained in:
yflory
2019-02-26 15:48:29 +01:00
parent ec33084226
commit 98bf773221
5 changed files with 131 additions and 94 deletions

View File

@@ -63,6 +63,11 @@ define([
}
drive = true;
window.location.hash = hash;
} else {
var p = Hash.parsePadUrl('/debug/'+window.location.hash);
if (p && p.hashData && p.hashData.app === 'drive') {
drive = true;
}
}
var addData = function (meta) {
meta.debugDrive = drive;