Commit Graph

396 Commits

Author SHA1 Message Date
Zeno Rocha ced945f11a Replaces every single event listener in favor of event delegation 2015-09-24 17:02:33 -07:00
Zeno Rocha 540038e2ad Adds documentation for each block 2015-09-24 16:18:50 -07:00
Zeno Rocha 1febe4eecc Adds karma test suite 2015-09-24 15:11:56 -07:00
Zeno Rocha 56dd1aac22 Handles attributes with getters/setters and breaks code into two classes 2015-09-24 15:11:11 -07:00
Zeno Rocha e72ce02c87 Clears selection only if operation succeeded 2015-09-23 10:54:18 -07:00
Zeno Rocha dedfbffe05 Fixes selection on non-editable elements 2015-09-22 23:32:04 -07:00
Jaydson Gomes ba417cf53d Update Internet Explorer logo
Firefox logo was duplicated, just changed to the right IE logo.
2015-09-23 01:12:19 -03:00
Zeno Rocha fbb2a316bf Removes fake element from screen instead making it transparent 2015-09-22 09:59:15 -07:00
Zeno Rocha b4a748f89f Uses template string instead of concat strings 2015-09-22 08:33:34 -07:00
Zeno Rocha e2b9ba69a6 Updates browser logos 2015-09-22 08:32:48 -07:00
Zeno Rocha 706d55504b Adds the why 2015-09-21 12:44:16 -07:00
Zeno Rocha 90878d90c4 Updates snippets to be the same as actual demos 2015-09-21 11:04:48 -07:00
Zeno Rocha c92c4e545a Removes "no-support" event in favor of "error" and "copy/cut" in favor of "success" 2015-09-21 10:32:11 -07:00
Eduardo Lundgren 23b20d6006 Uses optimistic execCommand and removes redundant logic - Fixes #1 2015-09-21 09:39:41 -07:00
Zeno Rocha f3c042a364 Only fire detailed events if copy was successful 2015-09-21 01:15:01 -07:00
Zeno Rocha aebcbdf292 Updates headline and add default export 2015-09-21 00:37:02 -07:00
Zeno Rocha 8050bda877 Updates README according to docs 2015-09-20 16:26:55 -07:00
Zeno Rocha cd7c8bfc27 Adds tests for Clipboard.validate 2015-09-20 15:40:59 -07:00
Zeno Rocha 52b444609e Improves error handling 2015-09-20 14:35:19 -07:00
Zeno Rocha ec20389775 Adds tests for constructor 2015-09-20 00:57:19 -07:00
Zeno Rocha b1d0ac9520 Makes compilation faster but less spec-compliant 2015-09-20 00:47:18 -07:00
Zeno Rocha bea448d6c5 Includes base test structure 2015-09-20 00:23:33 -07:00
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 718c1b33f0 Removes files that should belong only to gh-pages 2015-09-19 03:23:09 -07:00
Zeno Rocha 702d353447 Improves spacing between elements and typography 2015-09-19 03:14:52 -07:00
Zeno Rocha 473e6768e4 Adds browser support and more docs 2015-09-19 02:26:13 -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 fb6365e222 Adds better demo styling, footer and GA 2015-09-19 01:38:46 -07:00
Zeno Rocha e8c26f6064 Adds code snippets and syntax highlight 2015-09-19 00:49:40 -07:00
Zeno Rocha 10fdf4ff1c Adds base website by using some bower dependencies 2015-09-19 00:18:33 -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 61f9e368b0 Adds intro documentation 2015-09-18 16:34:09 -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
Zeno Rocha e9d9fa6157 Includes babel configuration 2015-09-17 23:16:08 -07:00
Zeno Rocha 03956aa4c5 Hello world 2015-09-17 23:15:24 -07:00