RubyApp 0.5.15 → 0.5.16

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.
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- RubyApp (0.5.15)
4
+ RubyApp (0.5.16)
5
5
  BlueCloth
6
6
  chronic
7
7
  chronic_duration
@@ -90,6 +90,7 @@
90
90
  RubyApp.refreshBrowser();
91
91
  },
92
92
  this.go = function(url) {
93
+ $(window).clearQueue();
93
94
  location.assign(url);
94
95
  },
95
96
  this.addClass = function(selector, _class) {
@@ -144,7 +145,8 @@
144
145
 
145
146
  $(window).load(function() {
146
147
  RubyApp.queueEvent({_class:'RubyApp::Elements::Mobile::Document::LoadedEvent', source:$('html').attr('id')});
147
- RubyApp.queueEvent({_class:'RubyApp::Elements::Mobile::Page::LoadedEvent', source:$('div[data-role="page"]').filter(':first').attr('id')});
148
+ if ($('div[data-role="page"]').length)
149
+ RubyApp.queueEvent({_class:'RubyApp::Elements::Mobile::Page::LoadedEvent', source:$('div[data-role="page"]').filter(':first').attr('id')});
148
150
  });
149
151
 
150
152
  = yield
@@ -1,4 +1,4 @@
1
1
  module RubyApp
2
- VERSION = "0.5.15"
2
+ VERSION = "0.5.16"
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: 21
4
+ hash: 43
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 5
9
- - 15
10
- version: 0.5.15
9
+ - 16
10
+ version: 0.5.16
11
11
  platform: ruby
12
12
  authors:
13
13
  - Frank G. Ficnar
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2012-04-15 00:00:00 Z
18
+ date: 2012-04-16 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  prerelease: false