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