Replaces every single event listener in favor of event delegation

This commit is contained in:
Zeno Rocha
2015-09-24 17:02:33 -07:00
parent 540038e2ad
commit ced945f11a
4 changed files with 16 additions and 47 deletions

View File

@ -25,11 +25,6 @@ describe('Clipboard', () => {
done();
}
});
it('should create a NodeList from selector and store it in a "triggers" property', () => {
let clipboard = new Clipboard('.btn');
return assert.instanceOf(clipboard.triggers, NodeList);
});
});
after(() => {