Skip to content

Commit c08bff6

Browse files
committed
reverted btecu jquery changes #1241
as that changed the filename and having all.js containing jquery (which it should)
1 parent 8d40d11 commit c08bff6

File tree

3 files changed

+3
-16
lines changed

3 files changed

+3
-16
lines changed

src/gridstack-only.ts

Lines changed: 0 additions & 12 deletions
This file was deleted.

src/jqueryui-gridstack-dragdrop-plugin.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import { GridItemHTMLElement } from './types';
1212

1313
// TODO: TEMPORARY until can remove jquery-ui drag&drop and this class and use HTML5 instead !
1414
// see https://stackoverflow.com/questions/35345760/importing-jqueryui-with-typescript-and-requirejs
15-
import * as $ from 'jquery';
15+
import * as $ from './jquery.js';
1616
import './jquery-ui.js';
1717

1818
/**

webpack.config.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,10 @@ const path = require('path');
22

33
module.exports = {
44
entry: {
5-
'gridstack-all': './src/index.ts',
6-
'gridstack-no-jquery': './src/gridstack-only.ts'
5+
'gridstack.all': './src/index.ts'
76
},
87
externals: {
9-
jquery: 'jQuery'
8+
// jquery: 'jQuery'
109
},
1110
mode: 'development',
1211
module: {

0 commit comments

Comments
 (0)