Remove unused js

pull/346/head
jimmay5469 7 years ago
parent 7b5249f653
commit 4d970dd1bd
  1. 2
      apps/explorer_web/assets/js/app.js
  2. 11
      apps/explorer_web/assets/js/lib/card_flip.js
  3. 6
      apps/explorer_web/assets/js/lib/sidebar.js

@ -18,12 +18,10 @@ import 'bootstrap'
// Local files can be imported directly using relative // Local files can be imported directly using relative
// paths "./socket" or full ones "web/static/js/socket". // paths "./socket" or full ones "web/static/js/socket".
import './lib/card_flip'
import './lib/clipboard_buttons' import './lib/clipboard_buttons'
import './lib/from_now' import './lib/from_now'
import './lib/market_history_chart' import './lib/market_history_chart'
import './lib/reload_button' import './lib/reload_button'
import './lib/sidebar'
import './lib/tooltip' import './lib/tooltip'
import './pages/address' import './pages/address'

@ -1,11 +0,0 @@
import $ from 'jquery'
$('.rotatecard').click(function () {
$(this).parents('.front').toggleClass('flipped')
$(this).parentsUntil('.theme__ribbon').next('.back').toggleClass('backflip')
})
$('.rotatecardback').click(function () {
$(this).parentsUntil('.panel').prev('.front').toggleClass('flipped')
$(this).parents('.back').toggleClass('backflip')
})

@ -1,6 +0,0 @@
import $ from 'jquery'
$('#sidebarCollapse').on('click', function () {
$('#sidebar--container').toggleClass('active')
$(this).toggleClass('active')
})
Loading…
Cancel
Save