woocommerce/assets
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
..
css twenty fourteen compat. closes #4272 2013-12-03 16:53:47 +00:00
fonts edit coupon icons and new version of WooCommerce icon font. #3585 2013-10-28 11:19:56 +00:00
images optimizing images 2013-11-19 12:59:01 -06:00
js Make frontend scripts safe to run on non WC pages (check for objects) 2013-12-04 12:15:24 -07:00