From 0e77fc6c6ef443970c8de9dea1fc9a5c315c899a Mon Sep 17 00:00:00 2001 From: Norbert Renner Date: Fri, 30 May 2014 11:55:25 +0200 Subject: [PATCH] build profile option list dynamically from config.js --- config.js | 13 +++++++++++++ index.html | 15 +++------------ js/control/RoutingOptions.js | 17 ++++++++++++++++- js/index.js | 10 +++++----- 4 files changed, 37 insertions(+), 18 deletions(-) create mode 100644 config.js diff --git a/config.js b/config.js new file mode 100644 index 0000000..7152f80 --- /dev/null +++ b/config.js @@ -0,0 +1,13 @@ +BR.conf = { + profiles: [ + 'trekking', + 'fastbike', + 'shortest', + 'all', + /* "does not contain expressions for context node" (?) + 'softaccess', + */ + 'moped', + 'car-test' + ] +}; diff --git a/index.html b/index.html index 50971b4..1db5b77 100644 --- a/index.html +++ b/index.html @@ -34,18 +34,8 @@
Profile:
Alternative: