Sindbad~EG File Manager

Current Path : /var/www/html/cibahia.sumar.com.py/wp-content/plugins/peepso-videos/assets/js/
Upload File :
Current File : /var/www/html/cibahia.sumar.com.py/wp-content/plugins/peepso-videos/assets/js/index.js

import { observer } from 'peepso';
import Videos from './videos';
import VideosPage from './page-videos';
import PostboxVideo from './postbox';
import PostboxAudio from './postbox-audio';
import './activitystream';
import './card';

observer.addFilter(
	'peepso_postbox_addons',
	addons => {
		// Make a wrapper object to be executed by main postbox script, so that
		// PostboxVideo class can have a clean initialization with 'new' operator.
		const wrapper = {
			init() {},
			set_postbox( $postbox ) {
				new PostboxVideo( $postbox );
				new PostboxAudio( $postbox );
			}
		};

		addons.push( wrapper );
		return addons;
	},
	10,
	1
);

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists