Refactoring to Constructor
This commit is contained in:
1 parent
42d9fc7e2c
commit
e10425f852
2 files changed
+2
-3
No files matched your search
@@ -1,5 +1,5 @@
|
||||
|
||||
function newStrategyParts () {
|
||||
function newStrategyPartConstructor () {
|
||||
const MODULE_NAME = 'Strategy Parts'
|
||||
const ERROR_LOG = true
|
||||
const logger = newWebDebugLog()
|
||||
@@ -146,4 +146,3 @@ function newStrategyParts () {
|
||||
floatingLayer.killFloatingObject(pFloatingObjectHandle)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -55,7 +55,7 @@ function newFloatingSpace () {
|
||||
thisObject.noteSets = newNoteSets()
|
||||
thisObject.noteSets.initialize(thisObject.floatingLayer)
|
||||
|
||||
thisObject.strategyParts = newStrategyParts()
|
||||
thisObject.strategyParts = newStrategyPartConstructor()
|
||||
thisObject.strategyParts.initialize(thisObject.floatingLayer)
|
||||
|
||||
thisObject.container.eventHandler.listenToEvent('onMouseWheel', onMouseWheel)
|
||||
|
||||
Reference in new issue
Block a user