Skip to content

Commit f4235e1

Browse files
Merge branch 'hotfix/2.0.0-beta.26'
2 parents f3ec72d + 752f148 commit f4235e1

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+2219
-1795
lines changed

AUTHORS

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,3 +71,5 @@ Indri Muska
7171
Reese
7272
Sam Dunster <[email protected]>
7373
Mike Vashevko
74+
koefoed
75+
Yuval Greenfield <[email protected]>

Changelog.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,14 @@
11
# 2.0 Series
2+
## 2.0.0 beta 26
3+
* Apply pie chart labels before transition, so they are easier to manipulate with the pretransition hook. Added example of showing percentages in pie chart labels. (Workaround for [#703](https://github.com/dc-js/dc.js/issues/703))
4+
* Documentation of chart registry, by Jasmine Hegman ([#676](https://github.com/dc-js/dc.js/issues/676) / [#1082](https://github.com/dc-js/dc.js/pull/1082))
5+
* HTML documentation generation, by Matt Traynham. There are still some kinks to be worked out here, but in principle it should be more robust than the gigantic markdown file we are generating. ([#1086](https://github.com/dc-js/dc.js/pull/1086)
6+
* Document that you need to use a `RangedFilter` when filtering a range, by koefoed ([#1090](https://github.com/dc-js/dc.js/pull/1090))
7+
* Fix links to box plot examples, by Yuval Greenfield ([#1094](https://github.com/dc-js/dc.js/pull/1094))
8+
* [Sparkline example](http://dc-js.github.io/dc.js/examples/sparkline.html) ([#1013](https://github.com/dc-js/dc.js/issues/1013))
9+
* Example of [complex reductions](http://dc-js.github.io/dc.js/examples/complex-reduce.html) that need all the rows in each group, like min, max, median.
10+
* [Time interval](http://dc-js.github.io/dc.js/examples/time-intervals.html) example.
11+
212
## 2.0.0 beta 25
313
* Improved dataTable docs (including a fix for [#1030](https://github.com/dc-js/dc.js/issues/1030))
414
* Generate proper data table header ([#1015](https://github.com/dc-js/dc.js/issues/1015))

Gruntfile.js

Lines changed: 20 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ module.exports = function (grunt) {
8585
watch: {
8686
jsdoc2md: {
8787
files: ['<%= conf.src %>/**/*.js'],
88-
tasks: ['build', 'jsdoc2md']
88+
tasks: ['build', 'jsdoc', 'jsdoc2md']
8989
},
9090
scripts: {
9191
files: ['<%= conf.src %>/**/*.js', '<%= conf.web %>/stock.js'],
@@ -168,7 +168,10 @@ module.exports = function (grunt) {
168168
display: 'short',
169169
summary: true,
170170
specs: '<%= conf.spec %>/*-spec.js',
171-
helpers: '<%= conf.spec %>/helpers/*.js',
171+
helpers: [
172+
'<%= conf.web %>/js/jasmine-jsreporter.js',
173+
'<%= conf.spec %>/helpers/*.js'
174+
],
172175
version: '2.0.0',
173176
outfile: '<%= conf.spec %>/index-browserify.html',
174177
keepRunner: true
@@ -211,6 +214,16 @@ module.exports = function (grunt) {
211214
}
212215
}
213216
},
217+
jsdoc: {
218+
dist: {
219+
src: 'dc.js',
220+
options: {
221+
destination: 'web/docs/html',
222+
template: 'node_modules/ink-docstrap/template',
223+
configure: 'node_modules/ink-docstrap/template/jsdoc.conf.json'
224+
}
225+
}
226+
},
214227
jsdoc2md: {
215228
dist: {
216229
src: 'dc.js',
@@ -374,17 +387,17 @@ module.exports = function (grunt) {
374387

375388
// task aliases
376389
grunt.registerTask('build', ['concat', 'uglify', 'cssmin']);
377-
grunt.registerTask('docs', ['build', 'copy', 'jsdoc2md', 'docco', 'fileindex']);
390+
grunt.registerTask('docs', ['build', 'copy', 'jsdoc', 'jsdoc2md', 'docco', 'fileindex']);
378391
grunt.registerTask('web', ['docs', 'gh-pages']);
379392
grunt.registerTask('server', ['docs', 'fileindex', 'jasmine:specs:build', 'connect:server', 'watch:jasmine-docs']);
380-
grunt.registerTask('test', ['build', 'jasmine:specs']);
381-
grunt.registerTask('test-browserify', ['build', 'browserify', 'jasmine:browserify']);
382-
grunt.registerTask('coverage', ['build', 'jasmine:coverage']);
393+
grunt.registerTask('test', ['build', 'copy', 'jasmine:specs']);
394+
grunt.registerTask('test-browserify', ['build', 'copy', 'browserify', 'jasmine:browserify']);
395+
grunt.registerTask('coverage', ['build', 'copy', 'jasmine:coverage']);
383396
grunt.registerTask('ci', ['test', 'jasmine:specs:build', 'connect:server', 'saucelabs-jasmine']);
384397
grunt.registerTask('ci-pull', ['test', 'jasmine:specs:build', 'connect:server']);
385398
grunt.registerTask('lint', ['jshint', 'jscs']);
386399
grunt.registerTask('default', ['build', 'shell:hooks']);
387-
grunt.registerTask('jsdoc', ['build', 'jsdoc2md', 'watch:jsdoc2md']);
400+
grunt.registerTask('doc-debug', ['build', 'jsdoc', 'jsdoc2md', 'watch:jsdoc2md']);
388401
};
389402

390403
module.exports.jsFiles = [

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@
175175

176176
END OF TERMS AND CONDITIONS
177177

178-
Copyright 2012-2015 Nick Zhu & the dc.js Developers
178+
Copyright 2012-2016 Nick Zhu & the dc.js Developers
179179
https://github.com/dc-js/dc.js/blob/master/AUTHORS
180180

181181
Licensed under the Apache License, Version 2.0 (the "License");

LICENSE_BANNER

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*!
22
* dc <%= conf.pkg.version %>
33
* http://dc-js.github.io/dc.js/
4-
* Copyright 2012-2015 Nick Zhu & the dc.js Developers
4+
* Copyright 2012-2016 Nick Zhu & the dc.js Developers
55
* https://github.com/dc-js/dc.js/blob/master/AUTHORS
66
*
77
* Licensed under the Apache License, Version 2.0 (the "License");

component.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "dc.js",
33
"repository": "dc-js/dc.js",
44
"description": "Multi-Dimensional charting built to work natively with crossfilter rendered with d3.js",
5-
"version": "2.0.0-beta.25",
5+
"version": "2.0.0-beta.26",
66
"keywords": [
77
"visualization",
88
"svg",

0 commit comments

Comments
 (0)