Commit a1db82c19efaa9ef8c2eb03f7cae205cfd977eb6
move to var
Joran committed on 12/13/2018, 8:46:30 PMParent: b295f2542a5506918f20594a971936796f8e581d
Files changed
index.js | changed |
index.js | |||
---|---|---|---|
@@ -77,8 +77,11 @@ | |||
77 | 77 … | sync: sync, | |
78 | 78 … | } | |
79 | 79 … | } | |
80 | 80 … | var self | |
81 … | + | ||
82 … | + name = opts.db_prefix + name | ||
83 … | + | ||
81 | 84 … | return self = { | |
82 | 85 … | id : feed.id, | |
83 | 86 … | keys : opts.keys, | |
84 | 87 … | ||
@@ -99,9 +102,9 @@ | |||
99 | 102 … | }, | |
100 | 103 … | ||
101 | 104 … | //temporary! | |
102 | 105 … | _flumeUse : | |
103 | - function (opts.db_prefix + name, flumeview) { | ||
106 … | + function (name, flumeview) { | ||
104 | 107 … | ssb.use(name, flumeview) | |
105 | 108 … | return ssb[name] | |
106 | 109 … | }, | |
107 | 110 … | ||
Built with git-ssb-web