Fix todos specs.

This commit is contained in:
Bryce Johnson 2016-09-27 13:40:31 +02:00
parent ed8f27e636
commit e0d66819e9

View file

@ -1,7 +1,7 @@
((global) => {
class Todos {
constructor({ el }) {
constructor({ el } = {}) {
this.allDoneClicked = this.allDoneClicked.bind(this);
this.doneClicked = this.doneClicked.bind(this);
this.el = el || $('.js-todos-options');