We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cfad5b7 commit aa2a1b6Copy full SHA for aa2a1b6
1 file changed
src/js/LogDumper.js
@@ -506,7 +506,26 @@ var logDumper = (function($, module) {
506
},
507
$node;
508
try {
509
- if (methods[method]) {
+ /*
510
+ console.log({
511
+ method: method,
512
+ args: args,
513
+ meta: meta
514
+ });
515
+ */
516
+ if (meta.format == "html") {
517
+ if (typeof args == "object") {
518
+ $node = $('<div />', {class:"m_"+method});
519
+ for (i = 0; i < args.length; i++) {
520
+ $node.append(args[i]);
521
+ }
522
+ } else {
523
+ $node = $(args);
524
+ if ($node.find("> .m_"+method).length == 0) {
525
+ $node = $('<div />', {class:"m_"+method}).html(args); // $node.wrap('<div />').addClass("m_"+method);
526
527
528
+ } else if (methods[method]) {
529
$node = methods[method](method, args, meta, info);
530
} else {
531
$node = methods.default(method, args, meta, info);
0 commit comments