assets/javascripts/semantic_ui/definitions/modules/video.js in less-rails-semantic_ui-1.6.2.0 vs assets/javascripts/semantic_ui/definitions/modules/video.js in less-rails-semantic_ui-1.7.0.0

- old
+ new

@@ -203,18 +203,18 @@ source = module.get.source(url); id = module.get.id(url); } if(source == 'vimeo') { html = '' - + '<iframe src="http://player.vimeo.com/video/' + id + '?=' + module.generate.url(source) + '"' + + '<iframe src="//player.vimeo.com/video/' + id + '?=' + module.generate.url(source) + '"' + ' width="100%" height="100%"' + ' frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>' ; } else if(source == 'youtube') { html = '' - + '<iframe src="http://www.youtube.com/embed/' + id + '?=' + module.generate.url(source) + '"' + + '<iframe src="//www.youtube.com/embed/' + id + '?=' + module.generate.url(source) + '"' + ' width="100%" height="100%"' + ' frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>' ; } } @@ -364,11 +364,11 @@ }); title += ' ' + totalTime + 'ms'; if(moduleSelector) { title += ' \'' + moduleSelector + '\''; } - if($allModules.size() > 1) { - title += ' ' + '(' + $allModules.size() + ')'; + if($allModules.length > 1) { + title += ' ' + '(' + $allModules.length + ')'; } if( (console.group !== undefined || console.table !== undefined) && performance.length > 0) { console.groupCollapsed(title); if(console.table) { console.table(performance);