mirror of
https://github.com/node-red/node-red-nodes.git
synced 2025-03-01 10:37:43 +00:00
Handle users of old Blinkstick npm a bit more nicely.
Don't barf (quite so badly) on new API calls if they don't exist yet.
This commit is contained in:
@@ -60,9 +60,7 @@
|
||||
<label for="node-input-name"><i class="fa fa-tag"></i> Name</label>
|
||||
<input type="text" id="node-input-name" placeholder="Name">
|
||||
</div>
|
||||
<div class="form-tips">Expects a msg.payload with either hex "#rrggbb" or decimal "red,green,blue" string.</div>
|
||||
|
||||
</script>
|
||||
<div class="form-tips">Expects a msg.payload with either hex "#rrggbb" or decimal "red,green,blue" string, or HTML color name.</div>
|
||||
</script>
|
||||
|
||||
<script type="text/x-red" data-help-name="blinkstick">
|
||||
@@ -81,7 +79,7 @@
|
||||
{ 'task': 'pulse', 'color': 'gree', 'duration': 500 }
|
||||
{ 'task': 'morph', 'color': 'orange', 'duration': 500, 'steps': 20 }
|
||||
</pre>
|
||||
<p>For more info see <i><a href="http://www.blinkstick.com/help/tutorials" target="_new">BlinkStick tutorials</a></i>
|
||||
<p>For more info see <i><a href="http://www.blinkstick.com/help/tutorials" target="_new">BlinkStick tutorials</a></i>
|
||||
or the <i><a href="https://github.com/arvydas/blinkstick-node" target="_new">node module</a></i> documentation.</p>
|
||||
</script>
|
||||
|
||||
|
Reference in New Issue
Block a user