flok 0.0.101 → 0.0.102
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.
- checksums.yaml +4 -4
- data/app/drivers/chrome/README.md +3 -0
- data/app/drivers/chrome/src/dlink.js +5 -1
- data/lib/flok/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c9638b060e87d9e0e19a63fdbeb014c4955a3c55
|
|
4
|
+
data.tar.gz: 5f040e2f1eb8ed097787120bd32c77a31d756d47
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 285f33c37d3768ec61720d91e0ea690cd4dee909aeeb9bdabf1f783b6c50dc48b09472aa72070d63a5d8c6942f33e5a09f7ca5c2e4c7faf35fbbdf71de348abb
|
|
7
|
+
data.tar.gz: c95c3272086f6aed12b5b302bd94f408dbfcd468e9e028f661d7f1b61c6bf1ca3a9f40aecc051004508b22a7cf932222b226fb02ddae40824cf56ab3c4200562
|
|
@@ -5,6 +5,9 @@ This driver supports an internet browser.
|
|
|
5
5
|
At the completion of the build, the driver directory, typically `products/$PLATFORM/driver` will contain a `chrome.js` file. This must be included
|
|
6
6
|
before your `application.js` file.
|
|
7
7
|
|
|
8
|
+
# Quirks
|
|
9
|
+
The `dlink` module which handles inbound URL's will clear the URL when the page loads.
|
|
10
|
+
|
|
8
11
|
### HTML conventions
|
|
9
12
|
There is excatly (1) divider that is used to place everything inside of that is visible. This divider *must* have the following HTML code:
|
|
10
13
|
```html
|
|
@@ -10,6 +10,11 @@ function dlink_init() {
|
|
|
10
10
|
//Get URL portion
|
|
11
11
|
var url = <%= @spec ? "dlink_spec_window" : "window" %>.location.protocol + '//' + <%= @spec ? "dlink_spec_window" : "window" %>.location.host + <%= @spec ? "dlink_spec_window" : "window" %>.location.pathname;
|
|
12
12
|
|
|
13
|
+
//Reset our URL to blank (this dosen't work inside phantomJS)
|
|
14
|
+
<% if not @spec %>
|
|
15
|
+
window.history.replaceState({}, "", "/");
|
|
16
|
+
<% end %>
|
|
17
|
+
|
|
13
18
|
//Notify dlink
|
|
14
19
|
int_dispatch([2, "int_dlink_notify", url, params]);
|
|
15
20
|
}
|
|
@@ -25,4 +30,3 @@ function dlink_init() {
|
|
|
25
30
|
}
|
|
26
31
|
};
|
|
27
32
|
<% end %>
|
|
28
|
-
|
data/lib/flok/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: flok
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.102
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- seo
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-10-
|
|
11
|
+
date: 2015-10-12 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: execjs
|
|
@@ -1367,7 +1367,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
1367
1367
|
version: '0'
|
|
1368
1368
|
requirements: []
|
|
1369
1369
|
rubyforge_project:
|
|
1370
|
-
rubygems_version: 2.4.
|
|
1370
|
+
rubygems_version: 2.4.8
|
|
1371
1371
|
signing_key:
|
|
1372
1372
|
specification_version: 4
|
|
1373
1373
|
summary: A boring javascript application framework
|