git ssb

30+

cel / git-ssb-web



Commit fb416ad1c63eb661888fd5c6fd9e9d6f1fbb98f0

Implement extend

cel committed on 11/4/2016, 4:33:56 PM
Parent: c0b3297f912bfbd496a8de48b191884b2e73f9a1

Files changed

lib/repos/index.jschanged
lib/repos/index.jsView
@@ -14,10 +14,15 @@
1414 var ssbRef = require('ssb-ref')
1515 var zlib = require('zlib')
1616 var toPull = require('stream-to-pull-stream')
1717 var h = require('pull-hyperscript')
18-var extend = require('xtend')
1918
19 +function extend(obj, props) {
20 + for (var k in props)
21 + obj[k] = props[k]
22 + return obj
23 +}
24 +
2025 module.exports = function (web) {
2126 return new RepoRoutes(web)
2227 }
2328

Built with git-ssb-web