mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Add page object code for split node and remove duplicated code
This commit is contained in:
parent
5ecf8c83db
commit
f7d2314d64
@ -18,13 +18,13 @@ var util = require('util');
|
||||
|
||||
var nodePage = require('../../node_page');
|
||||
|
||||
function joinNode(id) {
|
||||
function splitNode(id) {
|
||||
nodePage.call(this, id);
|
||||
}
|
||||
|
||||
util.inherits(joinNode, nodePage);
|
||||
util.inherits(splitNode, nodePage);
|
||||
|
||||
module.exports = joinNode;
|
||||
module.exports = splitNode;
|
||||
|
||||
function joinNode(id) {
|
||||
nodePage.call(this, id);
|
||||
|
Loading…
Reference in New Issue
Block a user