Skip to content

Commit

Permalink
added use strict [us]
Browse files Browse the repository at this point in the history
  • Loading branch information
jprichardson committed May 15, 2013
1 parent 0a17079 commit 1ee1fe5
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 0 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
@@ -1,3 +1,8 @@
2013-05-15
----------
* removed block comment
* added `'use strict'` **[us]**

2013-02-01
----------
* Added block comment **[/<notextile>**</notextile>]**
Expand Down
9 changes: 9 additions & 0 deletions README.md
Expand Up @@ -131,6 +131,7 @@ setTimeout(function() {
}, ${1:millis})
```
### [sti] setInterval
```javascript
Expand All @@ -140,6 +141,13 @@ setInterval(function() {
```
### [us] use strict
```javascript
'use strict'
```
Behaviorial Driven Development
------------------------------
Expand Down Expand Up @@ -171,6 +179,7 @@ it('${1:description}', function() {
```
Author
------
Expand Down
10 changes: 10 additions & 0 deletions vanilla.block_comment.sublime-snippet
@@ -0,0 +1,10 @@
<snippet>
<content><![CDATA[
/***********************
* {$0:DESCRIPTION}
***********************/
]]></content>
<tabTrigger>/**</tabTrigger>
<scope>source.js</scope>
<description>comment block</description>
</snippet>
8 changes: 8 additions & 0 deletions vanilla.use_strict.sublime-snippet
@@ -0,0 +1,8 @@
<snippet>
<content><![CDATA[
'use strict'
]]></content>
<tabTrigger>us</tabTrigger>
<scope>source.js</scope>
<description>use strict</description>
</snippet>

0 comments on commit 1ee1fe5

Please sign in to comment.