cdukes / bones-for-genesis-2-0

A starting point for new Genesis projects. Built for Genesis 3.* and WordPress 5.*+.
GNU General Public License v3.0
182 stars 61 forks source link

jQuery Enqueue #14

Closed Fortyfive closed 10 years ago

Fortyfive commented 10 years ago

Hi Cooper,

I've had to change the jQuery array from ', array(), null, true );' to ', array(), null );' in order to get my revslider plugin to work. Can you please tell me whether I need to change anything in the jQuery fallback function to match this? And, would it be advisable to conditionally use one array for the page with the revslider on, and another for the rest?

Thanks in advance David

cdukes commented 10 years ago

That last parameter determines whether jQuery loads in the footer or the <head>. The fallback script will follow immediately after jQuery regardless. You could test this by pointing the CDN SRC to something broken, and seeing whether everything else still works.

Fortyfive commented 10 years ago

Great, thanks Cooper.

From: Cooper Dukes notifications@github.com Reply-To: cdukes/bones-for-genesis-2-0 <reply+i-30293917-2305fa4cfc8efb9e83e524b94d5a69c6df2aaee5-365186@reply.gith ub.com> Date: Thursday, 27 March 2014 23:28 To: cdukes/bones-for-genesis-2-0 bones-for-genesis-2-0@noreply.github.com Cc: David Hedley david@fortyfivecreative.co.uk Subject: Re: [bones-for-genesis-2-0] jQuery Enqueue (#14)

That last parameter determines whether jQuery loads in the footer or the

. The fallback script will follow immediately after jQuery regardless. You could test this by pointing the CDN SRC to something broken, and seeing whether everything else still works. ‹ Reply to this email directly or view it on GitHub .