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
1 changed files with 3 additions and 3 deletions

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);