Skip to content

Commit 656c1a1

Browse files
committed
Consistent space after function keyword
1 parent 1a705b5 commit 656c1a1

5 files changed

+5
-5
lines changed

dom-addEvent.sublime-snippet

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<snippet>
22
<content><![CDATA[
3-
${1:document}.addEventListener('${2:event}', function(e) {
3+
${1:document}.addEventListener('${2:event}', function (e) {
44
${0:// body...}
55
});
66
]]></content>

function-anonymous.sublime-snippet

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<snippet>
22
<content><![CDATA[
3-
function(${1:arguments}) {
3+
function (${1:arguments}) {
44
${0:// body...}
55
}
66
]]></content>

function-prototype.sublime-snippet

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<snippet>
22
<content><![CDATA[
3-
${1:ClassName}.prototype.${2:methodName} = function(${3:arguments}) {
3+
${1:ClassName}.prototype.${2:methodName} = function (${3:arguments}) {
44
${0:// body...}
55
}
66
]]></content>

timer-setInterval.sublime-snippet

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<snippet>
22
<content><![CDATA[
3-
setInterval(function() {
3+
setInterval(function () {
44
${0:// body...}
55
}, ${1:delay});
66
]]></content>

timer-setTimeout.sublime-snippet

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<snippet>
22
<content><![CDATA[
3-
setTimeout(function() {
3+
setTimeout(function () {
44
${0:// body...}
55
}, ${1:delay});
66
]]></content>

0 commit comments

Comments
 (0)