MCPcopy
hub / github.com/phaserjs/phaser / makeSys

Function makeSys

tests/scene/GetScenePlugins.test.js:5–13  ·  view source on GitHub ↗
(defaultPlugins, scenePlugins)

Source from the content-addressed store, hash-verified

3describe('Phaser.Scenes.GetScenePlugins', function ()
4{
5 function makeSys(defaultPlugins, scenePlugins)
6 {
7 return {
8 plugins: {
9 getDefaultScenePlugins: function () { return defaultPlugins; }
10 },
11 settings: scenePlugins !== undefined ? { plugins: scenePlugins } : {}
12 };
13 }
14
15 it('should return scene-level plugins when defined as an array', function ()
16 {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…