Skip to content

Commit

Permalink
Tidy readme for publish
Browse files Browse the repository at this point in the history
  • Loading branch information
Dave Conway-Jones committed Dec 1, 2020
1 parent ddb8586 commit a961a25
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
4 changes: 2 additions & 2 deletions node-red-node-ui-iframe/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ menu or `url` property of an input message.

`payload` property of input message specifies a data sent to the
embedded page using Web messaging API. If a data from the embedded
Web page is received via Web messaging API, it is outputted as
`payload` value of outgoing message.
Web page is received via Web messaging API, it is output as the
`payload` value the of outgoing message.

Example
-------
Expand Down
6 changes: 2 additions & 4 deletions node-red-node-ui-iframe/ui_iframe.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ module.exports = function(RED) {
var count = 0;
function HTML(config) {
count++;
var id = "if"+count;
var id = "nr-db-if"+count;
var url = config.url ? config.url : "";
var allow = "autoplay";
var origin = config.origin ? config.origin : "*";
Expand Down Expand Up @@ -83,9 +83,7 @@ module.exports = function(RED) {
return { msg:msg };
},
beforeSend: function (msg, orig) {
if (orig) {
return orig.msg;
}
if (orig) { return orig.msg; }
},
initController: function($scope, events) {
}
Expand Down

0 comments on commit a961a25

Please sign in to comment.