25.05 stages
This commit is contained in:
+7
-5
@@ -1,4 +1,4 @@
|
|||||||
$(function(){
|
|
||||||
var toe = new Vue({
|
var toe = new Vue({
|
||||||
el: '#toe',
|
el: '#toe',
|
||||||
data: {
|
data: {
|
||||||
@@ -65,7 +65,8 @@ var toe = new Vue({
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
function getData(fileindex) {
|
$(function(){
|
||||||
|
function getData(fileindex) {
|
||||||
var nextfile = fileindex + 1;
|
var nextfile = fileindex + 1;
|
||||||
|
|
||||||
$.get('../toe/' + fileindex + '.json', function (data) {
|
$.get('../toe/' + fileindex + '.json', function (data) {
|
||||||
@@ -93,9 +94,10 @@ function getData(fileindex) {
|
|||||||
.fail(function () {
|
.fail(function () {
|
||||||
$('.loadingbar').css('width', '100%').delay(150).fadeOut(150);
|
$('.loadingbar').css('width', '100%').delay(150).fadeOut(150);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($('#toe').length) {
|
|
||||||
|
if ($('#toe').length) {
|
||||||
getData(1);
|
getData(1);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user