Skip to content

Commit 3168274

Browse files
Merge tag '2.0.0-beta.33' into develop
dc.js 2.0 beta 33
2 parents 7368e3b + 5d1aa68 commit 3168274

21 files changed

+1144
-792
lines changed

AUTHORS

+1
Original file line numberDiff line numberDiff line change
@@ -85,3 +85,4 @@ Paul Mach <paulmach@gmail.com>
8585
Fil <fil@rezo.net>
8686
Mauricio Bustos <m@bustos.org>
8787
Anders Dalvander <github@dalvander.com>
88+
Alexander Stillesjö <a.stillesjo@gmail.com>

Changelog.md

+4
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@
66

77
# 2.0 Series
88
## 2.0.0 beta 33
9+
* Use Sass 3 (SCSS) for generating CSS, by Matt Traynham ([#1049](https://github.com/dc-js/dc.js/pull/1049))
10+
* Don't try to interpolate user data in label paths, by Alexander Stillesjö ([#1151](https://github.com/dc-js/dc.js/pull/1151))
11+
* Allow specifying the unit for padding the X axis, by Alexander Stillesjö (thanks also to Matt Traynham for the alternate implementation in [#892](https://github.com/dc-js/dc.js/pull/892))
12+
* Force dots to be shown with `.xyTipsOn('always')`, by Anders Dalvander ([#1152](https://github.com/dc-js/dc.js/issues/1152))
913
* Use keyAccessor for box plots; fix ordinal boxplot brushing and whisker widths, by Matt Traynham ([#1022](https://github.com/dc-js/dc.js/pull/1022))
1014
* `transitionDelay` allows staggered transitions, by Mauricio Bustos ([#1116](https://github.com/dc-js/dc.js/pull/1116))
1115
* Removed the confusing callback from dc.transition and documented the function

Gruntfile.js

+12-5
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,13 @@ module.exports = function (grunt) {
3030
dest: '<%= conf.pkg.name %>.js'
3131
}
3232
},
33+
sass: {
34+
dist: {
35+
files: {
36+
'<%= conf.pkg.name %>.css': 'style/<%= conf.pkg.name %>.scss'
37+
}
38+
}
39+
},
3340
uglify: {
3441
jsmin: {
3542
options: {
@@ -91,9 +98,9 @@ module.exports = function (grunt) {
9198
files: ['<%= conf.src %>/**/*.js', '<%= conf.web %>/stock.js'],
9299
tasks: ['docs']
93100
},
94-
styles: {
95-
files: ['<%= conf.pkg.name %>.css'],
96-
tasks: ['cssmin:main', 'copy:dc-to-gh']
101+
sass: {
102+
files: ['style/<%= conf.pkg.name %>.scss'],
103+
tasks: ['sass', 'cssmin:main', 'copy:dc-to-gh']
97104
},
98105
jasmineRunner: {
99106
files: ['<%= conf.spec %>/**/*.js'],
@@ -384,13 +391,13 @@ module.exports = function (grunt) {
384391
},
385392
runner: grunt.config('watch').jasmineRunner,
386393
scripts: grunt.config('watch').scripts,
387-
styles: grunt.config('watch').styles
394+
sass: grunt.config('watch').sass
388395
});
389396
grunt.task.run('watch');
390397
});
391398

392399
// task aliases
393-
grunt.registerTask('build', ['concat', 'uglify', 'cssmin']);
400+
grunt.registerTask('build', ['concat', 'sass', 'uglify', 'cssmin']);
394401
grunt.registerTask('docs', ['build', 'copy', 'jsdoc', 'jsdoc2md', 'docco', 'fileindex']);
395402
grunt.registerTask('web', ['docs', 'gh-pages']);
396403
grunt.registerTask('server', ['docs', 'fileindex', 'jasmine:specs:build', 'connect:server', 'watch:jasmine-docs']);

0 commit comments

Comments
 (0)