Title: [173667] trunk/Source/WebInspectorUI
Revision
173667
Author
[email protected]
Date
2014-09-16 12:54:12 -0700 (Tue, 16 Sep 2014)

Log Message

Web Inspector: Fix ESLint no-extra-bind warnings
https://bugs.webkit.org/show_bug.cgi?id=136659

Patch by Joseph Pecoraro <[email protected]> on 2014-09-16
Reviewed by Timothy Hatcher.

* .eslintrc:
* UserInterface/Controllers/LayerTreeManager.js:
(WebInspector.LayerTreeManager.prototype.layersForNode):

Modified Paths

Diff

Modified: trunk/Source/WebInspectorUI/.eslintrc (173666 => 173667)


--- trunk/Source/WebInspectorUI/.eslintrc	2014-09-16 19:22:39 UTC (rev 173666)
+++ trunk/Source/WebInspectorUI/.eslintrc	2014-09-16 19:54:12 UTC (rev 173667)
@@ -63,6 +63,7 @@
         "no-comma-dangle": 0,
         "no-console": 0,
         "no-constant-condition": 0,
+        "no-extra-bind": 2,
         "no-extra-semi": 2,
         "no-proto": 0,
         "no-return-assign": 2,

Modified: trunk/Source/WebInspectorUI/ChangeLog (173666 => 173667)


--- trunk/Source/WebInspectorUI/ChangeLog	2014-09-16 19:22:39 UTC (rev 173666)
+++ trunk/Source/WebInspectorUI/ChangeLog	2014-09-16 19:54:12 UTC (rev 173667)
@@ -1,3 +1,14 @@
+2014-09-16  Joseph Pecoraro  <[email protected]>
+
+        Web Inspector: Fix ESLint no-extra-bind warnings
+        https://bugs.webkit.org/show_bug.cgi?id=136659
+
+        Reviewed by Timothy Hatcher.
+
+        * .eslintrc:
+        * UserInterface/Controllers/LayerTreeManager.js:
+        (WebInspector.LayerTreeManager.prototype.layersForNode):
+
 2014-09-15  Matt Baker  <[email protected]>
 
         Web Inspector: mouse drifts away from resizer when resizing docked inspector

Modified: trunk/Source/WebInspectorUI/UserInterface/Controllers/LayerTreeManager.js (173666 => 173667)


--- trunk/Source/WebInspectorUI/UserInterface/Controllers/LayerTreeManager.js	2014-09-16 19:22:39 UTC (rev 173666)
+++ trunk/Source/WebInspectorUI/UserInterface/Controllers/LayerTreeManager.js	2014-09-16 19:54:12 UTC (rev 173667)
@@ -139,7 +139,7 @@
             var firstLayer = layers[0];
             var layerForNode = firstLayer.nodeId === node.id && !firstLayer.isGeneratedContent ? layers.shift() : null;
             callback(layerForNode, layers);
-        }.bind(this));
+        });
     },
 
     reasonsForCompositingLayer: function(layer, callback)
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to