mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-20 06:55:08 -04:00
Converted all modules from CommonJS to ES6
This commit is contained in:
parent
0f2a5014be
commit
131b3a83c1
75 changed files with 395 additions and 282 deletions
|
@ -10,7 +10,7 @@
|
|||
* @constant
|
||||
* @namespace
|
||||
*/
|
||||
var CanvasComponents = module.exports = {
|
||||
const CanvasComponents = {
|
||||
|
||||
drawLine: function(ctx, startX, startY, endX, endY) {
|
||||
ctx.beginPath();
|
||||
|
@ -182,3 +182,5 @@ var CanvasComponents = module.exports = {
|
|||
},
|
||||
|
||||
};
|
||||
|
||||
export default CanvasComponents;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue