From 58a452c07ffbd2dacc194f153c679eb20dcce02a Mon Sep 17 00:00:00 2001 From: Tom Ashworth Date: Fri, 11 Oct 2013 14:54:38 +0100 Subject: [PATCH] Add support for a load more console methods. --- public/js/runner/proxy-console.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/public/js/runner/proxy-console.js b/public/js/runner/proxy-console.js index 9bdde481..ba5dc1bb 100644 --- a/public/js/runner/proxy-console.js +++ b/public/js/runner/proxy-console.js @@ -31,7 +31,11 @@ var proxyConsole = (function () { // Create each of these methods on the proxy, and postMessage up to JS Bin // when one is called. - var methods = ['debug', 'clear', 'error', 'info', 'log', 'warn', 'dir', 'props', '_raw']; + var methods = [ + 'debug', 'clear', 'error', 'info', 'log', 'warn', 'dir', 'props', '_raw', 'group', 'groupEnd', + 'dirxml', 'table', 'trace', 'assert', 'count', 'markTimeline', 'profile', 'profileEnd', 'time', + 'timeEnd', 'timeStamp', 'groupCollapsed' + ]; methods.forEach(function (method) { // Create console method proxyConsole[method] = function () {