Skip to content

Commit c4b1df3

Browse files
author
Dave Conway-Jones
committed
2 parents e234952 + 0417261 commit c4b1df3

File tree

6 files changed

+7
-6
lines changed

6 files changed

+7
-6
lines changed

templates/function/icons/icon.png

-457 Bytes
Binary file not shown.

templates/function/icons/icon.svg

Lines changed: 1 addition & 0 deletions
Loading

templates/function/node.html.mustache

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
<script type="text/x-red" data-template-name="{{&nodeName}}">
1+
<script type="text/html" data-template-name="{{&nodeName}}">
22
<div class="form-row">
33
<label for="node-input-name"><i class="fa fa-tag"></i> <span data-i18n="node-red:common.label.name"></span></label>
44
<input type="text" id="node-input-name" data-i18n="[placeholder]node-red:common.label.name">
55
</div>
66
</script>
77

8-
<script type="text/x-red" data-help-name="{{&nodeName}}">
8+
<script type="text/html" data-help-name="{{&nodeName}}">
99
<p>Summary of the node.</p>
1010
<h3>Inputs</h3>
1111
<dl class="message-properties">

templates/swagger/node.html.mustache

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@
124124
{{/hasServiceParams}}
125125

126126
<div class="form-row">
127-
<label for="node-input-method"><i class="icon-tasks"></i> <span data-i18n="{{&className}}.label.method"></span></label>
127+
<label for="node-input-method"><i class="fa fa-tasks"></i> <span data-i18n="{{&className}}.label.method"></span></label>
128128
<select id="node-input-method">
129129
{{#methods}}
130130
<option value="{{&methodName}}" data-i18n="{{&className}}.parameters.{{&methodName}}"></option>

templates/webofthings/node.html.mustache

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@
201201
});
202202
</script>
203203

204-
<script type="text/x-red" data-template-name="{{&nodeName}}">
204+
<script type="text/html" data-template-name="{{&nodeName}}">
205205
<div class="form-row">
206206
<label for="node-input-interactiontype"><i class="fa fa-exchange"></i> Interaction</label>
207207
<select id="node-input-interactiontype">
@@ -263,7 +263,7 @@
263263
</div>
264264
</script>
265265

266-
<script type="text/x-red" data-help-name="{{&nodeName}}">
266+
<script type="text/html" data-help-name="{{&nodeName}}">
267267
<p dir="{{textdir}}">{{description}}</p>
268268

269269
<h3>Inputs</h3>

test/lib/nodegen_spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ describe('nodegen library', function () {
1717
fs.statSync(result + '/node.html').size.should.be.above(0);
1818
fs.statSync(result + '/node.js').size.should.be.above(0);
1919
fs.statSync(result + '/test/node_spec.js').size.should.be.above(0);
20-
fs.statSync(result + '/icons/icon.png').size.should.be.above(0);
20+
fs.statSync(result + '/icons/icon.svg').size.should.be.above(0);
2121
fs.statSync(result + '/README.md').size.should.be.above(0);
2222
fs.statSync(result + '/LICENSE').size.should.be.above(0);
2323
fs.statSync(result + '/.travis.yml').size.should.be.above(0);

0 commit comments

Comments
 (0)