|
@ -70,6 +70,13 @@ semantic.ready = function() { |
|
|
$code = $('div.code').not('.existing'), |
|
|
$code = $('div.code').not('.existing'), |
|
|
$existingCode = $('.existing.code'), |
|
|
$existingCode = $('.existing.code'), |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
requestAnimationFrame = window.requestAnimationFrame |
|
|
|
|
|
|| window.mozRequestAnimationFrame |
|
|
|
|
|
|| window.webkitRequestAnimationFrame |
|
|
|
|
|
|| window.msRequestAnimationFrame |
|
|
|
|
|
|| function(callback) { setTimeout(callback, 0); }, |
|
|
|
|
|
|
|
|
// alias
|
|
|
// alias
|
|
|
handler |
|
|
handler |
|
|
; |
|
|
; |
|
@ -932,10 +939,14 @@ semantic.ready = function() { |
|
|
.find('.complete') |
|
|
.find('.complete') |
|
|
.html(percent) |
|
|
.html(percent) |
|
|
.end() |
|
|
.end() |
|
|
.modal('show', function() { |
|
|
|
|
|
$('.language.modal .progress .bar').css('width', percent + '%'); |
|
|
|
|
|
}) |
|
|
|
|
|
; |
|
|
; |
|
|
|
|
|
requestAnimationFrame(function() { |
|
|
|
|
|
$('.language.modal') |
|
|
|
|
|
.modal('show', function() { |
|
|
|
|
|
$('.language.modal .progress .bar').css('width', percent + '%'); |
|
|
|
|
|
}) |
|
|
|
|
|
; |
|
|
|
|
|
}); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
}) |
|
|
}) |
|
|