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

Issue 10356042: Fix presubmit js style nits. (Closed)

Created:
8 years, 7 months ago by kmadhusu
Modified:
8 years, 7 months ago
CC:
chromium-reviews, arv (Not doing code reviews), nkostylev+watch_chromium.org
Visibility:
Public.

Description

Fix presubmit js style nits. BUG=122003 TEST=none Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=136782

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 2

Patch Set 3 : '' #

Total comments: 29

Patch Set 4 : Addressed review comments #

Patch Set 5 : '' #

Patch Set 6 : Reverted menu.js and network_menu.js changes #

Patch Set 7 : Reverted document.getElementById changes in keyboard_overlay.js #

Total comments: 24

Patch Set 8 : Addressed review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+312 lines, -166 lines) Patch
M chrome/browser/resources/chromeos/choose_mobile_network.js View 4 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/resources/chromeos/image_burner.js View 1 2 3 4 5 6 7 16 chunks +159 lines, -55 lines 0 comments Download
M chrome/browser/resources/chromeos/keyboard_overlay.js View 1 2 3 4 5 6 7 23 chunks +62 lines, -20 lines 0 comments Download
M chrome/browser/resources/chromeos/mobile_setup.js View 1 2 3 12 chunks +67 lines, -67 lines 0 comments Download
M chrome/browser/resources/chromeos/sim_unlock.js View 4 chunks +15 lines, -15 lines 0 comments Download
M chrome/browser/resources/chromeos/user_images_grid.js View 1 2 3 1 chunk +5 lines, -5 lines 0 comments Download

Messages

Total messages: 21 (0 generated)
kmadhusu
Made code changes to fix presubmit js style errors. Most of them are style nits ...
8 years, 7 months ago (2012-05-07 05:42:02 UTC) #1
Ivan Korotkov
lgtm http://codereview.chromium.org/10356042/diff/4001/chrome/browser/resources/chromeos/user_images_grid.js File chrome/browser/resources/chromeos/user_images_grid.js (right): http://codereview.chromium.org/10356042/diff/4001/chrome/browser/resources/chromeos/user_images_grid.js#newcode6 chrome/browser/resources/chromeos/user_images_grid.js:6: var ArrayDataModel = cr.ui.ArrayDataModel; Please use the "/** ...
8 years, 7 months ago (2012-05-07 10:50:07 UTC) #2
mazda
keyboard_overlay: lgtm Thank you for the fix!
8 years, 7 months ago (2012-05-07 16:03:00 UTC) #3
oshima
wrench_menu.js should have been removed. I probably missed it when I removed the feature. LGTM ...
8 years, 7 months ago (2012-05-07 16:08:06 UTC) #4
xiyuan
network_menu.js LGTM http://codereview.chromium.org/10356042/diff/2001/chrome/browser/resources/chromeos/network_menu.js File chrome/browser/resources/chromeos/network_menu.js (right): http://codereview.chromium.org/10356042/diff/2001/chrome/browser/resources/chromeos/network_menu.js#newcode33 chrome/browser/resources/chromeos/network_menu.js:33: * @param {number} index Selected network index. ...
8 years, 7 months ago (2012-05-07 16:21:11 UTC) #5
zel
http://codereview.chromium.org/10356042/diff/4001/chrome/browser/resources/chromeos/mobile_setup.js File chrome/browser/resources/chromeos/mobile_setup.js (left): http://codereview.chromium.org/10356042/diff/4001/chrome/browser/resources/chromeos/mobile_setup.js#oldcode13 chrome/browser/resources/chromeos/mobile_setup.js:13: MobileSetup.PLAN_ACTIVATION_PAGE_LOADING = -1; why removing spaces here? how's the ...
8 years, 7 months ago (2012-05-07 16:41:32 UTC) #6
Tyler Breisacher (Chromium)
http://codereview.chromium.org/10356042/diff/4001/chrome/browser/resources/chromeos/mobile_setup.js File chrome/browser/resources/chromeos/mobile_setup.js (left): http://codereview.chromium.org/10356042/diff/4001/chrome/browser/resources/chromeos/mobile_setup.js#oldcode13 chrome/browser/resources/chromeos/mobile_setup.js:13: MobileSetup.PLAN_ACTIVATION_PAGE_LOADING = -1; On 2012/05/07 16:41:32, zel wrote: > ...
8 years, 7 months ago (2012-05-07 17:12:24 UTC) #7
arv (Not doing code reviews)
FYI http://codereview.chromium.org/10356042/diff/4001/chrome/browser/resources/chromeos/mobile_setup.js File chrome/browser/resources/chromeos/mobile_setup.js (right): http://codereview.chromium.org/10356042/diff/4001/chrome/browser/resources/chromeos/mobile_setup.js#newcode43 chrome/browser/resources/chromeos/mobile_setup.js:43: faked_transaction_: false, no underscores in JS names
8 years, 7 months ago (2012-05-07 17:26:03 UTC) #8
Tyler Breisacher (Chromium)
If I'm not mistaken, the trailing underscore is still okay, right? So this should be ...
8 years, 7 months ago (2012-05-07 17:27:47 UTC) #9
Dan Beam
On 2012/05/07 17:27:47, Tyler Breisacher wrote: > If I'm not mistaken, the trailing underscore is ...
8 years, 7 months ago (2012-05-07 17:42:07 UTC) #10
Dan Beam
http://codereview.chromium.org/10356042/diff/4001/chrome/browser/resources/chromeos/menu.js File chrome/browser/resources/chromeos/menu.js (right): http://codereview.chromium.org/10356042/diff/4001/chrome/browser/resources/chromeos/menu.js#newcode637 chrome/browser/resources/chromeos/menu.js:637: * downwards and -1 for upwards. nit: indent this ...
8 years, 7 months ago (2012-05-07 17:43:53 UTC) #11
Tyler Breisacher (Chromium)
http://codereview.chromium.org/10356042/diff/4001/chrome/browser/resources/chromeos/image_burner.js File chrome/browser/resources/chromeos/image_burner.js (right): http://codereview.chromium.org/10356042/diff/4001/chrome/browser/resources/chromeos/image_burner.js#newcode91 chrome/browser/resources/chromeos/image_burner.js:91: * @this {State} These @this's shouldn't be necessary because ...
8 years, 7 months ago (2012-05-07 20:37:03 UTC) #12
kmadhusu
oshima@ pointed that wrench_menu.js, menu.js and network_menu.js are obselete files. Therefore, I reverted my changes ...
8 years, 7 months ago (2012-05-08 20:20:18 UTC) #13
Dmitry Polukhin
LGTM for choose_mobile_network.js
8 years, 7 months ago (2012-05-10 07:31:35 UTC) #14
Dan Beam
https://chromiumcodereview.appspot.com/10356042/diff/17001/chrome/browser/resources/chromeos/image_burner.js File chrome/browser/resources/chromeos/image_burner.js (right): https://chromiumcodereview.appspot.com/10356042/diff/17001/chrome/browser/resources/chromeos/image_burner.js#newcode101 chrome/browser/resources/chromeos/image_burner.js:101: if (newState.warningText) { nit: no curlies https://chromiumcodereview.appspot.com/10356042/diff/17001/chrome/browser/resources/chromeos/image_burner.js#newcode118 chrome/browser/resources/chromeos/image_burner.js:118: if ...
8 years, 7 months ago (2012-05-11 01:06:09 UTC) #15
Dan Beam
note to self: all other files looks good
8 years, 7 months ago (2012-05-11 01:07:26 UTC) #16
kmadhusu
dbeam@: Addressed review comments. PTAL. Thanks. https://chromiumcodereview.appspot.com/10356042/diff/17001/chrome/browser/resources/chromeos/image_burner.js File chrome/browser/resources/chromeos/image_burner.js (right): https://chromiumcodereview.appspot.com/10356042/diff/17001/chrome/browser/resources/chromeos/image_burner.js#newcode101 chrome/browser/resources/chromeos/image_burner.js:101: if (newState.warningText) { ...
8 years, 7 months ago (2012-05-11 21:52:41 UTC) #17
Dan Beam
lgtm
8 years, 7 months ago (2012-05-11 21:59:16 UTC) #18
kmadhusu
zel@, nkostylev@: ping
8 years, 7 months ago (2012-05-12 00:25:40 UTC) #19
zel
lgtm
8 years, 7 months ago (2012-05-12 06:02:06 UTC) #20
Nikita (slow)
8 years, 7 months ago (2012-05-12 15:55:59 UTC) #21
lgtm

Powered by Google App Engine
This is Rietveld 408576698