Sha256: a4e1b77fdae1ce02ce20586b0c9206ecbc8686ad6f0e1f3c144ddf1de8abf9fa

Contents?: true

Size: 774 Bytes

Versions: 6

Compression:

Stored size: 774 Bytes

Contents

webshims.register('mediagroup', function($, webshims, window, document, undefined){
	"use strict";
	var mediaelement = webshims.mediaelement;
	
	
	mediaelement.mediagroup = {
		set: function(){
			console.log(this, arguments, 'mediagroupSet')
		}
	};
	
	
	mediaelement.controller = {};
	
	['audio', 'video'].forEach(function(name){
		
		var controller = {
			set: function(){
				console.log(this, arguments, 'controllerSet')
				return controller.sup.prop._supset && controller.sup.prop._supset.apply(this, arguments);
			},
			get: function(){
				console.log(this, arguments, 'controllerGet', controller)
				return controller.sup.prop._supget && controller.sup.prop._supget.apply(this, arguments) || null;
			}
		};
		mediaelement.controller[name] = controller;
	});
});

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
webshims-rails-1.11.6.1 vendor/assets/javascripts/webshims/shims/mediagroup.js
webshims-rails-1.11.6 vendor/assets/javascripts/webshims/shims/mediagroup.js
webshims-rails-1.11.3.1 vendor/assets/javascripts/webshims/shims/mediagroup.js
webshims-rails-1.11.3 vendor/assets/javascripts/webshims/shims/mediagroup.js
webshims-rails-1.11.2 vendor/assets/javascripts/webshims/shims/mediagroup.js
webshims-rails-1.11.1 vendor/assets/javascripts/webshims/shims/mediagroup.js