Merge branch 'master' of ssh://git.indexdata.com/home/git/private/mkws
authorMike Taylor <mike@indexdata.com>
Thu, 19 Dec 2013 13:30:59 +0000 (13:30 +0000)
committerMike Taylor <mike@indexdata.com>
Thu, 19 Dec 2013 13:30:59 +0000 (13:30 +0000)
test/Makefile
tools/htdocs/Makefile
tools/htdocs/mkws.js

index a4b0389..ec1fd0c 100644 (file)
@@ -23,4 +23,5 @@ node_modules:
        npm install jquery jsdom request jasmine-node
 
 help:
-       @echo "make [ all | clean | check | jsbeautifier | node-modules ]"
+       @echo "make [ all | check | clean | distclean ]"
+       @echo "     [ jsbeautifier | node-modules ]"
index 626b7bd..ad18fba 100644 (file)
@@ -53,7 +53,7 @@ mkws-js ${MKWS_JS}: Makefile mkws.js ${JQUERY_FILE} ${JQUERY_JSON_FILE} ${HANDLE
            echo ""; \
            exit 1; \
        fi
-       ( echo "/* Copyright (c) 2013 IndexData ApS. http://indexdata.com"; \
+       ( echo "/*! Copyright (c) 2013 IndexData ApS. http://indexdata.com"; \
          echo "   created at: $$(date)"; \
          echo "   mkws.js GIT id: $$(git log mkws.js | head -n 1 | perl -npe 's,\S+\s+,,')"; \
          echo "   $$(basename ${PZ2API_JS}) GIT id: $$(cd $$(dirname ${PZ2API_JS}) && git log $$(basename ${PZ2API_JS}) | head -n 1 | perl -npe 's,\S+\s+,,')"; \
index cb3e973..8b40745 100644 (file)
@@ -1,4 +1,4 @@
-/* MKWS, the MasterKey Widget Set. Copyright (C) 2013, Index Data */
+/*! MKWS, the MasterKey Widget Set. Copyright (C) 2013, Index Data */
 
 "use strict"; // HTML5: disable for debug_level >= 2
 
@@ -88,7 +88,7 @@ mkws.debug_function = function (string) {
     }
 
     var now = $.now();
-    var timestamp = (now - mkws.debug_time.start)/1000 + " (+" + (now - mkws.debug_time.last)/1000 + ") "
+    var timestamp = ((now - mkws.debug_time.start)/1000).toFixed(3) + " (+" + ((now - mkws.debug_time.last)/1000).toFixed(3) + ") "
     mkws.debug_time.last = now;
 
     // you need to disable use strict at the top of the file!!!