Commit Graph

77 Commits

Author SHA1 Message Date
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
b5bc00f2e4 Release v1.3.0 2015-09-29 10:17:15 -07:00
Mauricio Soares
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
Zeno Rocha
84d1949718 Merge pull request #11 from SpazzMarticus/master
Added unminified dist/clipboard.js
2015-09-29 00:00:18 -07:00
Zeno Rocha
b80f9f8aae Release v1.2.0 2015-09-28 23:56:45 -07:00
SpazzMarticus
1d74794565 Publish-script builds dist/clipboard.js and minifies it to dist/clipboard.min.js 2015-09-29 08:43:23 +02:00
Zeno Rocha
56bac2ce09 Release v1.1.0 2015-09-28 21:38:36 -07:00
Zeno Rocha
d5a4ba1ff0 Updates headline 2015-09-27 16:55:31 -07:00
Zeno Rocha
b0e118f750 Improves test coverage 2015-09-27 11:53:52 -07:00
Zeno Rocha
ce7b9652c7 Includes .bind(this) polyfill for PhantomJS 2015-09-26 09:08:01 -07:00
Zeno Rocha
3610bfa08c Emits event on base class instead of each element for better performance 2015-09-24 18:19:40 -07:00
Zeno Rocha
ced945f11a Replaces every single event listener in favor of event delegation 2015-09-24 17:02:33 -07:00
Zeno Rocha
1febe4eecc Adds karma test suite 2015-09-24 15:11:56 -07:00
Zeno Rocha
aebcbdf292 Updates headline and add default export 2015-09-21 00:37:02 -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
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
718c1b33f0 Removes files that should belong only to gh-pages 2015-09-19 03:23:09 -07:00
Zeno Rocha
10fdf4ff1c Adds base website by using some bower dependencies 2015-09-19 00:18:33 -07:00
Zeno Rocha
8780d3c6bb Adds minify task 2015-09-18 15:55:18 -07:00
Zeno Rocha
e9d9fa6157 Includes babel configuration 2015-09-17 23:16:08 -07:00