Lines Matching refs:plugin

501     disable: function( instance, plugin ) {  argument
503 if ( instance.data.disabled[ plugin ] ) {
507 instance.data.disabled[ plugin ] = true;
509 if ( plugin in Popcorn.registryByName &&
510 instance.data.running[ plugin ] ) {
512 for ( var i = instance.data.running[ plugin ].length - 1, event; i >= 0; i-- ) {
514 event = instance.data.running[ plugin ][ i ];
519 plugin: event.type,
528 enable: function( instance, plugin ) { argument
530 if ( !instance.data.disabled[ plugin ] ) {
534 instance.data.disabled[ plugin ] = false;
536 if ( plugin in Popcorn.registryByName &&
537 instance.data.running[ plugin ] ) {
539 for ( var i = instance.data.running[ plugin ].length - 1, event; i >= 0; i-- ) {
541 event = instance.data.running[ plugin ][ i ];
546 plugin: event.type,
559 singleEvent, item, fn, plugin;
571 for ( plugin in Popcorn.registryByName ) {
572 Popcorn.removePlugin( instance, plugin );
651 Popcorn.p[ method ] = function( plugin ) { argument
652 return Popcorn[ method ]( this, plugin );
850 toggle: function( plugin ) { argument
851 return Popcorn[ this.data.disabled[ plugin ] ? "enable" : "disable" ]( this, plugin );
855 defaults: function( plugin, defaults ) { argument
859 if ( Popcorn.isArray( plugin ) ) {
861 Popcorn.forEach( plugin, function( obj ) {
874 if ( !this.options.defaults[ plugin ] ) {
875 this.options.defaults[ plugin ] = {};
878 Popcorn.extend( this.options.defaults[ plugin ], defaults );
1148 plugin: track._natives.type,
1176 plugin: track._natives.type,
1449 plugin: track._natives.type,
1467 track._natives ? { plugin: track._natives.type } : {}, {
1502 plugin: track._natives.type,
1595 plugin: type,
1632 plugin: type,
1673 plugin: type,
1711 plugin: type,
1781 Popcorn.plugin = function( name, definition, manifest ) { function
1793 plugin = {},
1852 options._natives.type = options._natives.plugin = name;
1882 plugin: natives.type,
1893 plugin: name,
1982 plugin: options._natives.type,
2018 Popcorn.p[ name ] = plugin[ name ] = function( id, options ) {
2107 plugin: trackEvent._natives.type,
2171 fn: plugin[ name ],
2178 Popcorn.extend( plugin, entry, {
2184 return plugin;
2188 Popcorn.plugin.errors = [];
2195 if ( Popcorn.plugin.debug ) {
2204 Popcorn.plugin.errors.push({
2205 plugin: pluginName,
2212 this.emit( "pluginerror", Popcorn.plugin.errors );
2219 Popcorn.plugin.debug = ( Popcorn.version === "@" + "VERSION" );
2314 Popcorn.plugin.effect = Popcorn.effect = Popcorn.compose;