diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-08-20 10:23:28 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-08-20 10:23:28 -0700 |
commit | bedb3bfacba7aa761777d1ede43d014b7e2c5ee4 (patch) | |
tree | debe3f0672a99ce4d7c8b28f3010cbb4abc1a69c /src/headless.js | |
parent | 83972554f5fce6b2205d28211e115195dbdf6523 (diff) |
improve headless.js
Diffstat (limited to 'src/headless.js')
-rw-r--r-- | src/headless.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/headless.js b/src/headless.js index 097a42f7..1c7b8945 100644 --- a/src/headless.js +++ b/src/headless.js @@ -23,6 +23,7 @@ var window = { return '%s'; }, search: '?%s', + pathname: '%s', }, fakeNow: 0, // we don't use Date.now() rafs: [], @@ -84,6 +85,7 @@ var window = { }, revokeObjectURL: function(x) {}, }, + encodeURIComponent: function(x) { return x }, }; var setTimeout = window.setTimeout; var document = { |