MCPcopy Create free account
hub / github.com/breck7/scroll / resolve

Function resolve

external/.datatables.js:3458–3482  ·  view source on GitHub ↗
(item)

Source from the content-addressed store, hash-verified

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")

Callers 8

cloneMethod · 0.85
settleFunction · 0.85
_appendScriptMethod · 0.85
_handleDroppedFileMethod · 0.85
_layoutResolveFunction · 0.85
transition_endFunction · 0.85
imageFunction · 0.85

Calls 1

getFeatureFunction · 0.85

Tested by

no test coverage detected