| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -4,7 +4,7 @@ | |||
| 4 | 4 | 'body': '${1:method_name}: function (${2:attribute}) {\n\t$3\n}${4:,}' | |
| 5 | 5 | 'Object key — key: "value"': | |
| 6 | 6 | 'prefix': ':' | |
| 7 | - 'body': '${1:key}: ${2:"${3:value}"}${4:, }' | ||
| 7 | + 'body': '${1:key}: ${2:\'${3:value}\'}${4:, }' | ||
| 8 | 8 | 'Prototype': | |
| 9 | 9 | 'prefix': 'proto' | |
| 10 | 10 | 'body': '${1:class_name}.prototype.${2:method_name} = function (${3:first_argument}) {\n\t${0:// body...}\n};' | |
@@ -55,7 +55,7 @@ | |||
| 55 | 55 | 'body': 'querySelectorAll(${1:\'${2:query}\'})' | |
| 56 | 56 | 'Immediately-Invoked Function Expression': | |
| 57 | 57 | '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}());' | ||
| 59 | 59 | 'if … else': | |
| 60 | 60 | 'prefix': 'ife' | |
| 61 | 61 | 'body': 'if (${1:true}) {\n\t$2\n} else {\n\t$3\n}' | |
| Back | FazBrowse Home | New Git URL |
0 commit comments