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

Unified Diff: third_party/WebKit/Source/devtools/front_end/elements/ElementsPanel.js

Issue 1907263002: DevTools: Fix all outstanding JavaScript style issues. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove yoda disable. fix throw parens Created 4 years, 8 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/devtools/front_end/elements/ElementsPanel.js
diff --git a/third_party/WebKit/Source/devtools/front_end/elements/ElementsPanel.js b/third_party/WebKit/Source/devtools/front_end/elements/ElementsPanel.js
index fca8a3437d065eb67aa4fe5ff3b0fde6aba11651..2d18fb158298802da076a3d578385943a329903c 100644
--- a/third_party/WebKit/Source/devtools/front_end/elements/ElementsPanel.js
+++ b/third_party/WebKit/Source/devtools/front_end/elements/ElementsPanel.js
@@ -162,9 +162,9 @@ WebInspector.ElementsPanel.prototype = {
this._animatedToolbarPane = widget;
if (this._currentToolbarPane)
- this._toolbarPaneElement.style.animationName = 'styles-element-state-pane-slideout';
+ this._toolbarPaneElement.style.animationName = "styles-element-state-pane-slideout";
else if (widget)
- this._toolbarPaneElement.style.animationName = 'styles-element-state-pane-slidein';
+ this._toolbarPaneElement.style.animationName = "styles-element-state-pane-slidein";
if (widget)
widget.show(this._toolbarPaneElement);
@@ -177,7 +177,7 @@ WebInspector.ElementsPanel.prototype = {
*/
function onAnimationEnd()
{
- this._toolbarPaneElement.style.removeProperty('animation-name');
+ this._toolbarPaneElement.style.removeProperty("animation-name");
this._toolbarPaneElement.removeEventListener("animationend", listener, false);
if (this._currentToolbarPane)

Powered by Google App Engine
This is Rietveld 408576698