Skip to content

Commit

Permalink
Merge pull request #383 from ebanx/revert-372-feature/lib-js-update
Browse files Browse the repository at this point in the history
Revert "Updated lib-js version"
  • Loading branch information
Cezar Luiz authored Mar 23, 2017
2 parents 326762c + 5a206b6 commit 52320dd
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,8 @@ public function checkout_assets()
if (is_checkout()) {
wp_enqueue_script('wc-credit-card-form');
// Using // to avoid conflicts between http and https protocols
wp_enqueue_script('ebanx', '//js.ebanx.com/ebanx-1.5.min.js', '', null, true);
wp_enqueue_script('ebanx_fingerprint', '//js.ebanx.com/device-fingerprint-1.4.min.js', '', null, true);
wp_enqueue_script('ebanx', '//js.ebanx.com/ebanx-1.4.min.js', '', null, true);
wp_enqueue_script('woocommerce_ebanx_jquery_mask', plugins_url('assets/js/jquery-mask.js', WC_EBANX::DIR), array('jquery'), WC_EBANX::VERSION, true);
wp_enqueue_script('woocommerce_ebanx', plugins_url('assets/js/credit-card.js', WC_EBANX::DIR), array('jquery-payment', 'ebanx'), WC_EBANX::VERSION, true);

Expand Down

0 comments on commit 52320dd

Please sign in to comment.