Commit Graph

207 Commits

Author SHA1 Message Date
a4c8bc5bf0 Merge pull request #48 from tzoky07/master
Added "build-watch" command. Added ".git" and "dist" directories to .gitignore
2015-10-01 12:07:13 -07:00
5147086c48 Added build-watch script using watchify. Also added the dev dependency
Signed-off-by: tzoky07 <alex.gaman@yahoo.com>
2015-10-01 21:55:49 +03:00
99899441c8 Known issues section 2015-10-01 14:43:01 -03:00
51309716cd Adding CONTRIBUTING guide 2015-10-01 14:39:42 -03:00
c70a91a67e Moves browserify and babelify into dependencies #15 2015-10-01 08:35:17 -07:00
14c5962816 Merge pull request #50 from JoshSpears3/npm-updates
Updated browserify and karma-browserify to fix npm install error
2015-10-01 07:46:37 -07:00
29d5127362 Updated browserify and karma-browserify to fix npm install error 2015-10-01 09:12:48 -05:00
02c44d4a17 Merge pull request #44 from squarejaw/cleanup
Remove unused import and add missing semicolons
2015-09-30 19:45:30 -07:00
4d1fa1ba75 Remove unused import and add missing semicolons 2015-09-30 20:55:35 -05:00
0abb217253 Merge pull request #38 from max-cross/master
Changed "fakeElem" element type.
2015-09-30 15:57:52 -07:00
0085cbc49b Merge pull request #40 from webglider/patch-1
Update README.md
2015-09-30 11:15:18 -07:00
e4f3fb226c Modified comments and changed element type for "ClipboardAction" class; 2015-09-30 20:52:48 +03:00
c3738cd899 Update README.md 2015-09-30 23:22:13 +05:30
c041e2a8f0 changed "fakeElem" element type. 2015-09-30 20:22:45 +03:00
1b062f72f5 Merge pull request #34 from mathiasbynens/lol
Use HTTPS URL
2015-09-30 07:37:45 -07:00
fb3cb46d7c Use HTTPS URL 2015-09-30 16:37:04 +02:00
1539bba290 Release v1.3.1 v1.3.1 2015-09-29 22:35:01 -07:00
3c414a6b2e Renames npm scripts #19 2015-09-29 22:33:39 -07:00
aeec3fd520 Source formatting #19 2015-09-29 22:28:15 -07:00
4534fc4ca0 Adds test for browserify
This commit adds tests to make sure that the browserify bundle will work in the dist file of clipboard.js

This commit adds the mocha and chai modules, since karma doesn't work well with node only tests.

Also splited tests tasks in package.json and updated .gitignore
2015-09-29 22:16:32 -07:00
623614a4e0 Adds commonjs support
These configs in package.json enables the dist file to be required in commonjs envs without babel.
2015-09-29 22:16:32 -07:00
a5e29bd420 Removes code from #constructor to separate functions 2015-09-29 22:14:26 -07:00
3394f59691 Returns undefined instead of null if attributes does not exists #21 2015-09-29 18:24:33 -07:00
d66aab1124 Default options for ClipboardAction too 2015-09-29 20:23:05 -04:00
902c730a4d Use undefined for default parameters 2015-09-29 20:09:17 -04:00
14baab7386 using default parameters instead the 'or' approach 2015-09-29 18:36:07 -03:00
b5bc00f2e4 Release v1.3.0 v1.3.0 2015-09-29 10:17:15 -07:00
ffb2b3fcd9 Merge pull request #16 from mauriciosoares/feature/umd-support
Adds UMD support
2015-09-29 10:14:23 -07:00
a4a68d8774 Merge pull request #14 from yannickoo/patch-2
Fix anchor links to demo
2015-09-29 08:01:32 -07:00
05a807e2fb Adds UMD support
Using the --standalone option from browserify it automatically wrap your code into a UMD module.
2015-09-29 11:09:28 -03:00
0102dd6453 fixes anchor links in readme file 2015-09-29 10:23:37 +02:00
84d1949718 Merge pull request #11 from SpazzMarticus/master
Added unminified dist/clipboard.js
2015-09-29 00:00:18 -07:00
b80f9f8aae Release v1.2.0 v1.2.0 2015-09-28 23:56:45 -07:00
2aff9ab55a Adds advanced usage docs 2015-09-28 23:54:56 -07:00
194bf6aeb3 Source formatting 2015-09-28 23:54:34 -07:00
fe6c408e48 Built dist/clipboard.js via npm run publish 2015-09-29 08:45:29 +02:00
1d74794565 Publish-script builds dist/clipboard.js and minifies it to dist/clipboard.min.js 2015-09-29 08:43:23 +02:00
1f61e16eb5 Fails silently in favor of speed 2015-09-28 21:59:18 -07:00
775e4b898d Source formatting 2015-09-28 21:56:29 -07:00
56bac2ce09 Release v1.1.0 2015-09-28 21:38:36 -07:00
f34bf8eabe Update README.md 2015-09-29 01:28:59 -03:00
b842987292 Adds support to set action/target/text via function 2015-09-29 01:15:21 -03:00
beab7bc087 Changes target to support selector instead of id 2015-09-28 23:37:58 -03:00
1ce64f39a2 Merge pull request #6 from mauriciosoares/rename-data-attributes
Rename data attributes to prefix "clipboard"
2015-09-28 10:12:53 -07:00
40e6ac9674 run publish command 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.
2015-09-28 14:06:22 -03:00
d5a4ba1ff0 Updates headline v1.0.0 2015-09-27 16:55:31 -07:00
a9c50a74fa Adds Travis CI 2015-09-27 16:40:50 -07:00
b0e118f750 Improves test coverage 2015-09-27 11:53:52 -07:00
467684333f Moves from Node's require to ES6's import syntax 2015-09-26 17:31:18 -07:00