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:
2893e2e
)
mkws.log now assigned from existing function rather than vice versa.
author
Mike Taylor
<mike@indexdata.com>
Wed, 26 Mar 2014 11:21:39 +0000
(11:21 +0000)
committer
Mike Taylor
<mike@indexdata.com>
Wed, 26 Mar 2014 11:21:39 +0000
(11:21 +0000)
src/mkws-core.js
patch
|
blob
|
history
diff --git
a/src/mkws-core.js
b/src/mkws-core.js
index
0a175e4
..
7f5b0f5
100644
(file)
--- a/
src/mkws-core.js
+++ b/
src/mkws-core.js
@@
-84,7
+84,7
@@
if (mkws_config == null || typeof mkws_config != 'object') {
// wrapper to call team() after page load
(function (j) {
- mkws.log = function (string) {
+ function log(string) {
if (!mkws.log_level)
return;
@@
-100,7
+100,7
@@
if (mkws_config == null || typeof mkws_config != 'object') {
}
console.log(string);
}
- var log = mkws.log;
+ mkws.log = log;
function handleNodeWithTeam(node, callback) {