JS: Add missing closing quotes

This commit is contained in:
Louis Pilfold 2014-10-13 13:47:00 +01:00
parent 0373b8400e
commit 2d47b85358

View File

@ -218,16 +218,16 @@ snippet gett
getElementBy${1:Id}('${0}')
# Elements by class
snippet by.
${1:document}.getElementsByClassName('${0:class})
${1:document}.getElementsByClassName('${0:class}')
# Element by ID
snippet by#
${1:document}.getElementById('${0:element ID})
${1:document}.getElementById('${0:element ID}')
# Query selector
snippet qs
${1:document}.querySelector('${0:CSS selector})
${1:document}.querySelector('${0:CSS selector}')
# Query selector all
snippet qsa
${1:document}.querySelectorAll('${0:CSS selector})
${1:document}.querySelectorAll('${0:CSS selector}')
# Debugging