forked from Pencroff/WebStorm-Live-Template
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathTimers.xml
48 lines (47 loc) · 2.55 KB
/
Timers.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<?xml version="1.0" encoding="UTF-8"?>
<templateSet group="Timers">
<template name="seti" value="setInterval($FUNC$, $PERIOD$);" description="The setInterval() method" toReformat="false" toShortenFQNames="true">
<variable name="FUNC" expression="complete()" defaultValue=""function"" alwaysStopAt="true" />
<variable name="PERIOD" expression="enum("10", "1 / 60", "1 / 30", "50", "100", "1000")" defaultValue=""10"" alwaysStopAt="true" />
<context>
<option name="HTML_TEXT" value="false" />
<option name="HTML" value="false" />
<option name="XSL_TEXT" value="false" />
<option name="XML" value="false" />
<option name="JSP" value="false" />
<option name="CSS_PROPERTY_VALUE" value="false" />
<option name="CSS_DECLARATION_BLOCK" value="false" />
<option name="CSS_RULESET_LIST" value="false" />
<option name="CSS" value="false" />
<option name="JAVA_SCRIPT" value="true" />
<option name="TypeScript" value="false" />
<option name="HAML" value="false" />
<option name="DART" value="false" />
<option name="CoffeeScript" value="false" />
<option name="JADE" value="false" />
<option name="OTHER" value="false" />
</context>
</template>
<template name="sett" value="setInterval($FUNC$, $PERIOD$);" description="The setTimeout() method" toReformat="false" toShortenFQNames="true">
<variable name="FUNC" expression="complete()" defaultValue=""function"" alwaysStopAt="true" />
<variable name="PERIOD" expression="enum("10", "1 / 60", "1 / 30", "50", "100", "1000")" defaultValue=""10"" alwaysStopAt="true" />
<context>
<option name="HTML_TEXT" value="false" />
<option name="HTML" value="false" />
<option name="XSL_TEXT" value="false" />
<option name="XML" value="false" />
<option name="JSP" value="false" />
<option name="CSS_PROPERTY_VALUE" value="false" />
<option name="CSS_DECLARATION_BLOCK" value="false" />
<option name="CSS_RULESET_LIST" value="false" />
<option name="CSS" value="false" />
<option name="JAVA_SCRIPT" value="true" />
<option name="TypeScript" value="false" />
<option name="HAML" value="false" />
<option name="DART" value="false" />
<option name="CoffeeScript" value="false" />
<option name="JADE" value="false" />
<option name="OTHER" value="false" />
</context>
</template>
</templateSet>