Commit Graph

  • 84d1949718 Merge pull request #11 from SpazzMarticus/master Zeno Rocha 2015-09-29 00:00:18 -07:00
  • b80f9f8aae Release v1.2.0 v1.2.0 Zeno Rocha 2015-09-28 23:56:45 -07:00
  • 2aff9ab55a Adds advanced usage docs Zeno Rocha 2015-09-28 23:54:56 -07:00
  • 194bf6aeb3 Source formatting Zeno Rocha 2015-09-28 23:54:34 -07:00
  • 23504403d1 Adds advanced usage docs Zeno Rocha 2015-09-28 23:52:10 -07:00
  • fe6c408e48 Built dist/clipboard.js via npm run publish SpazzMarticus 2015-09-29 08:45:29 +02:00
  • 1d74794565 Publish-script builds dist/clipboard.js and minifies it to dist/clipboard.min.js SpazzMarticus 2015-09-29 08:43:23 +02:00
  • 1f61e16eb5 Fails silently in favor of speed Zeno Rocha 2015-09-28 21:59:18 -07:00
  • 775e4b898d Source formatting Zeno Rocha 2015-09-28 21:56:29 -07:00
  • 56bac2ce09 Release v1.1.0 Zeno Rocha 2015-09-28 10:30:56 -07:00
  • f34bf8eabe Update README.md Eduardo Lundgren 2015-09-29 01:28:59 -03:00
  • c989d6a5d4 Updates api docs Eduardo Lundgren 2015-09-29 01:21:50 -03:00
  • b842987292 Adds support to set action/target/text via function Eduardo Lundgren 2015-09-29 01:15:21 -03:00
  • beab7bc087 Changes target to support selector instead of id Eduardo Lundgren 2015-09-28 23:37:58 -03:00
  • 7758d2fcfe Release v1.1.0 v1.1.0 Zeno Rocha 2015-09-28 10:30:56 -07:00
  • 09729c4017 Merge pull request #8 from mauriciosoares/ghpages-rename-data-attributes Zeno Rocha 2015-09-28 10:22:33 -07:00
  • 0678ba7fce update dist file Mauricio Soares 2015-09-28 14:18:37 -03:00
  • 0f1b243a4a update data-attributes Mauricio Soares 2015-09-28 14:16:53 -03:00
  • 1ce64f39a2 Merge pull request #6 from mauriciosoares/rename-data-attributes Zeno Rocha 2015-09-28 10:12:53 -07:00
  • 40e6ac9674 run publish command Mauricio Soares 2015-09-28 14:08:34 -03:00
  • 157b0fb5a2 Rename data-attributes to prefix "clipboard" This PR renames all the data-attributes for data-clipboard-X, this is due the possibility of conflict with projects that already uses these data-attributes. Mauricio Soares 2015-09-28 14:06:22 -03:00
  • 82e40ac466 Adds facebook image and improves title/description Zeno Rocha 2015-09-27 18:07:19 -07:00
  • d5a4ba1ff0 Updates headline v1.0.0 Zeno Rocha 2015-09-27 16:55:31 -07:00
  • a9c50a74fa Adds Travis CI Zeno Rocha 2015-09-27 16:40:50 -07:00
  • b0e118f750 Improves test coverage Zeno Rocha 2015-09-27 11:53:52 -07:00
  • 467684333f Moves from Node's require to ES6's import syntax Zeno Rocha 2015-09-26 17:31:18 -07:00
  • 1acd23049e Asserts error messages on tests Zeno Rocha 2015-09-26 09:26:54 -07:00
  • abeee82bdc Throws error if either data-target or data-text were passed and throws error if neither data-target nor data-text were passed too Zeno Rocha 2015-09-26 09:25:15 -07:00
  • ce7b9652c7 Includes .bind(this) polyfill for PhantomJS Zeno Rocha 2015-09-26 09:08:01 -07:00
  • bb60a866b2 Fixes tests Zeno Rocha 2015-09-26 07:32:27 -07:00
  • e3f69de585 Renames host argument to emitter Zeno Rocha 2015-09-26 07:31:59 -07:00
  • aa6cc8e4df Merge branch 'master' of https://github.com/jaydson/clipboard.js into jaydson-master Zeno Rocha 2015-09-25 00:39:30 -07:00
  • 8d2fb2c08b Updates documentation Zeno Rocha 2015-09-25 00:28:35 -07:00
  • b1f3dfe951 Updates documentation Zeno Rocha 2015-09-25 00:19:31 -07:00
  • c8d0edf6cd Updates sample to new API Zeno Rocha 2015-09-24 22:40:40 -07:00
  • 4feb26ddb1 Reorganizes assets Zeno Rocha 2015-09-24 22:40:24 -07:00
  • 1ac258dea5 Moves to a better delegate library Zeno Rocha 2015-09-24 22:23:15 -07:00
  • 34c798851d Only removes the fake element after another click event, that way an user can hit Ctrl+C to copy because selection still exists Zeno Rocha 2015-09-24 21:25:37 -07:00
  • 076e3b8a64 Destroys the previous ClipboardAction instance whenever a new click is triggered Zeno Rocha 2015-09-24 21:24:21 -07:00
  • 3610bfa08c Emits event on base class instead of each element for better performance Zeno Rocha 2015-09-24 18:13:23 -07:00
  • ced945f11a Replaces every single event listener in favor of event delegation Zeno Rocha 2015-09-24 17:02:33 -07:00
  • 540038e2ad Adds documentation for each block Zeno Rocha 2015-09-24 16:18:50 -07:00
  • 1febe4eecc Adds karma test suite Zeno Rocha 2015-09-24 15:11:56 -07:00
  • 56dd1aac22 Handles attributes with getters/setters and breaks code into two classes Zeno Rocha 2015-09-24 15:09:34 -07:00
  • 5cbce1fdc6 Removes tooltip on mouseleave Zeno Rocha 2015-09-23 17:15:10 -07:00
  • ddefd62593 Exposes clearSelection and improves tooltips for non-supported browsers Zeno Rocha 2015-09-23 16:49:15 -07:00
  • e72ce02c87 Clears selection only if operation succeeded Zeno Rocha 2015-09-23 10:54:18 -07:00
  • cb08fd826f Clear selection only when operation has succeeded Zeno Rocha 2015-09-23 09:56:05 -07:00
  • dedfbffe05 Fixes selection on non-editable elements Zeno Rocha 2015-09-22 23:32:04 -07:00
  • ba417cf53d Update Internet Explorer logo Jaydson Gomes 2015-09-23 01:12:19 -03:00
  • fbb2a316bf Removes fake element from screen instead making it transparent Zeno Rocha 2015-09-22 09:59:15 -07:00
  • cb4dd5d127 Build Zeno Rocha 2015-09-22 09:57:57 -07:00
  • b4a748f89f Uses template string instead of concat strings Zeno Rocha 2015-09-22 08:33:34 -07:00
  • e2b9ba69a6 Updates browser logos Zeno Rocha 2015-09-22 08:24:32 -07:00
  • 0bee39abc0 Updates browser logos Zeno Rocha 2015-09-22 08:20:52 -07:00
  • 706d55504b Adds the why Zeno Rocha 2015-09-21 12:44:16 -07:00
  • 162aebfb41 Adds the why Zeno Rocha 2015-09-21 12:43:33 -07:00
  • 90878d90c4 Updates snippets to be the same as actual demos Zeno Rocha 2015-09-21 11:04:48 -07:00
  • b2c50bd127 Updates snippets to be the same as actual demos Zeno Rocha 2015-09-21 11:00:14 -07:00
  • 69ef493350 Updates custom events Zeno Rocha 2015-09-21 10:26:59 -07:00
  • c92c4e545a Removes "no-support" event in favor of "error" and "copy/cut" in favor of "success" Zeno Rocha 2015-09-21 10:19:41 -07:00
  • 23b20d6006 Uses optimistic execCommand and removes redundant logic - Fixes #1 Eduardo Lundgren 2015-09-21 09:49:01 -03:00
  • 079df6d52b Build Zeno Rocha 2015-09-21 09:06:27 -07:00
  • f3c042a364 Only fire detailed events if copy was successful Zeno Rocha 2015-09-21 01:15:01 -07:00
  • ebce15d919 Adds tooltips and updates button labels Zeno Rocha 2015-09-21 00:52:45 -07:00
  • aebcbdf292 Updates headline and add default export Zeno Rocha 2015-09-21 00:37:02 -07:00
  • 98548fbd06 Updates headline Zeno Rocha 2015-09-21 00:26:44 -07:00
  • 1f7ae72efd Removes octicons in favor of a single svg Zeno Rocha 2015-09-21 00:04:02 -07:00
  • 212e6df068 Adds favicon and reorganizes assets Zeno Rocha 2015-09-20 23:48:24 -07:00
  • cd58872ec5 Improves responsive rules Zeno Rocha 2015-09-20 18:04:38 -07:00
  • 8050bda877 Updates README according to docs Zeno Rocha 2015-09-20 16:08:56 -07:00
  • 91278ec144 Adds ids for each example Zeno Rocha 2015-09-20 16:24:38 -07:00
  • bd04325e0a Build Zeno Rocha 2015-09-20 15:46:07 -07:00
  • cd7c8bfc27 Adds tests for Clipboard.validate Zeno Rocha 2015-09-20 15:40:59 -07:00
  • 52b444609e Improves error handling Zeno Rocha 2015-09-20 13:47:35 -07:00
  • ec20389775 Adds tests for constructor Zeno Rocha 2015-09-20 00:57:19 -07:00
  • b1d0ac9520 Makes compilation faster but less spec-compliant Zeno Rocha 2015-09-20 00:47:18 -07:00
  • 7df9e6d8f9 Fixes type of return on querySelectorAll method Zeno Rocha 2015-09-20 00:37:30 -07:00
  • bea448d6c5 Includes base test structure Zeno Rocha 2015-09-20 00:23:33 -07:00
  • bfef47473e Build Zeno Rocha 2015-09-19 17:56:38 -07:00
  • 66c18fbcb4 Breaks code into two classes Zeno Rocha 2015-09-19 17:55:02 -07:00
  • 4ad0069dbd Handles browsers that do not support this API Zeno Rocha 2015-09-19 16:43:42 -07:00
  • 24f4bc77ed Handles browsers that do not support this API Zeno Rocha 2015-09-19 16:44:30 -07:00
  • e4f9aa0d7a Adds documentation for custom events Zeno Rocha 2015-09-19 16:05:52 -07:00
  • 960d1a9dd9 Adds browserify and babelify for import transformation Zeno Rocha 2015-09-19 15:42:36 -07:00
  • 7a92a67487 Adds CustomEvent polyfill Zeno Rocha 2015-09-19 14:02:56 -07:00
  • 76ab07a186 Triggers a custom event after copying/cutting commands Zeno Rocha 2015-09-19 11:37:52 -07:00
  • 718c1b33f0 Removes files that should belong only to gh-pages Zeno Rocha 2015-09-19 03:23:09 -07:00
  • d4f94a3d8f Removes files that should belong only to master Zeno Rocha 2015-09-19 03:20:30 -07:00
  • 702d353447 Improves spacing between elements and typography Zeno Rocha 2015-09-19 03:14:52 -07:00
  • 473e6768e4 Adds browser support and more docs Zeno Rocha 2015-09-19 02:26:13 -07:00
  • e1f8fe6cde Renames "data-value" to "data-text" Zeno Rocha 2015-09-19 02:25:46 -07:00
  • 6fcb7d5f87 Fetches attributes via "getAttributes" for better cross browser support Zeno Rocha 2015-09-19 02:03:45 -07:00
  • fb6365e222 Adds better demo styling, footer and GA Zeno Rocha 2015-09-19 01:38:46 -07:00
  • e8c26f6064 Adds code snippets and syntax highlight Zeno Rocha 2015-09-19 00:49:40 -07:00
  • 10fdf4ff1c Adds base website by using some bower dependencies Zeno Rocha 2015-09-19 00:18:33 -07:00
  • 6ecabeb38f Throws an error if selector is empty Zeno Rocha 2015-09-18 22:40:10 -07:00
  • 9f59fd4c59 Converts to a valid HTML document Zeno Rocha 2015-09-18 18:25:28 -07:00
  • 72cfee91a1 Adds support for cut action Zeno Rocha 2015-09-18 18:05:49 -07:00
  • ed8260591c Breaks code into multiple methods (arrow functions ❤️) Zeno Rocha 2015-09-18 17:30:12 -07:00