From 1042251c210b22036c3a847df46b1c44b7d87cfe Mon Sep 17 00:00:00 2001 From: Daniel Skogly Date: Fri, 19 Jun 2015 23:44:48 +0200 Subject: More concise comment Because I apparently can't read docs properly!--- content_scripts/link_hints.coffee | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/content_scripts/link_hints.coffee b/content_scripts/link_hints.coffee index 37758c95..327d622a 100644 --- a/content_scripts/link_hints.coffee +++ b/content_scripts/link_hints.coffee @@ -167,8 +167,7 @@ class LinkHintsMode element.getAttribute("aria-disabled")?.toLowerCase() in ["", "true"]) return [] # This element should never have a link hint. - # The quite popular (http://w3techs.com/technologies/market/javascript_library/20) JavaScript framework AngularJS - # uses the proprietary click attribute "ng-click". This checks for every valid way it may occur. + # Check for AngularJS listeners on the element. ngPrefixes = ['', 'data-', 'x-'] ngSeparators = ['-', ':', '_'] hasNgClick = () -> -- cgit v1.2.3