Repository: cordova-mobile-spec Updated Branches: refs/heads/master cd6c6ecd0 -> 1b6e7d6f8
Disable console plugin within exec() benchmark Project: http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/commit/1b6e7d6f Tree: http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/tree/1b6e7d6f Diff: http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/diff/1b6e7d6f Branch: refs/heads/master Commit: 1b6e7d6f8658c8ac849deb621e79cbdf58b58da0 Parents: cd6c6ec Author: Andrew Grieve <[email protected]> Authored: Mon Nov 24 22:59:50 2014 -0500 Committer: Andrew Grieve <[email protected]> Committed: Mon Nov 24 23:00:19 2014 -0500 ---------------------------------------------------------------------- www/benchmarks/exec.html | 4 ++++ 1 file changed, 4 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/blob/1b6e7d6f/www/benchmarks/exec.html ---------------------------------------------------------------------- diff --git a/www/benchmarks/exec.html b/www/benchmarks/exec.html index cd51ca4..e7b3618 100644 --- a/www/benchmarks/exec.html +++ b/www/benchmarks/exec.html @@ -188,6 +188,10 @@ document.addEventListener("deviceready", function() { + // Never send logs through exec() bridge. + if (console.useLogger) { + console.useLogger(false); + } deviceReady = true; appLog("Device="+device.platform+" "+device.version); configure(); --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
