diff options
author | Jonathan Duran | 2012-06-25 13:40:37 -0700 |
---|---|---|
committer | Jonathan Duran | 2012-06-25 13:40:37 -0700 |
commit | 8b46c251664a45039db355075bce85ddfd345269 (patch) | |
tree | 0de66b839b0c9107077705ee6f5efe737725207d /js/document/helpers | |
parent | da3d11366fa6f42a99cbd8998eebd5fe572b76bc (diff) | |
parent | 4e5331c9967d4a24df56160188cc916a4051052b (diff) | |
download | ninja-8b46c251664a45039db355075bce85ddfd345269.tar.gz |
Merge branch 'refs/heads/NINJAmaster' into Timeline-bugfix1
Diffstat (limited to 'js/document/helpers')
-rwxr-xr-x | js/document/helpers/url-parser.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/document/helpers/url-parser.js b/js/document/helpers/url-parser.js index 5e71d148..7bded27d 100755 --- a/js/document/helpers/url-parser.js +++ b/js/document/helpers/url-parser.js | |||
@@ -53,7 +53,7 @@ exports.UrlParser = Montage.create(Component, { | |||
53 | //Getting file URI (not URL since we must load through I/O API) | 53 | //Getting file URI (not URL since we must load through I/O API) |
54 | var css = {}, file; | 54 | var css = {}, file; |
55 | css.cssUrl = href.split(this.application.ninja.coreIoApi.rootUrl)[1]; | 55 | css.cssUrl = href.split(this.application.ninja.coreIoApi.rootUrl)[1]; |
56 | css.fileUri = this.application.ninja.coreIoApi.cloudData.root + css.cssUrl; | 56 | css.fileUri = this.application.ninja.coreIoApi.cloudData.root + unescape(css.cssUrl); |
57 | //Loading data from CSS file | 57 | //Loading data from CSS file |
58 | file = this.application.ninja.coreIoApi.readFile({uri: css.fileUri}); | 58 | file = this.application.ninja.coreIoApi.readFile({uri: css.fileUri}); |
59 | //Checking for file to be writable on disk | 59 | //Checking for file to be writable on disk |