Commit Graph

5 Commits

Author SHA1 Message Date
splashingpixels 9fe74e0073 jshinted and coding standards see #4680 2014-02-21 20:07:37 -08:00
toddlahman 13c24b410e Removed (document).ready from jQuery scripts
jQuery(document).ready(function($) { is equivalent to calling
jQuery(function($) {.

http://api.jquery.com/ready/
2014-01-30 18:44:17 -08:00
Mike Jolley c6cd7e4017 Sliding payment boxes tweaks Closes #4538 2014-01-20 15:18:47 +00:00
Jared Cobb 9fc47db17f Make frontend scripts safe to run on non WC pages (check for objects)
For a more detailed explaination of why this is helpful, see
Issue #4202. In short, from a dev ops perspective, if we want to build /
concatonate our front end scripts into a single application.js file, we
need to ensure scripts first check for dependent global object helpers
before trying to use them. For example, there are several objects
(created via PHP using `wp_localize_script`) which generate objects such
as `wc_single_product_params`. These objects will not exist on most
other pages, however these scripts attempt to execute code that
references these objects.
2013-12-04 12:15:24 -07:00
Brent Shepherd 4a7f207eff Use new ID for add pay method form
Part of #3396
2013-11-05 15:36:00 -08:00