From 3cca2b776459bac8b7f8117f1580a18628481fbd Mon Sep 17 00:00:00 2001 From: Jan Sauer Date: Mon, 21 Jul 2014 02:38:40 +0200 Subject: [PATCH] Fix baseURL documentation in README.md As far as I can see the `baseURL` is trimmed until the last index of `/`. So in order to achieve the load from `/js/lib/module.js` there is a trailing slash needed. I have only tested it in the browser. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 61b9c83..8160cf9 100644 --- a/README.md +++ b/README.md @@ -85,7 +85,7 @@ All modules are loaded relative to the `baseURL`, which by default is set to the We can alter this with: ```javascript - System.baseURL = '/js/lib'; + System.baseURL = '/js/lib/'; System.import('module'); // now loads "/js/lib/module.js" ```