editor: fix requirejs paths so that test will work again
authorAleksander Łukasz <aleksander.lukasz@nowoczesnapolska.org.pl>
Mon, 14 Jul 2014 15:01:05 +0000 (17:01 +0200)
committerAleksander Łukasz <aleksander.lukasz@nowoczesnapolska.org.pl>
Mon, 14 Jul 2014 15:01:05 +0000 (17:01 +0200)
commitd0e1e19934b1c67a46a9b9c271b5054455edc5ad
treeacbf09009797282ca1669e69833352b58610dd7d
parent872eb8cad5640b85c8d9286ef0af0237bf825f00
editor: fix requirejs paths so that test will work again

Paths relative to the current directory that contain file extension
don't normally work with requirejs unless used together with Karma.js
- here on the other hand they are required.

Until this get resolved one way or another, requiring modules in files
that are used both in production and by tests must not use paths relative
to the current dir.
src/editor/plugins/core/core.js
src/editor/plugins/core/metadataEditor/action.js
src/editor/plugins/core/metadataEditor/metadataEditor.js