Converted all modules from CommonJS to ES6

This commit is contained in:
n1474335 2017-03-23 17:52:20 +00:00
parent 0f2a5014be
commit 131b3a83c1
75 changed files with 395 additions and 282 deletions

View file

@ -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;