convert photo player to class
This commit is contained in:
parent
d0a4e14c0c
commit
05b9f4df3e
3 changed files with 23 additions and 19 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue