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');
|
var mockBlocks = require('../test/data/blocks');
|
||||||
|
|
||||||
function Blocks() {}
|
var Blocks = {};
|
||||||
|
|
||||||
var node;
|
var node;
|
||||||
Blocks.setNode = function(aNode) {
|
Blocks.setNode = function(aNode) {
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
function NodeStatus() {}
|
var NodeStatus = {};
|
||||||
var node;
|
var node;
|
||||||
NodeStatus.setNode = function(aNode) {
|
NodeStatus.setNode = function(aNode) {
|
||||||
node = aNode;
|
node = aNode;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user