const componentHandler = require('o-component-handler');

module.exports = ExampleComponent;

class ExampleComponent {

	constructor(element) {
		this.element_ = element;
		this.init();
	}

	init() {
		if (this.element_) {
			this.element_.addEventListener('click', this.handleClick_.bind(this));
		}
	}

	handleClick_() {
		console.log('ExampleComponent: click');
	}
}

componentHandler.register({
	constructor: ExampleComponent,
	classAsString: 'ExampleComponent',
	cssClass: 'o-example-component'
});

@@ -1,12 +1,13 @@
-cons
+impor
 t compon
@@ -21,18 +21,13 @@
 ler 
-= require(
+from 
 'o-c
@@ -47,48 +47,26 @@
 ler'
-)
 ;%0A%0A
-module.exports = ExampleComponent;%0A%0A
+export default 
 clas

use ES2015 module syntax in example