turn controllers into namespaces
This commit is contained in:
parent
d5781a4bc5
commit
125d7b22f8
@ -9,7 +9,7 @@ var Block = bitcore.Block;
|
||||
|
||||
var mockBlocks = require('../test/data/blocks');
|
||||
|
||||
function Blocks() {}
|
||||
var Blocks = {};
|
||||
|
||||
var node;
|
||||
Blocks.setNode = function(aNode) {
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
'use strict';
|
||||
|
||||
function NodeStatus() {}
|
||||
var NodeStatus = {};
|
||||
var node;
|
||||
NodeStatus.setNode = function(aNode) {
|
||||
node = aNode;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user