summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
872eb8c)
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.
plugin = {name: 'core', actions: [], canvas: {}, documentExtension: {textNode: {}}},
Dialog = require('views/dialog/dialog'),
canvasElements = require('plugins/core/canvasElements'),
plugin = {name: 'core', actions: [], canvas: {}, documentExtension: {textNode: {}}},
Dialog = require('views/dialog/dialog'),
canvasElements = require('plugins/core/canvasElements'),
- metadataEditor = require('./metadataEditor/metadataEditor');
+ metadataEditor = require('plugins/core/metadataEditor/metadataEditor');
/* globals gettext */
var Dialog = require('views/dialog/dialog'),
/* globals gettext */
var Dialog = require('views/dialog/dialog'),
- View = require('./view');
+ View = require('plugins/core/metadataEditor/view');
-var action = require('./action');
+var action = require('plugins/core/metadataEditor/action');