MCPcopy Create free account
hub / github.com/SynologyOpenSource/pkgscripts-ng / MergeDependency

Function MergeDependency

tool/GenerateJSDepend.php:39–48  ·  view source on GitHub ↗

Get all dependency from one js file. e.g. */ fn = "js/abc.js": { "SYNO.AAA": { "depend" : [ "SYNO.Parent" ] }, "SYNO.BBB" : { "depend" : [ "SYNO.Father" ] } } input --> fn["js/abc.js"] output --> ["SYNO.Parent", "SYNO.Father"] */

($fnList)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected