Skip to content

Commit

Permalink
Remove unnecessary import and console.log in HTML files
Browse files Browse the repository at this point in the history
Removed an unnecessary import statement from 'pulsar-config.html', and a console.log statement from 'pulsar-schema.html'. These changes lead to cleaner code, improving readability and eliminating potentially confusing or distracting elements.
  • Loading branch information
ng-galien committed Jan 1, 2024
1 parent 4c6277b commit 441785a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 11 deletions.
8 changes: 0 additions & 8 deletions src/pulsar-config.html
Original file line number Diff line number Diff line change
@@ -1,13 +1,5 @@

<script type="text/javascript">

import { EditorRED } from '@types/node-red';
/**
* @type {EditorRED}
*/

const RED = global.RED;

RED.nodes.registerType('pulsar-config', {
category: 'config',
color: '#188fff',
Expand Down
3 changes: 0 additions & 3 deletions src/pulsar-schema.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
<script type="text/javascript">
console.log("register pulsar-schema")

RED.nodes.registerType('pulsar-schema',{
category: 'config',
color: '#188fff',
Expand All @@ -15,7 +13,6 @@
return this.name || "pulsar-schema";
},
oneditprepare: function() {

$("#node-config-input-schemaType").typedInput({type:"schemaType", types:[{
value: "schemaType",
multiple: false,
Expand Down

0 comments on commit 441785a

Please sign in to comment.