| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 function moduleDidLoad() { | 5 function moduleDidLoad() { |
| 6 common.hideModule(); | 6 common.hideModule(); |
| 7 } | 7 } |
| 8 | 8 |
| 9 function $(id) { | 9 function $(id) { |
| 10 return document.getElementById(id); | 10 return document.getElementById(id); |
| (...skipping 329 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 340 } | 340 } |
| 341 | 341 |
| 342 delete funcToCallback[funcName]; | 342 delete funcToCallback[funcName]; |
| 343 callback.apply(null, params); | 343 callback.apply(null, params); |
| 344 } | 344 } |
| 345 } else { | 345 } else { |
| 346 common.logMessage('Error: Unknow message `' + data + | 346 common.logMessage('Error: Unknow message `' + data + |
| 347 '` received from NaCl module.'); | 347 '` received from NaCl module.'); |
| 348 } | 348 } |
| 349 } | 349 } |
| OLD | NEW |