AlkantarClanX12

Your IP : 3.143.218.180


Current Path : /home/thanudqk/www/wordpress_leaderboard/wp-content/plugins/visualizer/js/media/
Upload File :
Current File : /home/thanudqk/www/wordpress_leaderboard/wp-content/plugins/visualizer/js/media/toolbar.js

(function(wpmv, wpmvt) {
	var wpmvvl, wpmvtv, wpmvlvb;

	wpmvvl = wpmv.visualizer.Library;
	wpmvlvb = wpmv.l10n.visualizer.button;

	wpmv.toolbar = wpmv.toolbar || {};
	wpmvtv = wpmv.toolbar.visualizer = {};

	/**
	 * =========================================================================
	 * Library Toolbar
	 * =========================================================================
	 */
	wpmvtv.Library = wpmvt.extend({
		initialize: function() {
			var self = this;

			_.defaults(self.options, {
				close: false,
				items: {
					type_filter: new wpmvvl.Types({
						controller: self.controller,
						priority: -100
					}),
					pagination: new wpmvvl.Pagination({
						controller: self.controller,
						priority: 100
					})
				}
			});

			wpmvt.prototype.initialize.apply(self, arguments);
		}
	});
})(wp.media.view, wp.media.view.Toolbar);