Update Semantic to 2.1

Ticket #56
This commit is contained in:
Tim Schumacher 2016-06-10 00:34:34 +02:00
parent 3f1e728781
commit 4385f1acbc
425 changed files with 59924 additions and 37200 deletions

View file

@ -1,5 +1,5 @@
/*!
* # Semantic UI 1.11.4 - Video
* # Semantic UI 2.0.0 - Video
* http://github.com/semantic-org/semantic-ui/
*
*
@ -69,11 +69,9 @@ $.fn.video = function(parameters) {
initialize: function() {
module.debug('Initializing video');
module.create();
$placeholder
.on('click' + eventNamespace, module.play)
;
$playButton
.on('click' + eventNamespace, module.play)
$module
.on('click' + eventNamespace, selector.placeholder, module.play)
.on('click' + eventNamespace, selector.playButton, module.play)
;
module.instantiate();
},
@ -106,12 +104,6 @@ $.fn.video = function(parameters) {
.removeData(moduleNamespace)
.off(eventNamespace)
;
$placeholder
.off(eventNamespace)
;
$playButton
.off(eventNamespace)
;
},
refresh: function() {
@ -350,7 +342,7 @@ $.fn.video = function(parameters) {
});
}
clearTimeout(module.performance.timer);
module.performance.timer = setTimeout(module.performance.display, 100);
module.performance.timer = setTimeout(module.performance.display, 500);
},
display: function() {
var
@ -466,7 +458,7 @@ $.fn.video.settings = {
namespace : 'video',
debug : false,
verbose : true,
verbose : false,
performance : true,
metadata : {