RubyApp 0.5.54 → 0.5.55

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- RubyApp (0.5.54)
4
+ RubyApp (0.5.55)
5
5
  BlueCloth
6
6
  chronic
7
7
  chronic_duration
@@ -3,18 +3,23 @@
3
3
  var RubyApp = new function() {
4
4
  this.waitCount = 0,
5
5
  this.showWait = function() {
6
- $('div.overlay').css('display', 'block');
7
- $.mobile.showPageLoadingMsg();
6
+ if ( RubyApp.waitCount == 0 )
7
+ {
8
+ $('div.overlay').css('display', 'block');
9
+ $.mobile.showPageLoadingMsg();
10
+ RubyApp.log('EXECUTE RubyApp.showWait()');
11
+ }
8
12
  RubyApp.waitCount++;
9
13
  },
10
14
  this.hideWait = function() {
11
- if ( RubyApp.waitCount == 1 )
15
+ if ( RubyApp.waitCount > 0 )
16
+ RubyApp.waitCount--;
17
+ if ( RubyApp.waitCount == 0 )
12
18
  {
13
19
  $.mobile.hidePageLoadingMsg();
14
20
  $('div.overlay').css('display', 'none');
21
+ RubyApp.log('EXECUTE RubyApp.hideWait()');
15
22
  }
16
- if ( RubyApp.waitCount > 0 )
17
- RubyApp.waitCount--;
18
23
  },
19
24
  this.sendEvent = function(event) {
20
25
  // RubyApp.log('ENQUEUE event.class=' + event._class);
@@ -1,4 +1,4 @@
1
1
  module RubyApp
2
- VERSION = "0.5.54"
2
+ VERSION = "0.5.55"
3
3
  ROOT = File.expand_path(File.dirname(__FILE__))
4
4
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: RubyApp
3
3
  version: !ruby/object:Gem::Version
4
- hash: 103
4
+ hash: 101
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 5
9
- - 54
10
- version: 0.5.54
9
+ - 55
10
+ version: 0.5.55
11
11
  platform: ruby
12
12
  authors:
13
13
  - Frank G. Ficnar