From 3ad0e63be0942d9418d9bc8749c208741c70fb34 Mon Sep 17 00:00:00 2001 From: claudiosmweb Date: Fri, 15 Aug 2014 11:40:19 -0300 Subject: [PATCH] improved the simplify scripts --- .../assets/js/simplify-commerce.js | 1 + .../class-wc-gateway-simplify-commerce.php | 15 +++++++++------ 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/includes/gateways/simplify-commerce/assets/js/simplify-commerce.js b/includes/gateways/simplify-commerce/assets/js/simplify-commerce.js index 142b3580bc7..dcf04930dbd 100644 --- a/includes/gateways/simplify-commerce/assets/js/simplify-commerce.js +++ b/includes/gateways/simplify-commerce/assets/js/simplify-commerce.js @@ -1,3 +1,4 @@ +/*global simplfy_commerce_params, wc_checkout_params, SimplifyCommerce */ (function ( $ ) { // Form handler diff --git a/includes/gateways/simplify-commerce/class-wc-gateway-simplify-commerce.php b/includes/gateways/simplify-commerce/class-wc-gateway-simplify-commerce.php index daaf9c2a880..2fad7428651 100644 --- a/includes/gateways/simplify-commerce/class-wc-gateway-simplify-commerce.php +++ b/includes/gateways/simplify-commerce/class-wc-gateway-simplify-commerce.php @@ -100,13 +100,16 @@ class WC_Gateway_Simplify_Commerce extends WC_Payment_Gateway { generate_settings_html(); ?>