remove async_listing_load lib import from app.js

pull/2944/head
Max Alekseenko 5 years ago
parent 3271dc83b4
commit 7f2cb10f2f
  1. 1
      apps/block_scout_web/assets/js/app.js
  2. 1
      apps/block_scout_web/assets/js/pages/token_counters.js
  3. 1
      apps/block_scout_web/assets/js/pages/transaction.js
  4. 1
      apps/block_scout_web/assets/webpack.config.js
  5. 1
      apps/block_scout_web/lib/block_scout_web/templates/address/index.html.eex
  6. 1
      apps/block_scout_web/lib/block_scout_web/templates/address_token/index.html.eex
  7. 1
      apps/block_scout_web/lib/block_scout_web/templates/address_token_transfer/index.html.eex
  8. 1
      apps/block_scout_web/lib/block_scout_web/templates/block_transaction/index.html.eex

@ -31,7 +31,6 @@ import './lib/pending_transactions_toggle'
import './lib/pretty_json'
import './lib/reload_button'
import './lib/stop_propagation'
import './lib/async_listing_load'
import './lib/tooltip'
import './lib/modals'
import './lib/card_tabs'

@ -2,6 +2,7 @@ import $ from 'jquery'
import omit from 'lodash/omit'
import humps from 'humps'
import { createStore, connectElements } from '../lib/redux_helpers.js'
import '../lib/async_listing_load'
export const initialState = {
channelDisconnected: false,

@ -5,6 +5,7 @@ import numeral from 'numeral'
import socket from '../socket'
import { createStore, connectElements } from '../lib/redux_helpers.js'
import '../lib/transaction_input_dropdown'
import '../lib/async_listing_load'
export const initialState = {
blockNumber: null,

@ -91,6 +91,7 @@ const appJs =
'token-transfers-toggle': './js/lib/token_transfers_toggle.js',
'try-api': './js/lib/try_api.js',
'try-eth-api': './js/lib/try_eth_api.js',
'async-listing-load': './js/lib/async_listing_load',
'non-critical': './css/non-critical.scss'
},
output: {

@ -49,4 +49,5 @@
<%= render BlockScoutWeb.CommonComponentsView, "_pagination_container.html", position: "bottom", cur_page_number: "1", show_pagination_limit: true, data_next_page_button: true, data_prev_page_button: true %>
</div>
</div>
<script defer data-cfasync="false" src="<%= static_path(@conn, "/js/async-listing-load.js") %>"></script>
</section>

@ -36,5 +36,6 @@
</div>
</div>
<script defer data-cfasync="false" src="<%= static_path(@conn, "/js/async-listing-load.js") %>"></script>
</section>
</section>

@ -74,5 +74,6 @@
</div>
</div>
<script defer data-cfasync="false" src="<%= static_path(@conn, "/js/async-listing-load.js") %>"></script>
</section>
</section>

@ -36,5 +36,6 @@
<%= render BlockScoutWeb.CommonComponentsView, "_pagination_container.html", position: "bottom", cur_page_number: "1", show_pagination_limit: true, data_next_page_button: true, data_prev_page_button: true %>
</div>
<script defer data-cfasync="false" src="<%= static_path(@conn, "/js/async-listing-load.js") %>"></script>
</section>
</section>

Loading…
Cancel
Save