Commit Graph

59 Commits

Author SHA1 Message Date
Zach Panzarino
27b6791e73 Fix build to remove all comments other than header 2016-05-04 22:54:10 +00:00
Zach Panzarino
2c77f1b065 Enable line tests 2016-04-28 23:05:18 +00:00
Evert Timberg
73bc52f196 Update radial linear tests 2016-04-28 18:28:57 -04:00
Evert Timberg
9fe9305992 Reenable time scale tests 2016-04-27 21:50:31 -04:00
Evert Timberg
5c146a9da5 Linear scale tests 2016-04-27 21:19:02 -04:00
Evert Timberg
405fda6655 Fix radar tests & reenable. support new lineTension attribute like line controller 2016-04-27 19:03:52 -04:00
Evert Timberg
40405ebc80 disable time tests for same reason as others 2016-04-27 17:45:39 -04:00
Simon Brunel
eb14481d02 Fix legend tests and disable other failing tests 2016-04-27 19:58:36 +02:00
Zach Panzarino
0420965b49 Update gulpfile.js 2016-04-25 13:18:25 -04:00
Zach Panzarino
900d249646 Fix build to include comment at top of file 2016-04-22 15:03:52 +00:00
Zach Panzarino
fdec346206 Fix case-sensitive error in gulpfile 2016-04-20 23:42:07 +00:00
etimberg
a84f9d9177 Update other test tasks to use karma-browserify 2016-02-13 21:58:49 -05:00
etimberg
96551c20db begin fixing coverage tests 2016-02-13 21:50:12 -05:00
etimberg
f6951816a0 Improve joshing reporting. Added a JSHint config file.
Fixed JSHint warnings.
2016-02-13 20:12:26 -05:00
Tanner Linsley
999125c521 Testing for the new build system 2016-02-11 23:25:06 -07:00
Tanner Linsley
813d18bd78 Passing All Tests, Updated Dependencies 2016-02-11 23:16:43 -07:00
Tanner Linsley
007d029837 Bundled builds
Possible usages are:

src/Chart.js (umd)
dist/Chart.js (ChartJS)
dist/Chart.min.js (ChartJS minified)
dist/Chart.bundle.js (ChartJS with Moment.js)
dist/Chart.bundle.min.js (ChartJS with Moment.js minified)
2016-02-11 21:29:26 -07:00
Tanner Linsley
f2780bb825 Browserify for easier UMD consumptions and vanilla builds 2016-02-11 20:30:53 -07:00
Kirushanth Sakthivetpillai
1e91cf816b Update gulpfile.js
root can be either window, globals but without this, JS will not lookup in globals object
2016-01-05 11:19:48 -05:00
Tanner Linsley
ac9fe08068 Offer window alternative to this context. Fixes Webspack and Browserify support 2015-12-30 09:43:51 -07:00
Kriss
1221d8311a gulp-umd
Explicitly pass root to the factory function.
2015-12-22 13:21:23 +00:00
etimberg
b388a1e873 Pipe the build through UMD to get proper UMD headers 2015-12-02 21:08:52 -05:00
wuchangming
dae1e429b8 no such file 2015-11-26 19:35:25 +08:00
Evert Timberg
2e77651dd2 Test in firefox on travis 2015-10-20 20:08:41 -04:00
Tanner Linsley
e0918817ae Testing fixes for time scale 2015-10-16 21:14:07 -06:00
Evert Timberg
6001a1e4e7 Fix JSHint task 2015-10-13 10:33:59 -04:00
Tanner Linsley
5543041fcd Add Moment.js back into test reps 2015-09-28 12:45:53 -06:00
Tanner Linsley
39b15b98e6 Removed moment from build, import color lib first 2015-09-28 11:28:34 -06:00
Evert Timberg
80b2ffe3ee Fix bar controller unit tests 2015-09-27 18:28:09 -04:00
Evert Timberg
9474d72491 Revert "Fix resize problems when charts are initially hidden" 2015-09-19 17:52:58 -04:00
Evert Timberg
bcbd9a85e6 Merge remote-tracking branch 'upstream/v2.0-dev' into feature/resize_problems
Conflicts:
	gulpfile.js
2015-09-18 18:38:47 -04:00
Tanner Linsley
8762ae2f28 Add moment.js as dependency 2015-09-10 22:46:51 -06:00
Tanner Linsley
98eea76195 Do not test on gulp watch 2015-09-10 22:46:07 -06:00
Evert Timberg
2f38a3894a Get resize listener helper 2015-09-04 22:55:41 -04:00
Evert Timberg
7fed38f1ab Merge remote-tracking branch 'upstream/v2.0-dev' into feature/unit-test
Conflicts:
	gulpfile.js
2015-08-28 19:09:39 -04:00
Evert Timberg
92f1c65c1c Install coverage metrics. Use gulp coverage to generate coverage reports 2015-08-28 19:02:37 -04:00
Tanner Linsley
edf95175a7 Organize Gulpfile, Integrate unit tests with Travis 2015-08-28 16:58:23 -06:00
Evert Timberg
9c1a0cbc16 This should run the unit tests from the CI system 2015-08-28 18:52:46 -04:00
Evert Timberg
f636a78977 Watch mode runs tests. 2015-08-23 15:55:10 -04:00
Evert Timberg
c1cca356df Initial test setup 2015-08-23 14:58:19 -04:00
Evert Timberg
056b9550d0 Create interfaces similar to the old interfaces. Ensure that scales always have IDs before controllers are built. 2015-06-16 19:20:26 -04:00
Tanner Linsley
aaa2484e1b Controller function organization 2015-06-14 19:42:39 -06:00
Tanner Linsley
d73dae09e7 No hardcoded chart type methods 2015-06-14 19:15:10 -06:00
Tanner Linsley
3f9afb1f31 More core file separation, and no duplicate copyrights 2015-06-14 18:09:45 -06:00
Evert Timberg
886c99623f Drop the base class in favour of an expanded canvas controller. Renamed 'chart' to 'chartInstance' in the controllers 2015-06-14 13:37:37 -04:00
Evert Timberg
9751e8f5b1 Created a generic base class to be used by rectangular charts. Modified Chart.Type.extend to put the parent's prototype in __super__. Moved more code into the controller and renamed the controller to RectangularElementController. 2015-06-14 10:35:59 -04:00
Evert Timberg
89574b61c5 Prototype controller + some of line chart converted 2015-06-13 20:40:35 -04:00
Tanner Linsley
cfc008686b File structure fixes and gulp watch working again 2015-06-12 16:15:33 -06:00
Tanner Linsley
e1237feb97 File structure for extensibility 2015-06-12 16:08:27 -06:00
Tanner Linsley
5732e0d72a More maintainable file structure 2015-06-12 14:00:48 -06:00