1
0
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:
Kazuhito Yokoi 2020-02-25 19:01:17 +09:00
parent 5ecf8c83db
commit f7d2314d64

View File

@ -18,13 +18,13 @@ var util = require('util');
var nodePage = require('../../node_page'); var nodePage = require('../../node_page');
function joinNode(id) { function splitNode(id) {
nodePage.call(this, id); nodePage.call(this, id);
} }
util.inherits(joinNode, nodePage); util.inherits(splitNode, nodePage);
module.exports = joinNode; module.exports = splitNode;
function joinNode(id) { function joinNode(id) {
nodePage.call(this, id); nodePage.call(this, id);