FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Merge pull request #122 from Hurtak/feature/quotes-unification · atom/language-javascript@88c0761 · GitHub

This repository was archived by the owner on Dec 15, 2022. It is now read-only.
/ language-javascript Public archive

Commit 88c0761

Browse files
committed
Merge pull request #122 from Hurtak/feature/quotes-unification
Unified quotes in snippets
2 parents 957ede6 + 3743033 commit 88c0761

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎snippets/language-javascript.cson‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
'body': '${1:method_name}: function (${2:attribute}) {\n\t$3\n}${4:,}'
55
'Object key — key: "value"':
66
'prefix': ':'
7-
'body': '${1:key}: ${2:"${3:value}"}${4:, }'
7+
'body': '${1:key}: ${2:\'${3:value}\'}${4:, }'
88
'Prototype':
99
'prefix': 'proto'
1010
'body': '${1:class_name}.prototype.${2:method_name} = function (${3:first_argument}) {\n\t${0:// body...}\n};'
@@ -55,7 +55,7 @@
5555
'body': 'querySelectorAll(${1:\'${2:query}\'})'
5656
'Immediately-Invoked Function Expression':
5757
'prefix': 'iife'
58-
'body': '(function() {\n\t${1:"use strict";\n}\t$2\n}());'
58+
'body': '(function() {\n\t${1:\'use strict\';\n}\t$2\n}());'
5959
'if … else':
6060
'prefix': 'ife'
6161
'body': 'if (${1:true}) {\n\t$2\n} else {\n\t$3\n}'

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL