Skip to content

Commit

Permalink
Integrated latest master. Started redesigning architecture.
Browse files Browse the repository at this point in the history
Also included static files that will be used to simulate indices.
  • Loading branch information
atruskie committed Nov 3, 2014
1 parent c978677 commit a659dde
Show file tree
Hide file tree
Showing 28 changed files with 471 additions and 322 deletions.
2 changes: 1 addition & 1 deletion buildConfig/build.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,9 @@ module.exports = {
*/
vendor_files: {
jsWrapWithModule: [
'vendor/d3/d3.js',
'vendor/momentjs/moment.js',
'vendor/lodash/dist/lodash.js',

'vendor/bowser/bowser.js',
'vendor/humanize-duration/humanize-duration.js'
],
Expand Down
7 changes: 3 additions & 4 deletions src/app/d3Bindings/audioView/audioView.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ angular.module("bawApp.d3.audioView", ["bawApp.d3"])

var parseFormat = d3.time.format("%Y-%m-%dT%H:%M:%S%Z"),
keyYearFormat = d3.time.format("%Y"),
keyMonthFormat = d3.time.format("%m")
;
keyMonthFormat = d3.time.format("%m");

var updateData = function updateData(json) {
// change data so it is nested properly
Expand All @@ -38,7 +37,7 @@ angular.module("bawApp.d3.audioView", ["bawApp.d3"])
// add month divs
var monthData = yearsData
.selectAll("div")
.data(function(year){ return year.values });
.data(function(year){ return year.values; });

monthData
.enter()
Expand Down Expand Up @@ -86,7 +85,7 @@ angular.module("bawApp.d3.audioView", ["bawApp.d3"])
return $scope.data;
}, function (newValue, oldValue) {
if (newValue) {
updateData(newValue.data);
updateData(newValue);
}
});

Expand Down
21 changes: 0 additions & 21 deletions src/app/d3Bindings/bawD3.js

This file was deleted.

Loading

0 comments on commit a659dde

Please sign in to comment.