(content, circularCheckArray)
| 16563 | return this._setFromObject(content, circularCheckArray) |
| 16564 | } |
| 16565 | _setFromObject(content, circularCheckArray) { |
| 16566 | for (let cue in content) { |
| 16567 | if (!content.hasOwnProperty(cue)) continue |
| 16568 | // Branch the circularCheckArray, as we only have same branch circular arrays |
| 16569 | this._appendFromJavascriptObjectTuple(cue, content[cue], circularCheckArray.slice(0)) |
| 16570 | } |
| 16571 | return this |
| 16572 | } |
| 16573 | // todo: refactor the below. |
| 16574 | _appendFromJavascriptObjectTuple(cue, content, circularCheckArray) { |
| 16575 | const type = typeof content |
no test coverage detected