convert photo player to class

This commit is contained in:
dkanada 2020-05-19 03:59:37 +09:00
parent d0a4e14c0c
commit 05b9f4df3e
3 changed files with 23 additions and 19 deletions

View file

@ -34,7 +34,7 @@ define(['events'], function (events) {
require([url, 'globalize', 'appRouter'], function (pluginFactory, globalize, appRouter) {
var plugin = new pluginFactory();
var plugin = pluginFactory.default ? new pluginFactory.default() : new pluginFactory();
// See if it's already installed
var existing = instance.pluginsList.filter(function (p) {