Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Added sto and sti.

  • Loading branch information...
commit 38a184537e0ddbbc9cae0cef639f83adba7c83b5 1 parent 0e2b9c8
JP Richardson authored
7 CHANGELOG.md
Source Rendered
... ... @@ -1,3 +1,10 @@
  1 +2013-01-29
  2 +----------
  3 +* Changed `okfn` to `okfe`
  4 +* Removed 'done()' from `ita`.
  5 +* Added `setTimeout` **[sto]**
  6 +* Added `setInterval` **[sti]**
  7 +
1 8 2012-12-01
2 9 ----------
3 10 * Added `console.error` **[ce]**
17 README.md
Source Rendered
@@ -123,6 +123,23 @@ require('${1:package}')${0}
123 123 ```
124 124
125 125
  126 +### [sto] setTimeout
  127 +
  128 +```javascript
  129 +setTimeout(function() {
  130 + ${2:// body...}
  131 +}, ${1:millis})
  132 +```
  133 +
  134 +### [sti] setInterval
  135 +
  136 +```javascript
  137 +setInterval(function() {
  138 + ${2:// body...}
  139 +}, ${1:millis})
  140 +```
  141 +
  142 +
126 143
127 144 Behaviorial Driven Development
128 145 ------------------------------
9 vanilla.setinterval.sublime-snippet
... ... @@ -0,0 +1,9 @@
  1 +<snippet>
  2 + <content><![CDATA[setInterval(function() {
  3 + ${2:// body...}
  4 +}, ${1:millis})
  5 +]]></content>
  6 + <tabTrigger>sti</tabTrigger>
  7 + <scope>source.js</scope>
  8 + <description>setInterval</description>
  9 +</snippet>
9 vanilla.settimeout.sublime-snippet
... ... @@ -0,0 +1,9 @@
  1 +<snippet>
  2 + <content><![CDATA[setTimeout(function() {
  3 + ${2:// body...}
  4 +}, ${1:millis})
  5 +]]></content>
  6 + <tabTrigger>sto</tabTrigger>
  7 + <scope>source.js</scope>
  8 + <description>setTimeout</description>
  9 +</snippet>

0 comments on commit 38a1845

Please sign in to comment.
Something went wrong with that request. Please try again.