Skip to content

Commit

Permalink
fixes for recent update
Browse files Browse the repository at this point in the history
 * d3-tip added
 * fix for richlist
  • Loading branch information
hackmod committed Mar 10, 2019
1 parent 32ea55f commit 5f37559
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
7 changes: 7 additions & 0 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ var public_js_scripts = [

var public_js_controllers_scripts = [
'AddressController.js',
'AccountsController.js',
'BlockController.js',
'ContractController.js',
'DAOController.js',
Expand Down Expand Up @@ -304,6 +305,12 @@ gulp.task('uglify-module', ['clean'], function() {
.pipe(concat('datatables.all.min.js'))
.pipe(uglify())
.pipe(gulp.dest(bases.distdir + 'plugins/datatables'));

// d3.tip
gulp.src('node_modules/d3-tip/dist/index.js')
.pipe(uglify())
.pipe(rename('d3.tip.min.js'))
.pipe(gulp.dest(bases.distdir + 'plugins'));
});

var copyPublic = function() {
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
"concurrently": "^3.5.1",
"d3": "^3.5.17",
"d3-time": "^1.0.8",
"d3-tip": "^0.9.1",
"datatables.net": "^1.10.16",
"datatables.net-bs": "^1.10.16",
"datatables.net-dt": "^1.10.16",
Expand Down
4 changes: 1 addition & 3 deletions public/js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -150,10 +150,8 @@ BlocksApp.config(['$stateProvider', '$urlRouterProvider', function($stateProvide
insertBefore: '#ng_load_plugins_before', // load the above css files before '#ng_load_plugins_before'
files: [
'/js/controllers/AccountsController.js',
'/plugins/datatables/datatables.min.css',
'/plugins/datatables/datatables.bootstrap.css',
'/plugins/datatables/datatables.all.min.js',
'/plugins/datatables/datatable.min.js'
'/plugins/datatables/datatables.all.min.js'
]
});
}]
Expand Down

0 comments on commit 5f37559

Please sign in to comment.