rsence 2.1.9 → 2.1.10

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.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 2.1.9
1
+ 2.1.10
@@ -38,8 +38,9 @@ COMM.SessionWatcher = HApplication.extend({
38
38
 
39
39
  // Tells the server the client's current time
40
40
  onIdle: function(){
41
- if((new Date().getTime() - this.sesTimeoutValue.value) > this.timeoutSecs ){
42
- this.sesTimeoutValue.set( new Date().getTime() );
41
+ var now = new Date().getTime();
42
+ if((now - this.sesTimeoutValue.value) > this.timeoutSecs ){
43
+ this.sesTimeoutValue.set( now );
43
44
  }
44
45
  }
45
46
  });
@@ -131,9 +131,10 @@ HSystem = {
131
131
  addApp: function(_app, _priority){
132
132
  var _appId;
133
133
  if(this.freeAppIds.length !== 0){
134
- _appId = this.freeAppIds.unshift();
134
+ _appId = this.freeAppIds.shift();
135
135
  this.apps[_appId] = _app;
136
- } else {
136
+ }
137
+ else {
137
138
  this.apps.push(_app);
138
139
  _appId = this.apps.length-1;
139
140
  }
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rsence
3
3
  version: !ruby/object:Gem::Version
4
- hash: 25
4
+ hash: 31
5
5
  prerelease:
6
6
  segments:
7
7
  - 2
8
8
  - 1
9
- - 9
10
- version: 2.1.9
9
+ - 10
10
+ version: 2.1.10
11
11
  platform: ruby
12
12
  authors:
13
13
  - Riassence Inc.
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-02-19 00:00:00 +02:00
18
+ date: 2011-03-03 00:00:00 +02:00
19
19
  default_executable: rsence
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency