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

Side by Side Diff: chrome/browser/resources/md_extensions/item_list.js

Issue 2948443003: Run clang-format on .js files in c/b/r/md_extensions (Closed)
Patch Set: Created 3 years, 6 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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('extensions', function() { 5 cr.define('extensions', function() {
6 var ItemList = Polymer({ 6 var ItemList = Polymer({
7 is: 'extensions-item-list', 7 is: 'extensions-item-list',
8 8
9 behaviors: [ 9 behaviors: [Polymer.NeonAnimatableBehavior, Polymer.IronResizableBehavior],
10 Polymer.NeonAnimatableBehavior,
11 Polymer.IronResizableBehavior
12 ],
13 10
14 properties: { 11 properties: {
15 /** @type {Array<!chrome.developerPrivate.ExtensionInfo>} */ 12 /** @type {Array<!chrome.developerPrivate.ExtensionInfo>} */
16 items: Array, 13 items: Array,
17 14
18 /** @type {extensions.ItemDelegate} */ 15 /** @type {extensions.ItemDelegate} */
19 delegate: Object, 16 delegate: Object,
20 17
21 inDevMode: { 18 inDevMode: {
22 type: Boolean, 19 type: Boolean,
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 return this.items.filter(function(item) { 72 return this.items.filter(function(item) {
76 return item.name.toLowerCase().includes(this.filter.toLowerCase()); 73 return item.name.toLowerCase().includes(this.filter.toLowerCase());
77 }, this); 74 }, this);
78 }, 75 },
79 }); 76 });
80 77
81 return { 78 return {
82 ItemList: ItemList, 79 ItemList: ItemList,
83 }; 80 };
84 }); 81 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698