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

Side by Side Diff: ports/devenv/devenvwidget/demo.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/devenv/devenv.js ('k') | ports/devenv/devenvwidget/devenvwidget.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) 2014 The Native Client Authors. All rights reserved. 2 * Copyright (c) 2014 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 DevEnvWidget */
8
9 'use strict';
10
7 // This is an example use of devenvwidget.js. 11 // This is an example use of devenvwidget.js.
8 function $(i) { 12 function $(i) {
9 return document.querySelector(i); 13 return document.querySelector(i);
10 } 14 }
11 document.addEventListener('DOMContentLoaded', function() { 15 document.addEventListener('DOMContentLoaded', function() {
12 var devenv = new DevEnvWidget({ 16 var devenv = new DevEnvWidget({
13 source: $('#source'), 17 source: $('#source'),
14 run: $('#run'), 18 run: $('#run'),
15 status: $('#status'), 19 status: $('#status'),
16 output: $('#output') 20 output: $('#output')
17 }); 21 });
18 }); 22 });
OLDNEW
« no previous file with comments | « ports/devenv/devenv.js ('k') | ports/devenv/devenvwidget/devenvwidget.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698