vendor/assets/javascripts/webshims/shims/mediaelement-native-fix.js in webshims-rails-1.10.3 vs vendor/assets/javascripts/webshims/shims/mediaelement-native-fix.js in webshims-rails-1.10.6

- old
+ new

@@ -1,6 +1,6 @@ -jQuery.webshims.register('mediaelement-native-fix', function($, webshims, window, document, undefined){ +webshims.register('mediaelement-native-fix', function($, webshims, window, document, undefined){ if(Modernizr.videoBuffered){return;} var getBufferedData = function(elem){ var data = webshims.data(elem, 'mediaelementBuffered'); if(!data){ @@ -92,8 +92,9 @@ $('video, audio', context) .add(insertedElement.filter('video, audio')) .on('load progress', loadProgessListener) .on('emptied', removeProgress) ; + }); }); \ No newline at end of file