(item)
| 3456 | } |
| 3457 | |
| 3458 | var resolve = function (item) { |
| 3459 | if (!row[item]) { |
| 3460 | return |
| 3461 | } |
| 3462 | |
| 3463 | var line = row[item].contents |
| 3464 | |
| 3465 | for (var i = 0, ien = line.length; i < ien; i++) { |
| 3466 | if (!line[i]) { |
| 3467 | continue |
| 3468 | } else if (typeof line[i] === "string") { |
| 3469 | line[i] = getFeature(line[i], null) |
| 3470 | } else if ($.isPlainObject(line[i])) { |
| 3471 | // If it's an object, it just has feature and opts properties from |
| 3472 | // the transform in _layoutArray |
| 3473 | line[i] = getFeature(line[i].feature, line[i].opts) |
| 3474 | } else if (typeof line[i].node === "function") { |
| 3475 | line[i] = line[i].node(settings) |
| 3476 | } else if (typeof line[i] === "function") { |
| 3477 | var inst = line[i](settings) |
| 3478 | |
| 3479 | line[i] = typeof inst.node === "function" ? inst.node() : inst |
| 3480 | } |
| 3481 | } |
| 3482 | } |
| 3483 | |
| 3484 | resolve("start") |
| 3485 | resolve("end") |
no test coverage detected