Update backstretch script

This commit is contained in:
Robin Cornett
2018-05-07 10:06:30 -04:00
parent 40e8ca78c6
commit 857e50dcf7
3 changed files with 1579 additions and 2 deletions
@@ -120,7 +120,8 @@ class Display_Featured_Image_Genesis_Output {
*/
protected function do_backstretch_image_things() {
$common = $this->get_common_class();
wp_register_script( 'backstretch', plugins_url( '/includes/js/backstretch.js', dirname( __FILE__ ) ), array( 'jquery' ), '2.1.15', true );
$minify = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '' : '.min';
wp_register_script( 'backstretch', plugins_url( "/includes/js/backstretch{$minify}.js", dirname( __FILE__ ) ), array( 'jquery' ), '2.1.16', true );
wp_enqueue_script( 'displayfeaturedimage-backstretch-set', plugins_url( '/includes/js/backstretch-set.js', dirname( __FILE__ ) ), array(
'jquery',
'backstretch',
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long