summaryrefslogtreecommitdiff
path: root/src/model/graph.js
diff options
context:
space:
mode:
authorLV-426 <lv-426@taproot.org.il>2014-12-07 17:43:16 +0200
committerAlon Levy <alon@pobox.com>2014-12-16 10:59:14 +0200
commitc3070191a943a56d45890cc87ec10bca5a7d8db1 (patch)
treee19b53df46932510d53f1665012e386f273a6dbf /src/model/graph.js
parent1a079146de197bb49df5ceb7d6322a92981f22b6 (diff)
__addNode(): log on type != 'bubble'
Diffstat (limited to 'src/model/graph.js')
-rw-r--r--src/model/graph.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/model/graph.js b/src/model/graph.js
index 5b331c57..b95e2ab3 100644
--- a/src/model/graph.js
+++ b/src/model/graph.js
@@ -44,10 +44,10 @@ function Graph() {
} else {
node = model_core.create_node__set_random_id(spec);
if (debug) {
- if ('bubble' == node.type){
- console.debug('__addNode: stamping node id: ' + node.id + ', name: \'' + node.name + '\' (bubble)');
+ if ('bubble' != node.type){
+ console.log('__addNode: stamping node id: ' + node.id + ', name: \'' + node.name + '\' (bubble)');
}else {
- console.debug('__addNode: stamping node id: ' + node.id + ', name: \'' + node.name + '\'');
+ console.log('__addNode: stamping node id: ' + node.id + ', name: \'' + node.name + '\'');
}
}
}