git ssb

1+

Matt McKegg / mutant



Commit 1f69a7c23c4c4afd58c3c6cd989bba0a1d391283

remove some sneaky es6 that made it in

Matt McKegg committed on 11/20/2016, 2:54:02 AM
Parent: 9a45ee19f015307308d964ffa52965fe95ed8ad0

Files changed

idle-proxy.jschanged
map.jschanged
idle-proxy.jsView
@@ -2,7 +2,9 @@
22 var onceIdle = require('./once-idle')
33
44 module.exports = function IdleProxy (fn) {
55 var obs = Proxy()
6- onceIdle(() => obs.set(fn()))
6 + onceIdle(function () {
7 + obs.set(fn())
8 + })
79 return obs
810 }
map.jsView
@@ -202,9 +202,11 @@
202202 }
203203 }
204204 if (changed.length) {
205205 var rawValue = raw[changed[0]]
206- changed.forEach((index) => { raw[index] = null })
206 + changed.forEach(function (index) {
207 + raw[index] = null
208 + })
207209 if (!raw.includes(rawValue)) {
208210 removeMapped(rawValue)
209211 }
210212 changed.forEach(updateItem)

Built with git-ssb-web