Skip to content

Commit 7712b2d

Browse files
committed
explicit IE11 support drop
#1389 explicit drop for IE11 and no longer compile polyfill (size increase and still issue don't ewarrant such a obsolete support - use 1.x instead).
1 parent c2ddfda commit 7712b2d

File tree

6 files changed

+7
-4
lines changed

6 files changed

+7
-4
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -382,6 +382,8 @@ v2.x is a Typescript rewrite of 1.x, removing all jquery events, using classes a
382382

383383
3. `oneColumnMode` would trigger when `window.width` < 768px by default. We now check for grid width instead (more correct and supports nesting). You might need to adjust grid `minWidth` or `disableOneColumnMode`.
384384

385+
**Note:** 2.x no longer support legacy IE11 and older due to using more compact ES6 output and typecsript native code. You will need to stay at 1.x
386+
385387
Changes
386388
=====
387389

doc/CHANGES.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ You can now have perfect square cells (default) [723](https://github.com/gridsta
6363
- fix [1299](https://github.com/gridstack/gridstack.js/pull/1299) many columns round-off error
6464
- fix [1102](https://github.com/gridstack/gridstack.js/issues/1102) loose functionality when they are moved to a new grid
6565
- add optional params to `removeWidget()` to have quiet mode (no callbacks)
66+
- drop support for IE11 due to more compact ES6 output and newer TS code
6667

6768
## 1.2.1 (2020-09-04)
6869

src/index-html5.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// index.html5.ts 2.0.1-dev - everything you need for a Grid that uses HTML5 native drag&drop (work in progress) @preserve
22

3-
import './gridstack-poly.js';
3+
// import './gridstack-poly.js';
44

55
export * from './types';
66
export * from './utils';

src/index-jq.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// index.jq.ts 2.0.1-dev - everything you need for a Grid that uses Jquery-ui drag&drop (original, full feature) @preserve
22

3-
import './gridstack-poly.js';
3+
// import './gridstack-poly.js';
44

55
export * from './types';
66
export * from './utils';

src/index-static.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// index.static.ts 2.0.1-dev - everything you need for a static Grid (non draggable) @preserve
22

3-
import './gridstack-poly.js';
3+
// import './gridstack-poly.js';
44

55
export * from './types';
66
export * from './utils';

tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"outDir": "./dist",
1616
"sourceMap": true,
1717
"strict": false,
18-
"target": "ES5"
18+
"target": "ES6"
1919
},
2020
"exclude": [
2121
"./src/**/*.spec.ts",

0 commit comments

Comments
 (0)