git ssb

0+

wanderer🌟 / js-primea-hypervisor



Commit 1df41b95ebf09568a8c125df38f2bcedfb9ad8b5

flexable types for copy

wanderer committed on 5/27/2017, 8:44:43 PM
Parent: ee2ec06375d8aa1dbc04ba175e9de5085bfa8c42

Files changed

portManager.jschanged
portManager.jsView
@@ -154,9 +154,9 @@
154154 /**
155155 * creates a copy of a port given a port referance
156156 * @param {Object} port - the port to copy
157157 */
158- copy (port) {
158+ copy (port, type = port.type) {
159159 return this._createPortObject(port.type, port.link)
160160 }
161161
162162 /**

Built with git-ssb-web