From 2ffd7ab0bf214b5221d52e25ba081d944ba35843 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Aleksander=20=C5=81ukasz?= Date: Wed, 11 Dec 2013 17:21:13 +0100 Subject: [PATCH] integration wip: use default value for baseUrl baseUrl defaults to entrypoint.js url so no need to set it explicitly. On top of that, setting it here would require hosting page to define global variable accessible from entrypoint.js to configure baseUrl value for a given environment which: - adds additional configuration step for hosting page, - breaks r.js optimizer as it requires call to requirejs.config to be parsable as JSON. --- src/editor/entrypoint.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/editor/entrypoint.js b/src/editor/entrypoint.js index 528952b..c18bc5a 100644 --- a/src/editor/entrypoint.js +++ b/src/editor/entrypoint.js @@ -4,8 +4,6 @@ /* globals requirejs, editor_init */ requirejs.config({ - baseUrl: '/static/editor/src/editor', - paths: { 'fnpjs': '../fnpjs', 'libs': '../../libs', -- 2.20.1