graph_starter 0.12.2 → 0.12.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 796269539561c7291cca5d9cedc179b8a6b3d448
4
- data.tar.gz: ff1f55f70c7928970d2bbc3762434188df18dcbe
3
+ metadata.gz: 04c06406717d14cc223866873ea172269f9b29fe
4
+ data.tar.gz: 4f0f9d21b6e4b0d5f66627890a7fb91158622581
5
5
  SHA512:
6
- metadata.gz: 21faa84ccf05f64bb1f2b5910e87b550ccc1c6d9a141029b1dc29700d057ea482efbbbbe459b77c8ecf8140a0087877e7f5717e7bc79f19a7dd073a59a164854
7
- data.tar.gz: d45f6c8b097f121e6a32f370d14988bd0d3aa65f28d8a16bd1be2de65d46cca83fbcb55f7ec5eb58bc8304fa91253b90d7dd2616456d5cb58aadbae45d94d62c
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
- $('#loading-spinner').css 'display', 'inline-block'
32
+ spinner_timeout_id = window.setTimeout ->
33
+ $('#loading-spinner').css 'display', 'inline-block'
34
+ , 300
29
35
 
@@ -9,9 +9,8 @@
9
9
  }
10
10
 
11
11
  #loading-spinner {
12
- position: absolute;
12
+ position: fixed;
13
13
  width: 100%;
14
14
  display: none;
15
- margin-top: 2em;
16
15
  z-index: 1000;
17
16
  }
@@ -23,7 +23,7 @@ html
23
23
 
24
24
  body
25
25
 
26
- i#loading-spinner.ui.massive.loading.spinner.icon
26
+ #loading-spinner.ui.active.centered.large.loader
27
27
 
28
28
  = render partial: 'layouts/graph_starter/menu'
29
29
 
@@ -1,3 +1,3 @@
1
1
  module GraphStarter
2
- VERSION = "0.12.2"
2
+ VERSION = "0.12.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: graph_starter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.2
4
+ version: 0.12.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Underwood