From 5b971afb2771735fb34d42e4f373e26cb3dcb2f9 Mon Sep 17 00:00:00 2001 From: "aa@chromium.org" Date: Mon, 6 Jan 2014 22:20:54 +0000 Subject: Gin: Fix console module to be varargs again. R=abarth@chromium.org Review URL: https://codereview.chromium.org/108723006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@243183 0039d316-1c4b-4281-b951-d872f2087c98 --- mojo/apps/js/bindings/connector.js | 3 +-- mojo/apps/js/main.js | 6 +++--- 2 files changed, 4 insertions(+), 5 deletions(-) (limited to 'mojo/apps') diff --git a/mojo/apps/js/bindings/connector.js b/mojo/apps/js/bindings/connector.js index 002549c..ddd677e 100644 --- a/mojo/apps/js/bindings/connector.js +++ b/mojo/apps/js/bindings/connector.js @@ -3,11 +3,10 @@ // found in the LICENSE file. define([ - "console", "mojo/apps/js/bindings/codec", "mojo/apps/js/bindings/core", "mojo/apps/js/bindings/support", -], function(console, codec, core, support) { +], function(codec, core, support) { function Connector(handle) { this.handle_ = handle; diff --git a/mojo/apps/js/main.js b/mojo/apps/js/main.js index 52bfc5b..9d39e7c 100644 --- a/mojo/apps/js/main.js +++ b/mojo/apps/js/main.js @@ -180,10 +180,10 @@ define([ Object.create(nativeViewport.NativeViewportClientStub.prototype); NativeViewportClientImpl.prototype.onCreated = function() { - console.log(['NativeViewportClientImpl.prototype.OnCreated']); + console.log('NativeViewportClientImpl.prototype.OnCreated'); }; NativeViewportClientImpl.prototype.didOpen = function() { - console.log(['NativeViewportClientImpl.prototype.DidOpen']); + console.log('NativeViewportClientImpl.prototype.DidOpen'); }; @@ -211,7 +211,7 @@ define([ }; GLES2ClientImpl.prototype.contextLost = function() { - console.log(['GLES2ClientImpl.prototype.contextLost']); + console.log('GLES2ClientImpl.prototype.contextLost'); }; -- cgit v1.1