Skip to content

Commit 1908556

Browse files
committed
Merge pull request #541 from noducks/master
Add jshint friendly use strict snippet
2 parents 8d956a2 + 6753f37 commit 1908556

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

snippets/javascript/javascript.snippets

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -257,6 +257,10 @@ snippet cdir
257257

258258
# Misc
259259

260+
# 'use strict';
261+
snippet us
262+
'use strict';
263+
260264
# setTimeout function
261265
snippet timeout
262266
setTimeout(function () {${0}}${2}, ${1:10});

0 commit comments

Comments
 (0)