Skip to content

Commit

Permalink
Added notification, adjusted browserlist query and configs (cvat-ai#3501
Browse files Browse the repository at this point in the history
)

* Some config files added to ignore

* Updated config files

* Updated version & changelog

* Fixed configs

* Fixed one type error

* Updated webpack-cli
  • Loading branch information
Boris Sekachev authored Aug 4, 2021
1 parent 7ee8efb commit a12d14b
Show file tree
Hide file tree
Showing 20 changed files with 257 additions and 513 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Added

- TDB
- Notification if the browser does not support nesassary API

### Changed

Expand Down
218 changes: 50 additions & 168 deletions cvat-canvas/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 7 additions & 1 deletion cvat-canvas/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@
},
"author": "Intel",
"license": "MIT",
"browserslist": [
"Chrome >= 63",
"Firefox > 58",
"not IE 11",
"> 2%"
],
"dependencies": {
"svg.draggable.js": "2.2.2",
"svg.draw.js": "^2.0.4",
Expand Down Expand Up @@ -41,7 +47,7 @@
"style-loader": "^1.0.0",
"typescript": "^3.5.3",
"webpack": "^5.20.2",
"webpack-cli": "^3.3.6",
"webpack-cli": "^3.3.12",
"webpack-dev-server": "^3.11.0"
}
}
12 changes: 0 additions & 12 deletions cvat-canvas/postcss.config.js

This file was deleted.

4 changes: 2 additions & 2 deletions cvat-canvas/src/typescript/svg.patch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ import 'svg.select.js';
import 'svg.draw.js';

import consts from './consts';
import { Point, Equation, CuboidModel, Orientation, Edge } from './cuboid';
import { parsePoints, clamp } from './shared';
import { Equation, CuboidModel, Orientation, Edge } from './cuboid';
import { Point, parsePoints, clamp } from './shared';

// Update constructor
const originalDraw = SVG.Element.prototype.draw;
Expand Down
Loading

0 comments on commit a12d14b

Please sign in to comment.