mirror of
https://github.com/zenorocha/clipboard.js.git
synced 2023-08-10 21:12:48 +03:00
Replaces every single event listener in favor of event delegation
This commit is contained in:
@ -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(() => {
|
||||
|
Reference in New Issue
Block a user