Merge pull request #653 from brianvanburken/javascript-es6

ECMAScript 6 snippets.
This commit is contained in:
Louis Pilfold 2015-12-08 12:30:39 +00:00
commit c0040abe4e

View File

@ -0,0 +1,22 @@
snippet const
const ${0} = ${1};
snippet let
let ${0} = ${1};
snippet im
import ${0} from '${1}';
snippet cla
class ${0} {
${1}
}
snippet clax
class ${0} extends ${1} {
${2}
}
snippet =>
(${0}) => {
${1}
}
snippet sym
const ${0} = Symbol('${1}');
snippet ed
export default ${0}