};
-// Define empty mkws_config for simple applications that don't define it.
-if (mkws_config == null || typeof mkws_config != 'object') {
- var mkws_config = {};
-}
-
-
mkws.log = function(string) {
if (!mkws.log_level)
return;
mkws.defaultMkwsConfig = function() {
+ // Define empty mkws_config for simple applications that don't define it.
+ if (mkws_config == null || typeof mkws_config != 'object') {
+ var mkws_config = {};
+ }
+
mkws.config = mkws_config;
/* default mkws config */