Skip to content

Commit 5e0db84

Browse files
author
Jelte Lagendijk
committed
Cleanup code
1 parent 7ec4b0d commit 5e0db84

File tree

7 files changed

+181
-191
lines changed

7 files changed

+181
-191
lines changed

package.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
{
22
"name": "MicroflowTimer",
3-
"version": "2.4.0",
3+
"version": "2.5.0",
44
"description": "",
55
"license": "",
66
"author": "",
77
"private": true,
8-
"dependencies": {
9-
},
8+
"dependencies": {},
109
"devDependencies": {
1110
"del": "^2.2.2",
1211
"gulp": "^3.9.1",
@@ -35,4 +34,4 @@
3534
"folders": "node ./node_modules/gulp/bin/gulp folders",
3635
"modeler": "node ./node_modules/gulp/bin/gulp modeler"
3736
}
38-
}
37+
}

src/MicroflowTimer/MicroflowTimer.xml

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,12 @@
66
<icon></icon>
77

88
<properties>
9-
<property key="interval" type="integer" defaultValue="30000">
9+
<property key="interval" type="integer" defaultValue="30000">
1010
<caption>Interval (in ms)</caption>
1111
<category>Behavior</category>
1212
<description>
13-
Defines how often the microflow is called. Note that the inteval is in milliseconds, so the default, 30000, equals 30 seconds. Note that, unless Execute Once is set to true, the microflow is invoked immediately after loading the form for the first time.
13+
Defines how often the microflow is called. Note that the inteval is in milliseconds, so the default, 30000, equals 30 seconds. Note that, unless Execute Once is set to true, the microflow is invoked immediately after loading the form for the first
14+
time.
1415
</description>
1516
</property>
1617
<property key="once" type="boolean" defaultValue="false">
@@ -27,32 +28,31 @@
2728
<caption>Microflow</caption>
2829
<category>Behavior</category>
2930
<description>The microflow to be executed. If the microflow returns false, it will not be executed any longer until the context changes.</description>
30-
<returnType type="Boolean" />
31+
<returnType type="Boolean"/>
3132
</property>
32-
<property key="firstIntervalAttr" type="attribute" required="false">
33+
<property key="firstIntervalAttr" type="attribute" required="false">
3334
<caption>First tick delay</caption>
3435
<category>Context</category>
3536
<description>An optional attribute on the context entity, indicating a custom first interval (in milliseconds). This could be used for continuing a timer that ticks once per minute, but should wait for 60 seconds thereafter.</description>
36-
<attributeTypes>
37-
<attributeType name="Integer" />
38-
</attributeTypes>
39-
</property>
40-
<property key="intervalAttr" type="attribute" required="false">
37+
<attributeTypes>
38+
<attributeType name="Integer"/>
39+
</attributeTypes>
40+
</property>
41+
<property key="intervalAttr" type="attribute" required="false">
4142
<caption>Interval Attribute (in ms)</caption>
4243
<category>Context</category>
4344
<description>Defines how often the microflow is called using an attribute. If set, overrides the interval specified below.</description>
44-
<attributeTypes>
45-
<attributeType name="Integer" />
46-
</attributeTypes>
47-
</property>
48-
<property key="timerStatusAttr" type="attribute" required="false">
45+
<attributeTypes>
46+
<attributeType name="Integer"/>
47+
</attributeTypes>
48+
</property>
49+
<property key="timerStatusAttr" type="attribute" required="false">
4950
<caption>Timer Status Attribute</caption>
5051
<category>Context</category>
5152
<description>An optional attribute on the context entity, indicating the status of the timer.</description>
52-
<attributeTypes>
53-
<attributeType name="Boolean" />
54-
</attributeTypes>
55-
</property>
53+
<attributeTypes>
54+
<attributeType name="Boolean"/>
55+
</attributeTypes>
56+
</property>
5657
</properties>
5758
</widget>
58-

0 commit comments

Comments
 (0)