1// Copyright (c) 2014 The Chromium Authors. All rights reserved. 2// Use of this source code is governed by a BSD-style license that can be 3// found in the LICENSE file. 4 5function moduleDidLoad() { 6 // The module is not hidden by default so we can easily see if the plugin 7 // failed to load. 8 common.hideModule(); 9} 10 11// This function is called by common.js when a message is received from the 12// NaCl module. 13function handleMessage(message) { 14 var logEl = document.getElementById('log'); 15 logEl.textContent += message.data; 16} 17