Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(534)

Side by Side Diff: ports/mongoose/mongoose.js

Issue 1415743013: Run jshint over all JavaScript files (Closed) Base URL: https://chromium.googlesource.com/external/naclports.git@repo_conf
Patch Set: Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ports/lua/lua.js ('k') | ports/python/python.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 /* globals NaClTerm, lib */
8
7 'use strict'; 9 'use strict';
8 10
9 NaClTerm.nmf = 'mongoose.nmf' 11 NaClTerm.nmf = 'mongoose.nmf';
10 12
11 lib.rtdep('lib.f') 13 lib.rtdep('lib.f');
12 14
13 window.onload = function() { 15 window.onload = function() {
14 lib.init(function() { 16 lib.init(function() {
15 navigator.webkitPersistentStorage.requestQuota(1024*1024, 17 navigator.webkitPersistentStorage.requestQuota(1024*1024,
16 function(bytes) { 18 function(bytes) {
17 NaClTerm.init(); 19 NaClTerm.init();
18 }, 20 },
19 function(e) { console.log('Error', e); }); 21 function(e) { console.log('Error', e); });
20 }); 22 });
21 }; 23 };
OLDNEW
« no previous file with comments | « ports/lua/lua.js ('k') | ports/python/python.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698