|
@@ -26,11 +26,11 @@ export default class Plugin {
|
|
|
*/
|
|
|
getTarget (target, callerPlugin, el) {
|
|
|
if (typeof target === 'string') {
|
|
|
- // this.core.log('string is a target')
|
|
|
+ this.core.log('string is a target')
|
|
|
document.querySelector(target).appendChild(el)
|
|
|
return target
|
|
|
} else {
|
|
|
- // this.core.log('plugin is a target')
|
|
|
+ this.core.log('plugin is a target')
|
|
|
let targetPlugin = this.core.getPlugin(target.name)
|
|
|
let selectorTarget = targetPlugin.addTarget(callerPlugin, el)
|
|
|
|