MCPcopy Index your code
hub / github.com/bgstaal/multipleWindow3dScene / #didWindowsChange

Method #didWindowsChange

WindowManager.js:43–60  ·  view source on GitHub ↗
(pWins, nWins)

Source from the content-addressed store, hash-verified

41
42 // check if theres any changes to the window list
43 #didWindowsChange (pWins, nWins)
44 {
45 if (pWins.length != nWins.length)
46 {
47 return true;
48 }
49 else
50 {
51 let c = false;
52
53 for (let i = 0; i < pWins.length; i++)
54 {
55 if (pWins[i].id != nWins[i].id) c = true;
56 }
57
58 return c;
59 }
60 }
61
62 // initiate current window (add metadata for custom data to store with each window instance)
63 init (metaData)

Callers 1

constructorMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected