Commit Graph

128 Commits

Author SHA1 Message Date
Zeno Rocha
8e56ee61c4 Moves advanced section to the bottom 2015-10-03 19:16:09 -07:00
Zeno Rocha
83a8effff9 Adds docs for #24 2015-10-03 19:11:29 -07:00
Kevin Malakoff
e5a6797c82 Got rid of ES7 notation and built library 2015-10-03 19:06:29 -07:00
Zeno Rocha
8dc4e2e132 Adds destroy method for ClipboardAction too #24 2015-10-03 19:05:12 -07:00
Zeno Rocha
0c24503214 Source formatting and testing for #24 2015-10-03 19:04:37 -07:00
Zeno Rocha
cc9d562580 Renames "initialize" method to "onClick" #51 2015-10-03 16:44:47 -07:00
Zeno Rocha
8fa31029ac Merge branch 'pr-63' 2015-10-03 16:25:34 -07:00
Zeno Rocha
c16137511c Source formatting #63 2015-10-03 16:25:20 -07:00
Vitor Cortez
15a66df290 Edit ´getAttributeValue´ to a function declaration
Favoring function declaration over a function expression in this case to follow style guidelines.
2015-10-03 16:25:20 -07:00
Vitor Cortez
ff4755fe4c Add helper method to dry default set functions 2015-10-03 16:25:20 -07:00
Zeno Rocha
0b9a0402b9 Source formatting #63 2015-10-03 16:25:06 -07:00
Zeno Rocha
b3fcd15a8e Merge pull request #57 from calvincorreli/patch-1
Prevent FF < 41 scrolling to bottom of  page
2015-10-03 15:51:24 -07:00
Zeno Rocha
d28418675b Rename CONTRIBUTING.md to contributing.md 2015-10-03 15:49:26 -07:00
Zeno Rocha
fab7b16bb8 Rename README.md to readme.md 2015-10-03 15:48:56 -07:00
Zeno Rocha
e4de506885 Merge pull request #55 from jaydson/contributing
Adding CONTRIBUTING guide
2015-10-03 15:46:37 -07:00
Zeno Rocha
3bdb55900d Merge pull request #65 from arve0/bower_main
point to dist in bower.json, fixes #64
2015-10-03 07:40:27 -07:00
arve0
71705c6431 point to dist in bower.json, fixes #64 2015-10-03 16:39:30 +02:00
Vitor Cortez
c666150278 Edit ´getAttributeValue´ to a function declaration
Favoring function declaration over a function expression in this case to follow style guidelines.
2015-10-02 20:46:02 -03:00
Vitor Cortez
cead303e53 Add helper method to dry default set functions 2015-10-02 19:56:10 -03:00
Zeno Rocha
b0d54c46fe Adds link to CDN file #30 #53 2015-10-02 14:59:27 -07:00
Calvin Correli
5c8af54b8a Prevent FF < 41 scrolling to bottom of page
In Firefox < 41, the selecting fakeElem.select() would cause the browser to scroll to the bottom of the page. 

By positioning fakeElem at the current scroll position, but still way out to the left, that no longer happens.
2015-10-02 09:32:16 -04:00
Zeno Rocha
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
tzoky07
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
Jaydson Gomes
99899441c8 Known issues section 2015-10-01 14:43:01 -03:00
Jaydson Gomes
51309716cd Adding CONTRIBUTING guide 2015-10-01 14:39:42 -03:00
Zeno Rocha
c70a91a67e Moves browserify and babelify into dependencies #15 2015-10-01 08:35:17 -07:00
Zeno Rocha
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
JoshSpears3
29d5127362 Updated browserify and karma-browserify to fix npm install error 2015-10-01 09:12:48 -05:00
Zeno Rocha
02c44d4a17 Merge pull request #44 from squarejaw/cleanup
Remove unused import and add missing semicolons
2015-09-30 19:45:30 -07:00
Bryan Bess
4d1fa1ba75 Remove unused import and add missing semicolons 2015-09-30 20:55:35 -05:00
Zeno Rocha
0abb217253 Merge pull request #38 from max-cross/master
Changed "fakeElem" element type.
2015-09-30 15:57:52 -07:00
Zeno Rocha
0085cbc49b Merge pull request #40 from webglider/patch-1
Update README.md
2015-09-30 11:15:18 -07:00
Maxim Lebedinets
e4f3fb226c Modified comments and changed element type for "ClipboardAction" class; 2015-09-30 20:52:48 +03:00
midhul varma
c3738cd899 Update README.md 2015-09-30 23:22:13 +05:30
Maxim Lebedinets
c041e2a8f0 changed "fakeElem" element type. 2015-09-30 20:22:45 +03:00
Zeno Rocha
1b062f72f5 Merge pull request #34 from mathiasbynens/lol
Use HTTPS URL
2015-09-30 07:37:45 -07:00
Mathias Bynens
fb3cb46d7c Use HTTPS URL 2015-09-30 16:37:04 +02:00
Zeno Rocha
1539bba290 Release v1.3.1 2015-09-29 22:35:01 -07:00
Zeno Rocha
3c414a6b2e Renames npm scripts #19 2015-09-29 22:33:39 -07:00
Zeno Rocha
aeec3fd520 Source formatting #19 2015-09-29 22:28:15 -07:00
Mauricio Soares
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
Mauricio Soares
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
Zeno Rocha
a5e29bd420 Removes code from #constructor to separate functions 2015-09-29 22:14:26 -07:00
Zeno Rocha
3394f59691 Returns undefined instead of null if attributes does not exists #21 2015-09-29 18:24:33 -07:00
Jory Graham
d66aab1124 Default options for ClipboardAction too 2015-09-29 20:23:05 -04:00
Jory Graham
902c730a4d Use undefined for default parameters 2015-09-29 20:09:17 -04:00
rspecht
14baab7386 using default parameters instead the 'or' approach 2015-09-29 18:36:07 -03:00
Zeno Rocha
b5bc00f2e4 Release v1.3.0 2015-09-29 10:17:15 -07:00
Zeno Rocha
ffb2b3fcd9 Merge pull request #16 from mauriciosoares/feature/umd-support
Adds UMD support
2015-09-29 10:14:23 -07:00
Zeno Rocha
a4a68d8774 Merge pull request #14 from yannickoo/patch-2
Fix anchor links to demo
2015-09-29 08:01:32 -07:00