envjs 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.jslintrbrc +2 -1
- data/CHANGELOG.rdoc +5 -0
- data/Manifest.txt +1 -0
- data/Wakefile +4 -0
- data/lib/envjs/env.js +1 -1
- data/lib/envjs.rb +1 -1
- data/src/window/location.js +1 -1
- data/test/dmathieu/index.html +8 -0
- metadata +4 -3
data/.jslintrbrc
CHANGED
data/CHANGELOG.rdoc
CHANGED
data/Manifest.txt
CHANGED
data/Wakefile
CHANGED
data/lib/envjs/env.js
CHANGED
@@ -1898,7 +1898,7 @@ $w.__defineGetter__("location", function(url){
|
|
1898
1898
|
_hash = _hash.indexOf('#')===0?_hash:"#"+_hash;
|
1899
1899
|
$location = this.protocol + this.host + this.pathname +
|
1900
1900
|
this.search + _hash;
|
1901
|
-
|
1901
|
+
__setHistory__(_hash, "hash");
|
1902
1902
|
},
|
1903
1903
|
get host(){
|
1904
1904
|
return this.hostname + ((this.port !== "")?":"+this.port:"");
|
data/lib/envjs.rb
CHANGED
data/src/window/location.js
CHANGED
@@ -64,7 +64,7 @@ $w.__defineGetter__("location", function(url){
|
|
64
64
|
_hash = _hash.indexOf('#')===0?_hash:"#"+_hash;
|
65
65
|
$location = this.protocol + this.host + this.pathname +
|
66
66
|
this.search + _hash;
|
67
|
-
|
67
|
+
__setHistory__(_hash, "hash");
|
68
68
|
},
|
69
69
|
get host(){
|
70
70
|
return this.hostname + ((this.port !== "")?":"+this.port:"");
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 3
|
8
|
-
-
|
9
|
-
version: 0.3.
|
8
|
+
- 1
|
9
|
+
version: 0.3.1
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- John Resig
|
@@ -16,7 +16,7 @@ autorequire:
|
|
16
16
|
bindir: bin
|
17
17
|
cert_chain: []
|
18
18
|
|
19
|
-
date: 2010-03-
|
19
|
+
date: 2010-03-30 00:00:00 -07:00
|
20
20
|
default_executable:
|
21
21
|
dependencies:
|
22
22
|
- !ruby/object:Gem::Dependency
|
@@ -292,6 +292,7 @@ files:
|
|
292
292
|
- test/call-load-test.js
|
293
293
|
- test/data.js
|
294
294
|
- test/debug.js
|
295
|
+
- test/dmathieu/index.html
|
295
296
|
- test/firebug/errorIcon.png
|
296
297
|
- test/firebug/firebug.css
|
297
298
|
- test/firebug/firebug.html
|