wiselinks 0.6.2 → 0.6.3
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile.lock +1 -1
- data/README.md +4 -0
- data/lib/assets/javascripts/_page.js.coffee +1 -1
- data/lib/assets/javascripts/wiselinks.js.coffee +1 -0
- data/lib/wiselinks/version.rb +1 -1
- metadata +4 -4
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -11,6 +11,10 @@ Wiselinks makes following links and submitting some forms in your web applicatio
|
|
11
11
|
|
12
12
|
You may find Wiselinks similar to [Turbolinks](https://github.com/rails/turbolinks) or [Pjax](https://github.com/defunkt/jquery-pjax), but Wiselinks have several rather important differences from both projects. We tried to make Wiselinks as easy to use as Turbolinks are but also as configurable as Pjax.
|
13
13
|
|
14
|
+
Try Wiselinks online in our **demo application**:
|
15
|
+
|
16
|
+
* [http://wiselinks.herokuapp.com/](http://wiselinks.herokuapp.com/)
|
17
|
+
|
14
18
|
## Compatibility
|
15
19
|
|
16
20
|
**Please be advised that Javascript events in wiselinks-0.5.0 are not backward compatible.**
|
@@ -10,7 +10,7 @@ class Page
|
|
10
10
|
self._try_target(@$target)
|
11
11
|
|
12
12
|
if History.emulated.pushState && @options.html4 == true
|
13
|
-
if window.location.href.indexOf('#!') == -1 && @options.
|
13
|
+
if window.location.href.indexOf('#!') == -1 && @options.html4_normalize_path == true && window.location.pathname != @options.html4_root_path
|
14
14
|
window.location.href = "#{window.location.protocol}//#{window.location.host}#{@options.html4_root_path}#!#{window.location.pathname}"
|
15
15
|
|
16
16
|
if window.location.hash.indexOf('#!') != -1
|
data/lib/wiselinks/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: wiselinks
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -12,7 +12,7 @@ authors:
|
|
12
12
|
autorequire:
|
13
13
|
bindir: bin
|
14
14
|
cert_chain: []
|
15
|
-
date: 2013-06-
|
15
|
+
date: 2013-06-07 00:00:00.000000000 Z
|
16
16
|
dependencies:
|
17
17
|
- !ruby/object:Gem::Dependency
|
18
18
|
name: rspec
|
@@ -368,7 +368,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
368
368
|
version: '0'
|
369
369
|
segments:
|
370
370
|
- 0
|
371
|
-
hash:
|
371
|
+
hash: -3455456712270723770
|
372
372
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
373
373
|
none: false
|
374
374
|
requirements:
|
@@ -377,7 +377,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
377
377
|
version: '0'
|
378
378
|
segments:
|
379
379
|
- 0
|
380
|
-
hash:
|
380
|
+
hash: -3455456712270723770
|
381
381
|
requirements: []
|
382
382
|
rubyforge_project:
|
383
383
|
rubygems_version: 1.8.24
|