graph_starter 0.12.2 → 0.12.3
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 04c06406717d14cc223866873ea172269f9b29fe
|
4
|
+
data.tar.gz: 4f0f9d21b6e4b0d5f66627890a7fb91158622581
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d012e03c90d298c0e9a947ca9d561edba8ca986ecfb5dafa8ff58fbe2efb27ba0c0fec2655e7f7fc715cc478306c7a9b063f35c56a9e1da5293fb44f6ef27d17
|
7
|
+
data.tar.gz: d354b168f6adf90817a1f108497229cef5851b7030621b423ac5b4c71564b1f5a26dc6b5bf997eb083bd73dd475974e0ba6197fb5d8a84286047fae9b0e45778
|
@@ -4,9 +4,13 @@
|
|
4
4
|
#= require graph_starter/underscore
|
5
5
|
#= require semantic-ui
|
6
6
|
|
7
|
+
spinner_timeout_id = null
|
7
8
|
|
8
9
|
ready = ->
|
9
10
|
$('#loading-spinner').hide()
|
11
|
+
if spinner_timeout_id?
|
12
|
+
window.clearTimeout(spinner_timeout_id)
|
13
|
+
spinner_timeout_id = null
|
10
14
|
|
11
15
|
$("img").error ->
|
12
16
|
console.log 'imgError!!!!'
|
@@ -25,5 +29,7 @@ $(document).ready ready
|
|
25
29
|
$(document).on 'page:load', ready
|
26
30
|
|
27
31
|
$(document).on 'page:fetch', (e) ->
|
28
|
-
|
32
|
+
spinner_timeout_id = window.setTimeout ->
|
33
|
+
$('#loading-spinner').css 'display', 'inline-block'
|
34
|
+
, 300
|
29
35
|
|