cobot_client 0.6.4 → 0.6.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/views/cobot_client/_resize_script.html.erb +11 -11
- data/lib/cobot_client/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3679813963fb76909db93113407c8f312bedafc2
|
4
|
+
data.tar.gz: a1e4964c7a0d709662b1dcad435d4781be0744bf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 890e0355e577c3dd60289e1f481727e3dc895ef7f792c768da22c6983fb59588b549049ffd0f2f69ad2691c705a1a99f2da3a81e92981ea823cbefa5e64e60db
|
7
|
+
data.tar.gz: 408eb1f79c9789e48fad85bddf2452f042f15d7713c3f07e005b975c8c467fd53677ce2c1cb2389d840bb59e232f9e1a76e61e1615994971c9890b3cb9e867d7
|
@@ -6,21 +6,21 @@
|
|
6
6
|
}
|
7
7
|
}
|
8
8
|
window.Cobot.iframeHeight = window.Cobot.iframeHeight || function() {
|
9
|
-
$('body').outerHeight();
|
9
|
+
return $('body').outerHeight();
|
10
10
|
}
|
11
11
|
window.Cobot.scrollTop = 0;
|
12
12
|
easyXDM.query = <%== xdm_params.to_json %>;
|
13
|
-
window.
|
14
|
-
|
15
|
-
|
13
|
+
$(window).load(function() {
|
14
|
+
window.socket = new easyXDM.Socket({
|
15
|
+
onReady: function() {
|
16
16
|
window.Cobot.iframeResize();
|
17
|
-
}
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
17
|
+
},
|
18
|
+
onMessage: function(message) {
|
19
|
+
var message = JSON.parse(message);
|
20
|
+
if(message.scrollTop) {
|
21
|
+
window.Cobot.scrollTop = message.scrollTop;
|
22
|
+
}
|
23
23
|
}
|
24
|
-
}
|
24
|
+
});
|
25
25
|
});
|
26
26
|
</script>
|
data/lib/cobot_client/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cobot_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alexander Lang
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-02-
|
11
|
+
date: 2014-02-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: virtus
|