ende 0.3.8 → 0.3.9
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/lib/assets/javascripts/aura/extensions/routes.js.coffee +6 -9
- data/lib/ende/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: 6484128775e47a3c893ca8454a64e110431cf421
|
|
4
|
+
data.tar.gz: 00e2ff9044f4a2da967b0f436a6c9561c378c133
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 366d7ecc1756256b4c410806aa5d7f376dbfe9b66e5212e3ca054844e59fe717e4b0fadf1710dc2dda8c9296eaf59b170de9510f624605d6441618a9bbde9545
|
|
7
|
+
data.tar.gz: 68d107aaa1cf9e3dfc1f687c3760e7e593f03a0671296bbd34447b4e964d2fdb508de89a6e82fa6e18d75240d06d7f6effb50b4526de73554625816364eccf88
|
|
@@ -27,12 +27,14 @@ define 'aura/extensions/routes', (routes) ->
|
|
|
27
27
|
mediator.emit name, params
|
|
28
28
|
|
|
29
29
|
process: ->
|
|
30
|
-
context
|
|
30
|
+
context = {}
|
|
31
|
+
{location} = window
|
|
31
32
|
|
|
32
33
|
if history
|
|
33
|
-
path
|
|
34
|
+
path = location.pathname
|
|
35
|
+
search = location.search
|
|
34
36
|
else
|
|
35
|
-
path =
|
|
37
|
+
path = location.hash.replace('#!', '') || '/'
|
|
36
38
|
[path, search] = path.split('?') if path.indexOf('?') != -1
|
|
37
39
|
|
|
38
40
|
#-- If we land on the page with a hash value and history is enabled, redirect to the non-hash page
|
|
@@ -127,9 +129,4 @@ define 'aura/extensions/routes', (routes) ->
|
|
|
127
129
|
|
|
128
130
|
initialize: (application) ->
|
|
129
131
|
{logger} = application
|
|
130
|
-
application.sandbox.location = location
|
|
131
|
-
|
|
132
|
-
# TODO pull request on aura to add info method on logger
|
|
133
|
-
# TODO better argument checking
|
|
134
|
-
logger._info = (-> console.info arguments[0], arguments[1], arguments[2]) || logger._log
|
|
135
|
-
logger.info = -> this.write this._info, arguments
|
|
132
|
+
application.sandbox.location = location
|
data/lib/ende/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: ende
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.3.
|
|
4
|
+
version: 0.3.9
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Heitor Salazar
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2014-02-
|
|
11
|
+
date: 2014-02-22 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|