Merge pull request #339 from zwhitchcox/patch-2

remove unnecessary comment
This commit is contained in:
Mark Nadal 2017-03-15 13:45:47 -07:00 committed by GitHub
commit a4324ff019

1
gun.js
View File

@ -1443,7 +1443,6 @@
;require(function(module){ ;require(function(module){
var Gun = require('./root'); var Gun = require('./root');
Gun.chain.get = function(key, cb, as){ Gun.chain.get = function(key, cb, as){
//if(!as || !as.path){ var back = this._.root; } // TODO: CHANGING API! Remove this line!
if(typeof key === 'string'){ if(typeof key === 'string'){
var gun, back = this, cat = back._; var gun, back = this, cat = back._;
var next = cat.next || empty, tmp; var next = cat.next || empty, tmp;