Commit Graph

15 Commits

Author SHA1 Message Date
Zeno Rocha
66c18fbcb4 Breaks code into two classes 2015-09-19 18:03:31 -07:00
Zeno Rocha
24f4bc77ed Handles browsers that do not support this API 2015-09-19 16:44:30 -07:00
Zeno Rocha
960d1a9dd9 Adds browserify and babelify for import transformation 2015-09-19 15:42:36 -07:00
Zeno Rocha
7a92a67487 Adds CustomEvent polyfill 2015-09-19 14:02:56 -07:00
Zeno Rocha
76ab07a186 Triggers a custom event after copying/cutting commands 2015-09-19 11:38:19 -07:00
Zeno Rocha
e1f8fe6cde Renames "data-value" to "data-text" 2015-09-19 02:25:46 -07:00
Zeno Rocha
6fcb7d5f87 Fetches attributes via "getAttributes" for better cross browser support 2015-09-19 02:03:45 -07:00
Zeno Rocha
6ecabeb38f Throws an error if selector is empty 2015-09-18 22:40:10 -07:00
Zeno Rocha
9f59fd4c59 Converts to a valid HTML document 2015-09-18 18:25:28 -07:00
Zeno Rocha
72cfee91a1 Adds support for cut action 2015-09-18 18:10:44 -07:00
Zeno Rocha
ed8260591c Breaks code into multiple methods (arrow functions ❤️) 2015-09-18 17:30:12 -07:00
Zeno Rocha
f7d3fb249a Adds new "value" attribute that creates a fake element and select its content to clipboard 2015-09-18 16:32:57 -07:00
Zeno Rocha
8780d3c6bb Adds minify task 2015-09-18 15:55:18 -07:00
Zeno Rocha
d682f4a3d4 Adds support for any HTML element 2015-09-17 23:53:36 -07:00
Zeno Rocha
231d62db0e Adds initial clipboard implementation 2015-09-17 23:18:08 -07:00