RubyApp 0.5.60 → 0.5.61
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile.lock +1 -1
- data/lib/ruby_app/elements/mobile/document.js.haml +20 -6
- data/lib/ruby_app/version.rb +1 -1
- metadata +3 -3
data/Gemfile.lock
CHANGED
@@ -1,17 +1,31 @@
|
|
1
1
|
:plain
|
2
2
|
// #{__FILE__}
|
3
3
|
var RubyApp = new function() {
|
4
|
-
this.
|
5
|
-
|
4
|
+
this.queue = [],
|
5
|
+
this.enQueue = function(_function) {
|
6
|
+
//RubyApp.log('IN RubyApp.enQueue(...) RubyApp.queue.length=' + RubyApp.queue.length);
|
7
|
+
if ( RubyApp.queue.length <= 0 )
|
6
8
|
{
|
7
|
-
|
8
|
-
|
9
|
+
RubyApp.queue.push('next');
|
10
|
+
_function();
|
9
11
|
}
|
10
12
|
else
|
11
|
-
|
13
|
+
RubyApp.queue.push(_function);
|
14
|
+
//RubyApp.log('OUT RubyApp.enQueue(...) RubyApp.queue.length=' + RubyApp.queue.length);
|
12
15
|
},
|
13
16
|
this.deQueue = function() {
|
14
|
-
|
17
|
+
//RubyApp.log('IN RubyApp.deQueue() RubyApp.queue.length=' + RubyApp.queue.length);
|
18
|
+
_function = RubyApp.queue.shift();
|
19
|
+
if ( _function )
|
20
|
+
if ( _function === 'next' )
|
21
|
+
{
|
22
|
+
_function = RubyApp.queue.shift();
|
23
|
+
if ( _function )
|
24
|
+
_function();
|
25
|
+
}
|
26
|
+
else
|
27
|
+
_function();
|
28
|
+
//RubyApp.log('OUT RubyApp.deQueue() RubyApp.queue.length=' + RubyApp.queue.length);
|
15
29
|
},
|
16
30
|
this.waitCount = 0,
|
17
31
|
this.showWait = function() {
|
data/lib/ruby_app/version.rb
CHANGED
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:
|
4
|
+
hash: 113
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 5
|
9
|
-
-
|
10
|
-
version: 0.5.
|
9
|
+
- 61
|
10
|
+
version: 0.5.61
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Frank G. Ficnar
|