ende 0.3.8 → 0.3.9

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: afc83f12e9cf9f4666f64acf9f0d710f5db2c002
4
- data.tar.gz: 37d64cd00940f3845462d03ca7e578c3f79c6672
3
+ metadata.gz: 6484128775e47a3c893ca8454a64e110431cf421
4
+ data.tar.gz: 00e2ff9044f4a2da967b0f436a6c9561c378c133
5
5
  SHA512:
6
- metadata.gz: ca50e3c7fc8a00f4fc50ddfc29002aab38dce53a96334e0b47d747e3e97074a57263452f550e4cc5d353a0507b7583f0a97555cd7afbe0ed38e8784d7630d3d5
7
- data.tar.gz: 5e5128e54fb8cd471d14e63fd9ed813a828ac49fbab6f3e552011e72c8d2c718bb55d1d9265d941bcd8160d9bd7d12f0d50464ec8b37da90c2246ad8ae7f3fcc
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 = window.location.pathname
34
+ path = location.pathname
35
+ search = location.search
34
36
  else
35
- path = window.location.hash.replace('#!', '') || '/'
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
@@ -1,3 +1,3 @@
1
1
  module Ende
2
- VERSION = "0.3.8"
2
+ VERSION = "0.3.9"
3
3
  end
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.8
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-20 00:00:00.000000000 Z
11
+ date: 2014-02-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler