TL;DR: If you want to see me perform a spoken word poem about JavaScript in front of 1000 people (and on video), please ⭐ star this gist. If you're on mobile, you'll need to request desktop site.
diff --git a/ycmd/identifier_utils.py b/ycmd/identifier_utils.py | |
index 4217fdef..ac91c97b 100644 | |
--- a/ycmd/identifier_utils.py | |
+++ b/ycmd/identifier_utils.py | |
@@ -102,6 +102,7 @@ FILETYPE_TO_IDENTIFIER_REGEX = { | |
} | |
FILETYPE_TO_IDENTIFIER_REGEX[ 'scss' ] = FILETYPE_TO_IDENTIFIER_REGEX[ 'css' ] | |
+FILETYPE_TO_IDENTIFIER_REGEX[ 'javascript' ] = FILETYPE_TO_IDENTIFIER_REGEX[ 'css' ] | |
FILETYPE_TO_IDENTIFIER_REGEX[ 'sass' ] = FILETYPE_TO_IDENTIFIER_REGEX[ 'css' ] |
=Navigating= | |
visit('/projects') | |
visit(post_comments_path(post)) | |
=Clicking links and buttons= | |
click_link('id-of-link') | |
click_link('Link Text') | |
click_button('Save') | |
click('Link Text') # Click either a link or a button | |
click('Button Value') |