git ssb

0+

wanderer🌟 / js-primea-hypervisor



Commit 96e39ab7ae1995be4bbba6a87ca43f4a1e310e4c

remobe get from portmanager

wanderer committed on 5/15/2017, 5:34:53 PM
Parent: 1083d2c0b8a6bbe729c7484eea2f03a5b54da970

Files changed

portManager.jschanged
portManager.jsView
@@ -56,13 +56,8 @@
5656 queue (message) {
5757 this._portMap.get(message.fromPort).queue(message)
5858 }
5959
60- set (name, port) {
61- this.ports[name] = port
62- this._mapPort(name, port)
63- }
64-
6560 get (key) {
6661 return this.ports[key]
6762 }
6863
@@ -85,9 +80,11 @@
8580 }
8681 }
8782
8883 // create the port instance
89- this.set(name, portRef)
84+ this.ports[name] = portRef
85+ this._mapPort(name, portRef)
86+
9087 // incerment the nonce
9188 nonce = new BN(nonce)
9289 nonce.iaddn(1)
9390 this.state['/'].nonce = nonce.toArray()

Built with git-ssb-web