Commit 837d00d4 authored by Spencer Williams's avatar Spencer Williams
Browse files

move into its own directory. tweak category

parent 168ba20c
...@@ -95,8 +95,8 @@ ...@@ -95,8 +95,8 @@
<script type="text/javascript"> <script type="text/javascript">
RED.nodes.registerType('scan ble',{ RED.nodes.registerType('scan ble',{
category: 'advanced', // the palette category category: "Vesta DemoKit", // the palette category
color:"#C0DEED", color:"#A6BBCF",
defaults: { // defines the editable properties of the node defaults: { // defines the editable properties of the node
uuids: {value:"", validate:RED.validators.regex(/^([a-fA-F0-9]{32}){0,1}(?:,[a-fA-F0-9]{32})*$/)}, uuids: {value:"", validate:RED.validators.regex(/^([a-fA-F0-9]{32}){0,1}(?:,[a-fA-F0-9]{32})*$/)},
duplicates: {value:false}, duplicates: {value:false},
...@@ -110,11 +110,8 @@ ...@@ -110,11 +110,8 @@
if (this.name) { if (this.name) {
return this.name; return this.name;
} else { } else {
return "Scan BLEs"; return "noble-scan";
} }
},
labelStyle: function() { // sets the class to apply to the label
return this.name ? "node_label_italic" : "";
} }
}); });
</script> </script>
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
"node-red": { "node-red": {
"nodes": { "nodes": {
"noble-connect": "noble-connect/node-red-noble-connect.js", "noble-connect": "noble-connect/node-red-noble-connect.js",
"noble": "noble-connect/node-red-contrib-noble.js" "noble-scan": "noble-scan/node-red-contrib-noble.js"
} }
}, },
"keywords": [], "keywords": [],
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment