Repository: incubator-weex-site Updated Branches: refs/heads/master 18f5cf01a -> c96617c3e
fix two spelling mistakes use it to diaplay a local disk image --> use it to display a local disk image resolve by the bunle url --> resolve by the bundle url Project: http://git-wip-us.apache.org/repos/asf/incubator-weex-site/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex-site/commit/dc537437 Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex-site/tree/dc537437 Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex-site/diff/dc537437 Branch: refs/heads/master Commit: dc537437500bc01b51956c52d4c7a3c5155dc54d Parents: 18f5cf0 Author: shushu <[email protected]> Authored: Mon May 21 15:35:10 2018 +0800 Committer: GitHub <[email protected]> Committed: Mon May 21 15:35:10 2018 +0800 ---------------------------------------------------------------------- source/guide/advanced/path.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-weex-site/blob/dc537437/source/guide/advanced/path.md ---------------------------------------------------------------------- diff --git a/source/guide/advanced/path.md b/source/guide/advanced/path.md index 9822b60..0d00b1e 100644 --- a/source/guide/advanced/path.md +++ b/source/guide/advanced/path.md @@ -26,11 +26,11 @@ It's working in the same way as in web, Weex support these at very beginning. * File Use `file` scheme to access local disk file. This scheme has its limitations: You would not hard coded a file url in source page. Because not matter it's running in different platform(iOS, Android) or not, the content will be totally different in another device, which is depend to the specific device. -So one possible case is getting the file url in runtime dynamically, which you can use it to diaplay a local disk image, or maybe upload it later. +So one possible case is getting the file url in runtime dynamically, which you can use it to display a local disk image, or maybe upload it later. ## Relative URI -[Like we do in HTML](https://www.w3.org/TR/html4/types.html#type-uri), weex process 'relative URI' in the same way. The relative URI, which start with `/`,`.`,`..`,`//`, will resolve by the bunle url. +[Like we do in HTML](https://www.w3.org/TR/html4/types.html#type-uri), weex process 'relative URI' in the same way. The relative URI, which start with `/`,`.`,`..`,`//`, will resolve by the bundle url. Means URL start with `/` will resolve to the root folder as bundle js file, `.` and `..` will resolve to current and parent folder, and `//` will resolve to same scheme bundle js have. ## URI Adapter
