Skip to content

Commit

Permalink
Fixing the look of select2 components
Browse files Browse the repository at this point in the history
  • Loading branch information
mistercrunch committed Mar 6, 2016
1 parent a53dbfc commit 9855a60
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion panoramix/assets/javascripts/dashboard.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ var ace = require('brace');
require('brace/mode/css');
require('brace/theme/crimson_editor');

require('select2');
require('./panoramix_select2.js');
require('../node_modules/gridster/dist/jquery.gridster.min.js');

var Dashboard = function (dashboardData) {
Expand Down
4 changes: 3 additions & 1 deletion panoramix/assets/javascripts/explore.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ require('jquery-ui');
$.widget.bridge('uitooltip', $.ui.tooltip); // Shutting down jq-ui tooltips
require('bootstrap');

require('select2');
require('./panoramix_select2.js');


require('../node_modules/bootstrap-toggle/js/bootstrap-toggle.min.js');
require('../vendor/select2.sortable.js');

Expand Down
2 changes: 2 additions & 0 deletions panoramix/assets/javascripts/panoramix_select2.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
require('../node_modules/select2-bootstrap-css/select2-bootstrap.min.css');
require('select2');
1 change: 1 addition & 0 deletions panoramix/assets/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@
"react-bootstrap": "^0.28.3",
"react-dom": "^0.14.7",
"select2": "3.5",
"select2-bootstrap-css": "^1.4.6",
"style-loader": "^0.13.0",
"topojson": "^1.6.22",
"webpack": "^1.12.12"
Expand Down
2 changes: 2 additions & 0 deletions panoramix/assets/visualizations/filter_box.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ var d3 = window.d3 || require('d3');

// CSS
require('./filter_box.css');
require('../javascripts/panoramix_select2.js')

This comment has been minimized.

Copy link
@williaster

williaster Mar 7, 2016

Contributor

this should have failed the linting! hmm.



function filterBox(slice) {
var filtersObj = {};
Expand Down

0 comments on commit 9855a60

Please sign in to comment.