diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-05-17 10:52:02 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-05-17 10:52:02 -0700 |
commit | a7c47e66eed5c2db9aac373f9b0d043d9f048703 (patch) | |
tree | 23228a5d4f9839a973c47aa031c3a5b038a65d7c /tools | |
parent | 7c02f322ae31e401f87fe4bf922020c951c59c15 (diff) |
fix file packager issue with closure
Diffstat (limited to 'tools')
-rw-r--r-- | tools/file_packager.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/file_packager.py b/tools/file_packager.py index eef268cb..ef113cb5 100644 --- a/tools/file_packager.py +++ b/tools/file_packager.py @@ -372,7 +372,7 @@ if has_preloaded: } Module.expectedDataFileDownloads++; - var PACKAGE_PATH = window.encodeURIComponent(window.location.pathname.toString().substring(0, window.location.pathname.toString().lastIndexOf('/')) + '/'); + var PACKAGE_PATH = window['encodeURIComponent'](window.location.pathname.toString().substring(0, window.location.pathname.toString().lastIndexOf('/')) + '/'); var PACKAGE_NAME = '%s'; var REMOTE_PACKAGE_NAME = '%s'; var PACKAGE_UUID = '%s'; |