| Index: native_client_sdk/src/examples/hello_world_stdio/example.js | 
| diff --git a/native_client_sdk/src/examples/hello_world_stdio/example.js b/native_client_sdk/src/examples/hello_world_stdio/example.js | 
| index 13a99975e3619aa6a24ed1bc0876fb7235967a08..7f269215feeca51b5b79857d6e6260e80695bc97 100644 | 
| --- a/native_client_sdk/src/examples/hello_world_stdio/example.js | 
| +++ b/native_client_sdk/src/examples/hello_world_stdio/example.js | 
| @@ -2,9 +2,6 @@ | 
| // Use of this source code is governed by a BSD-style license that can be | 
| // found in the LICENSE file. | 
|  | 
| -var kMaxArraySize = 20; | 
| -var messageArray = new Array(); | 
| - | 
| // Once we load, hide the plugin | 
| function moduleDidLoad() { | 
| common.hideModule(); | 
| @@ -12,13 +9,5 @@ function moduleDidLoad() { | 
|  | 
| // Called by the common.js module. | 
| function handleMessage(message) { | 
| -  // Show last |kMaxArraySize| events in html. | 
| -  messageArray.push(message.data); | 
| -  if (messageArray.length > kMaxArraySize) { | 
| -    messageArray.shift(); | 
| -  } | 
| -  var newData = messageArray.join('<BR>'); | 
| -  document.getElementById('outputString').innerHTML = newData; | 
| -  // Print event to console. | 
| -  console.log(message.data); | 
| +  common.logMessage(message.data); | 
| } | 
|  |