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

Side by Side Diff: ports/civetweb/civetweb.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 | « package.json ('k') | ports/curl/curl.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 = 'civetweb.nmf' 11 NaClTerm.nmf = 'civetweb.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( 17 navigator.webkitPersistentStorage.requestQuota(
16 1024*1024, 18 1024*1024,
17 function(grantedBytes) { 19 function(grantedBytes) {
18 NaClTerm.init(); 20 NaClTerm.init();
19 }, 21 },
20 function(e) { console.log('Error', e); } 22 function(e) { console.log('Error', e); }
21 ); 23 );
22 }); 24 });
23 }; 25 };
OLDNEW
« no previous file with comments | « package.json ('k') | ports/curl/curl.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698