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

Side by Side Diff: chrome/browser/resources/bookmark_manager/js/bmm.js

Issue 2900253006: WebUI: Fix more violations of no-extra-semi lint rule. (Closed)
Patch Set: clang-format Created 3 years, 7 months 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 cr.define('bmm', function() { 5 cr.define('bmm', function() {
6 'use strict'; 6 'use strict';
7 7
8 /** 8 /**
9 * Whether a node contains another node. 9 * Whether a node contains another node.
10 * TODO(yosin): Once JavaScript style guide is updated and linter follows 10 * TODO(yosin): Once JavaScript style guide is updated and linter follows
(...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after
242 * Adds the listeners for the bookmark model change events. 242 * Adds the listeners for the bookmark model change events.
243 */ 243 */
244 function addBookmarkModelListeners() { 244 function addBookmarkModelListeners() {
245 chrome.bookmarks.onChanged.addListener(handleBookmarkChanged); 245 chrome.bookmarks.onChanged.addListener(handleBookmarkChanged);
246 chrome.bookmarks.onChildrenReordered.addListener(handleChildrenReordered); 246 chrome.bookmarks.onChildrenReordered.addListener(handleChildrenReordered);
247 chrome.bookmarks.onCreated.addListener(handleCreated); 247 chrome.bookmarks.onCreated.addListener(handleCreated);
248 chrome.bookmarks.onMoved.addListener(handleMoved); 248 chrome.bookmarks.onMoved.addListener(handleMoved);
249 chrome.bookmarks.onRemoved.addListener(handleRemoved); 249 chrome.bookmarks.onRemoved.addListener(handleRemoved);
250 chrome.bookmarks.onImportBegan.addListener(handleImportBegan); 250 chrome.bookmarks.onImportBegan.addListener(handleImportBegan);
251 chrome.bookmarks.onImportEnded.addListener(handleImportEnded); 251 chrome.bookmarks.onImportEnded.addListener(handleImportEnded);
252 }; 252 }
253 253
254 return { 254 return {
255 contains: contains, 255 contains: contains,
256 isFolder: isFolder, 256 isFolder: isFolder,
257 loadSubtree: loadSubtree, 257 loadSubtree: loadSubtree,
258 loadTree: loadTree, 258 loadTree: loadTree,
259 addBookmarkModelListeners: addBookmarkModelListeners 259 addBookmarkModelListeners: addBookmarkModelListeners
260 }; 260 };
261 }); 261 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698