foreign_office 0.7.3 → 0.8.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/javascripts/foreign_office.js +4 -0
- data/lib/foreign_office/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: 54b9a00955f2a111073ab4180b2e903bb4b78528
|
4
|
+
data.tar.gz: 28528fadab54583dca112b1c3b24a06ea2141ae7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cf39082477f00bdaed118e97611106706ce7d826129ab6cbb531dc8de49c25773559b75dcc40d6ca3fb3dc4669d7e99a6993558b8bebb87ea4e981152678bbba
|
7
|
+
data.tar.gz: eb5ae2f8eda6128cfa492458c7c0df0d98ae20841aa3eea425c435cb030ad077affab30e57a09ec121b164c1bc3cf052dc14ba4a379d67f4ae8d38f8212f2f79
|
@@ -101,6 +101,10 @@ var ForeignOfficeListener = Class.extend({
|
|
101
101
|
$.get(this.endpoint, function(data){
|
102
102
|
$listener.html(data);
|
103
103
|
})
|
104
|
+
}else if((typeof(m.object[this.object_key]) == 'string')){
|
105
|
+
$.get(m.object[this.object_key], function(data){
|
106
|
+
$listener.html(data);
|
107
|
+
})
|
104
108
|
}
|
105
109
|
if (m.object[this.delete_key] == true) {
|
106
110
|
$listener.remove;
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: foreign_office
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.8.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Eric Draut
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2015-
|
12
|
+
date: 2015-06-08 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|