mirror of
https://bitbucket.org/wisemapping/wisemapping-frontend.git
synced 2024-12-26 13:23:48 +01:00
Fix structure
This commit is contained in:
parent
d53f13efd9
commit
32d803e271
@ -18,7 +18,7 @@ function mindplot() {
|
||||
define(['raphael'], (Raphael) => {
|
||||
global.Raphael = Raphael;
|
||||
});
|
||||
require('../test/javascript/static/test/raphael-plugins');
|
||||
require('../test/playground/lib/raphael-plugins');
|
||||
|
||||
// Bootsrap for styles
|
||||
require('./components/libraries/bootstrap/js/bootstrap.min');
|
||||
|
@ -1 +0,0 @@
|
||||
../../../../../wise-editor/src/main/webapp/bootstrap/js/bootstrap.js
|
@ -1 +0,0 @@
|
||||
../../../../../core-js/target/classes/core.js
|
@ -1 +0,0 @@
|
||||
../../../../../wise-editor/src/main/webapp/js/jquery.js
|
@ -1 +0,0 @@
|
||||
../../../../../web2d/target/classes/web2d.svg-min.js
|
@ -7,10 +7,9 @@
|
||||
</head>
|
||||
<body>
|
||||
<div>
|
||||
<h1>Testing</h1>
|
||||
<h1>Mindplot Playground</h1>
|
||||
<ul>
|
||||
<li><a href="/layout">layout</a></li>
|
||||
<li><a href="/palette">Palette</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
@ -17,7 +17,7 @@
|
||||
*/
|
||||
const TestSuite = require('./TestSuite').default;
|
||||
|
||||
const Mindplot = require('../../../../lib/mindplot');
|
||||
const Mindplot = require('../../../lib/mindplot');
|
||||
const mindplot = Mindplot();
|
||||
|
||||
const BalancedTestSuite = new Class({
|
@ -16,7 +16,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
const TestSuite = require('./TestSuite').default;
|
||||
const Mindplot = require('../../../../lib/mindplot');
|
||||
const Mindplot = require('../../../lib/mindplot');
|
||||
const mindplot = Mindplot();
|
||||
|
||||
const FreeTestSuite = new Class({
|
@ -16,7 +16,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
const TestSuite = require('./TestSuite').default;
|
||||
const Mindplot = require('../../../../lib/mindplot');
|
||||
const Mindplot = require('../../../lib/mindplot');
|
||||
const mindplot = Mindplot();
|
||||
|
||||
const SymmetricTestSuite = new Class({
|
@ -15,7 +15,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
const Mindplot = require('../../../../lib/mindplot');
|
||||
const Mindplot = require('../../../lib/mindplot');
|
||||
const mindplot = Mindplot();
|
||||
|
||||
const TestSuite = new Class({
|
@ -1,4 +1,4 @@
|
||||
const Mindplot = require('../../../../lib/mindplot');
|
||||
const Mindplot = require('../../../lib/mindplot');
|
||||
global.mindplot = Mindplot();
|
||||
|
||||
const TestSuite = require('./TestSuite').default;
|
@ -1,4 +1,4 @@
|
||||
const Mindplot = require('../../../../lib/mindplot');
|
||||
const Mindplot = require('../../../lib/mindplot');
|
||||
const mindplot = Mindplot();
|
||||
|
||||
window.addEventListener('load', function (e) {
|
@ -5,8 +5,8 @@ const HtmlWebpackPlugin = require('html-webpack-plugin');
|
||||
/** @type {import('webpack').Configuration} */
|
||||
module.exports = {
|
||||
entry: {
|
||||
palette: path.resolve(__dirname, './test/javascript/static/test/testPalette'),
|
||||
layout: path.resolve(__dirname, './test/javascript/static/test/testLayout'),
|
||||
palette: path.resolve(__dirname, './test/playground/lib/testPalette'),
|
||||
layout: path.resolve(__dirname, './test/playground/lib/testLayout'),
|
||||
},
|
||||
output: {
|
||||
path: path.resolve(__dirname, 'dist', 'test'),
|
||||
@ -40,17 +40,12 @@ module.exports = {
|
||||
plugins: [
|
||||
new CleanWebpackPlugin(),
|
||||
new HtmlWebpackPlugin({
|
||||
template: 'test/javascript/static/index.html',
|
||||
}),
|
||||
new HtmlWebpackPlugin({
|
||||
chunks: ['palette'],
|
||||
filename: 'palette',
|
||||
template: 'test/javascript/static/palette.html',
|
||||
template: 'test/playground/index.html',
|
||||
}),
|
||||
new HtmlWebpackPlugin({
|
||||
chunks: ['layout'],
|
||||
filename: 'layout',
|
||||
template: 'test/javascript/static/layout.html',
|
||||
template: 'test/playground/layout.html',
|
||||
}),
|
||||
],
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user