Skip to content

Commit

Permalink
Add QUnit snippets
Browse files Browse the repository at this point in the history
  • Loading branch information
gyoshev committed Feb 29, 2012
1 parent fe5a8a0 commit 44b290d
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
11 changes: 11 additions & 0 deletions snippets/html.snippets
@@ -0,0 +1,11 @@
snippet blank
<!doctype html>
<html>
<head>
<meta charset="utf-8" />
<title>${1}</title>
</head>
<body>
${2}
</body>
</html>
16 changes: 16 additions & 0 deletions snippets/javascript.snippets
@@ -0,0 +1,16 @@
# QUnit test
snippet qt
test("${1:test name}", function() {
${2}
});
# QUnit module
snippet qmod
module("${1:module name}", {
setup: function() {
},
teardown: function() {
}
});
# Function
snippet f
function(${1}) {${2}}

0 comments on commit 44b290d

Please sign in to comment.