projects
/
mkws-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
08d2a27
)
debug_time becomes a private member.
author
Mike Taylor
<mike@indexdata.com>
Thu, 23 Jan 2014 10:47:58 +0000
(10:47 +0000)
committer
Mike Taylor
<mike@indexdata.com>
Thu, 23 Jan 2014 10:47:58 +0000
(10:47 +0000)
tools/htdocs/mkws.js
patch
|
blob
|
history
diff --git
a/tools/htdocs/mkws.js
b/tools/htdocs/mkws.js
index
fe7a0dc
..
80e4c80
100644
(file)
--- a/
tools/htdocs/mkws.js
+++ b/
tools/htdocs/mkws.js
@@
-83,7
+83,7
@@
var m_sort = 'relevance';
var m_filters = [];
// keep time state for debugging
var m_filters = [];
// keep time state for debugging
-mkws.debug_time = {
+var m_debug_time = {
"start": $.now(),
"last": $.now()
};
"start": $.now(),
"last": $.now()
};
@@
-97,8
+97,8
@@
mkws.debug_function = function (string) {
}
var now = $.now();
}
var now = $.now();
- var timestamp = ((now - mkws.debug_time.start)/1000).toFixed(3) + " (+" + ((now - mkws.debug_time.last)/1000).toFixed(3) + ") "
- mkws.debug_time.last = now;
+ var timestamp = ((now - m_debug_time.start)/1000).toFixed(3) + " (+" + ((now - m_debug_time.last)/1000).toFixed(3) + ") "
+ m_debug_time.last = now;
// you need to disable use strict at the top of the file!!!
if (mkws.debug_level >= 3) {
// you need to disable use strict at the top of the file!!!
if (mkws.debug_level >= 3) {