OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2013 The Native Client Authors. All rights reserved. | 2 * Copyright (c) 2013 The Native Client Authors. All rights reserved. |
3 * Use of this source code is governed by a BSD-style license that can be | 3 * Use of this source code is governed by a BSD-style license that can be |
4 * found in the LICENSE file. | 4 * found in the LICENSE file. |
5 */ | 5 */ |
6 | 6 |
7 NaClTerm.prefix = 'lua' | 7 NaClTerm.prefix = 'gambc' |
8 NaClTerm.nmf = 'lua.nmf' | 8 NaClTerm.nmf = 'gambc.nmf' |
9 | 9 |
10 function log(message) { | 10 function log(message) { |
11 document.getElementById('log').textContent = message; | 11 document.getElementById('log').textContent = message; |
12 } | 12 } |
13 | 13 |
14 function fsErrorHandler(error) { | 14 function fsErrorHandler(error) { |
15 log("Filesystem error: "+ error); | 15 log("Filesystem error: "+ error); |
16 } | 16 } |
17 | 17 |
18 function uploadFile(file) { | 18 function uploadFile(file) { |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 NaClTerm.init(); | 53 NaClTerm.init(); |
54 } | 54 } |
55 ); | 55 ); |
56 } | 56 } |
57 | 57 |
58 window.onload = function() { | 58 window.onload = function() { |
59 lib.init(function() { | 59 lib.init(function() { |
60 onInit(); | 60 onInit(); |
61 }); | 61 }); |
62 }; | 62 }; |
OLD | NEW |