Permalink
Browse files

Added sto and sti.

  • Loading branch information...
1 parent 0e2b9c8 commit 38a184537e0ddbbc9cae0cef639f83adba7c83b5 @jprichardson committed Jan 29, 2013
Showing with 42 additions and 0 deletions.
  1. +7 −0 CHANGELOG.md
  2. +17 −0 README.md
  3. +9 −0 vanilla.setinterval.sublime-snippet
  4. +9 −0 vanilla.settimeout.sublime-snippet
View
@@ -1,3 +1,10 @@
+2013-01-29
+----------
+* Changed `okfn` to `okfe`
+* Removed 'done()' from `ita`.
+* Added `setTimeout` **[sto]**
+* Added `setInterval` **[sti]**
+
2012-12-01
----------
* Added `console.error` **[ce]**
View
@@ -123,6 +123,23 @@ require('${1:package}')${0}
```
+### [sto] setTimeout
+
+```javascript
+setTimeout(function() {
+ ${2:// body...}
+}, ${1:millis})
+```
+
+### [sti] setInterval
+
+```javascript
+setInterval(function() {
+ ${2:// body...}
+}, ${1:millis})
+```
+
+
Behaviorial Driven Development
------------------------------
@@ -0,0 +1,9 @@
+<snippet>
+ <content><![CDATA[setInterval(function() {
+ ${2:// body...}
+}, ${1:millis})
+]]></content>
+ <tabTrigger>sti</tabTrigger>
+ <scope>source.js</scope>
+ <description>setInterval</description>
+</snippet>
@@ -0,0 +1,9 @@
+<snippet>
+ <content><![CDATA[setTimeout(function() {
+ ${2:// body...}
+}, ${1:millis})
+]]></content>
+ <tabTrigger>sto</tabTrigger>
+ <scope>source.js</scope>
+ <description>setTimeout</description>
+</snippet>

0 comments on commit 38a1845

Please sign in to comment.