Initial commit.

This commit is contained in:
yan
2011-11-17 15:45:33 -06:00
commit 882015bc6d
1819 changed files with 111625 additions and 0 deletions

View File

@@ -0,0 +1 @@
alert(${1:this.element});

View File

@@ -0,0 +1,3 @@
function(${1}) {
${2}
};

View File

@@ -0,0 +1 @@
alert("${1}");

View File

@@ -0,0 +1,3 @@
each(function() {
});

View File

@@ -0,0 +1,3 @@
for (var ${1:i} = 0; $1 < ${2:length}; $1++) {
${3}
}

View File

@@ -0,0 +1,3 @@
function ${1:function_name}(${2:argument}) {
${3:// body}
}

View File

@@ -0,0 +1,3 @@
if (${1:true}) {
${2}
};

View File

@@ -0,0 +1,4 @@
if (${1:true}) {
${2}
} else {
}

View File

@@ -0,0 +1,3 @@
if (${1:true}) {
${2}
}

View File

@@ -0,0 +1 @@
console.log(${1});

View File

@@ -0,0 +1 @@
console.log(${1});

View File

@@ -0,0 +1,3 @@
${1:method_name}: function(${2:attribute}){
${3}
}${4:, }

View File

@@ -0,0 +1,3 @@
${1:property}: function(event) {
${2:body}
}

View File

@@ -0,0 +1,3 @@
${1:property}: function() {
${2:body}
}

View File

@@ -0,0 +1,3 @@
${1:class_name}.prototype.${2:method_name} = function(${3:first_argument}) {
${4:// body}
};

View File

@@ -0,0 +1 @@
I18n.t('${1:type.key}', { defaultValue: '${2}' })${3}

View File

@@ -0,0 +1 @@
setTimeout(function() { ${1} }, ${2:10});