<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Printing JS like that should be perfectly fine.  I see no reason to
    load 3 lines of jQuery as a completely separate file and probably
    wouldn't consider it best practice to do so.<br>
    <br>
    <div class="moz-cite-prefix">On 8/3/2013 12:09 PM, Edward Caissie
      wrote:<br>
    </div>
    <blockquote
cite="mid:CAE5CyMgBWgR0fJNyvz1S7ZsOv11ko2NH+A4uXvbjujJ+iKmMtA@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>I would strongly lean towards REQUIRED ... mostly for
          consistency when and where scripts are enqueued.<br>
          <br>
        </div>
        Other than that I would say RECOMMENDED as a best practice ideal
        at a minimum.<br>
      </div>
      <div class="gmail_extra"><br clear="all">
        <div>Edward Caissie<br>
          aka Cais.</div>
        <br>
        <br>
        <div class="gmail_quote">On Sat, Aug 3, 2013 at 1:02 PM, Chip
          Bennett <span dir="ltr"><<a moz-do-not-send="true"
              href="mailto:chip@chipbennett.net" target="_blank">chip@chipbennett.net</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div dir="ltr">Agree, but it's added as a callback to
              wp_footer() - so is it a *recommended* or *required*
              aspect that it be enqueued via wp_enqueue_script()?</div>
            <div class="HOEnZb">
              <div class="h5">
                <div class="gmail_extra">
                  <br>
                  <br>
                  <div class="gmail_quote">
                    On Sat, Aug 3, 2013 at 12:03 PM, Edward Caissie <span
                      dir="ltr"><<a moz-do-not-send="true"
                        href="mailto:edward.caissie@gmail.com"
                        target="_blank">edward.caissie@gmail.com</a>></span>
                    wrote:<br>
                    <blockquote class="gmail_quote" style="margin:0 0 0
                      .8ex;border-left:1px #ccc solid;padding-left:1ex">
                      <div dir="ltr">That script can, and more
                        importantly *should* be enqueued.<br>
                      </div>
                      <div class="gmail_extra"><br clear="all">
                        <div>Edward Caissie<br>
                          aka Cais.</div>
                        <br>
                        <br>
                        <div class="gmail_quote">
                          <div>
                            <div>On Sat, Aug 3, 2013 at 11:54 AM, Harish
                              <span dir="ltr"><<a
                                  moz-do-not-send="true"
                                  href="mailto:me@harishchouhan.com"
                                  target="_blank">me@harishchouhan.com</a>></span>
                              wrote:<br>
                            </div>
                          </div>
                          <blockquote class="gmail_quote"
                            style="margin:0 0 0 .8ex;border-left:1px
                            #ccc solid;padding-left:1ex">
                            <div>
                              <div>
                                <div link="#0563C1" vlink="#954F72"
                                  lang="EN-IN">
                                  <div>
                                    <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Hi,</span></p>
                                    <p class="MsoNormal">
                                      <span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p>
                                    <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">I
                                        have seen many premium themes
                                        doing this. Not a good practise
                                        so I would not recommend it. </span></p>
                                    <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p>
                                    <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p>
                                    <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#404040"> </span></p>
                                    <p class="MsoNormal"
                                      style="line-height:150%"><span
style="font-size:11.0pt;line-height:150%;font-family:"Calibri","sans-serif";color:#404040">Regards,</span></p>
                                    <p class="MsoNormal"
                                      style="line-height:150%"><span
style="font-size:11.0pt;line-height:150%;font-family:"Calibri","sans-serif";color:#404040">Harish
                                        Chouhan</span></p>
                                    <p class="MsoNormal"
                                      style="line-height:150%">
                                      <span
style="font-size:10.0pt;line-height:150%;font-family:"Arial","sans-serif";color:#404040"> </span></p>
                                    <p class="MsoNormal"
                                      style="line-height:150%"><b><span
style="font-size:11.0pt;line-height:150%;font-family:"Calibri","sans-serif";color:#0d0d0d">Visit
                                          me at </span></b><span
style="font-size:16.0pt;line-height:150%;font-family:"Calibri","sans-serif";color:#0d0d0d">-
                                      </span><span
style="font-size:11.0pt;line-height:150%;font-family:"Calibri","sans-serif";color:#1f497d"><a
                                          moz-do-not-send="true"
                                          href="http://www.harishchouhan.com/"
                                          target="_blank"><span
                                            style="font-size:10.0pt;line-height:150%;color:black">www.harishchouhan.com</span></a></span><span
style="font-size:10.0pt;line-height:150%;font-family:"Calibri","sans-serif";color:#0d0d0d">
                                      </span><span
style="font-size:16.0pt;line-height:150%;font-family:"Calibri","sans-serif";color:#0d0d0d"><br>
                                      </span><span
style="font-size:10.0pt;line-height:150%;font-family:"Calibri","sans-serif";color:#0d0d0d">Phone:
                                        <a moz-do-not-send="true"
                                          href="tel:%2B91-9833661410"
                                          value="+919833661410"
                                          target="_blank">+91-9833661410</a>
                                        | Email: <a
                                          moz-do-not-send="true"
                                          href="mailto:me@harishchouhan.com"
                                          target="_blank"><span
                                            style="color:black">me@harishchouhan.com</span></a>
                                      </span></p>
                                    <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p>
                                    <p class="MsoNormal"><b><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif""
                                          lang="EN-US">From:</span></b><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif""
                                        lang="EN-US"> theme-reviewers
                                        [mailto:<a
                                          moz-do-not-send="true"
                                          href="mailto:theme-reviewers-bounces@lists.wordpress.org"
                                          target="_blank">theme-reviewers-bounces@lists.wordpress.org</a>]
                                        <b>On Behalf Of </b>Ola Laczek<br>
                                        <b>Sent:</b> Sat 03 August 13
                                        09:16 PM<br>
                                        <b>To:</b> <a
                                          moz-do-not-send="true"
                                          href="mailto:theme-reviewers@lists.wordpress.org"
                                          target="_blank">theme-reviewers@lists.wordpress.org</a><br>
                                        <b>Subject:</b>
                                        [theme-reviewers] Printing
                                        JavaScript in footer</span></p>
                                    <div>
                                      <div>
                                        <p class="MsoNormal"> </p>
                                        <p class="MsoNormal">Hello!</p>
                                        <div>
                                          <p class="MsoNormal"> </p>
                                        </div>
                                        <div>
                                          <p class="MsoNormal">I'm
                                            reviewing a theme that
                                            prints javascript in the
                                            footer from functions.php
                                            like this:</p>
                                        </div>
                                        <div>
                                          <p class="MsoNormal"> </p>
                                        </div>
                                        <div>
                                          <div>
                                            <div>
                                              <p class="MsoNormal"><span
                                                  style="font-family:"Courier
                                                  New"">add_action('wp_footer',
                                                  'flex_init');</span></p>
                                            </div>
                                            <div>
                                              <p class="MsoNormal"><span
                                                  style="font-family:"Courier
                                                  New"">function
                                                  flex_init() {</span></p>
                                            </div>
                                            <div>
                                              <p class="MsoNormal"><span><span
                                                    style="font-family:"Courier
                                                    New"">     </span></span><span
                                                  style="font-family:"Courier
                                                  New"">echo
                                                  '<script
                                                  type="text/javascript"></span></p>
                                            </div>
                                            <div>
                                              <p class="MsoNormal"><span
                                                  style="font-family:"Courier
                                                  New"">    <span>
                                                  </span>jQuery(document).ready(function()
                                                  {</span></p>
                                            </div>
                                            <div>
                                              <p class="MsoNormal"><span
                                                  style="font-family:"Courier
                                                  New"">       
                                                  jQuery("#slider").flexslider();</span></p>
                                            </div>
                                            <div>
                                              <p class="MsoNormal"><span
                                                  style="font-family:"Courier
                                                  New"">   <span> 
                                                  </span> });</span></p>
                                            </div>
                                            <div>
                                              <p class="MsoNormal"><span
                                                  style="font-family:"Courier
                                                  New"">   <span> 
                                                  </span></script>';</span></p>
                                            </div>
                                            <div>
                                              <p class="MsoNormal"><span
                                                  style="font-family:"Courier
                                                  New"">}</span></p>
                                            </div>
                                          </div>
                                          <div>
                                            <p class="MsoNormal"> </p>
                                          </div>
                                          <div>
                                            <p class="MsoNormal"><span
                                                style="font-family:"Arial","sans-serif"">Is
                                                this ok, or should I
                                                tell this person to
                                                create separate
                                                javascript file, put
                                                this code there and
                                                enqueue like other
                                                scripts?</span></p>
                                          </div>
                                          <div>
                                            <p class="MsoNormal"> </p>
                                          </div>
                                          <div>
                                            <p class="MsoNormal"> </p>
                                          </div>
                                          <p class="MsoNormal">Best
                                            regards,<br>
                                            Ola Łączek</p>
                                          <div>
                                            <p class="MsoNormal"> </p>
                                          </div>
                                        </div>
                                      </div>
                                    </div>
                                  </div>
                                </div>
                                <br>
                              </div>
                            </div>
_______________________________________________<br>
                            theme-reviewers mailing list<br>
                            <a moz-do-not-send="true"
                              href="mailto:theme-reviewers@lists.wordpress.org"
                              target="_blank">theme-reviewers@lists.wordpress.org</a><br>
                            <a moz-do-not-send="true"
                              href="http://lists.wordpress.org/mailman/listinfo/theme-reviewers"
                              target="_blank">http://lists.wordpress.org/mailman/listinfo/theme-reviewers</a><br>
                            <br>
                          </blockquote>
                        </div>
                        <br>
                      </div>
                      <br>
                      _______________________________________________<br>
                      theme-reviewers mailing list<br>
                      <a moz-do-not-send="true"
                        href="mailto:theme-reviewers@lists.wordpress.org"
                        target="_blank">theme-reviewers@lists.wordpress.org</a><br>
                      <a moz-do-not-send="true"
                        href="http://lists.wordpress.org/mailman/listinfo/theme-reviewers"
                        target="_blank">http://lists.wordpress.org/mailman/listinfo/theme-reviewers</a><br>
                      <br>
                    </blockquote>
                  </div>
                  <br>
                </div>
              </div>
            </div>
            <br>
            _______________________________________________<br>
            theme-reviewers mailing list<br>
            <a moz-do-not-send="true"
              href="mailto:theme-reviewers@lists.wordpress.org">theme-reviewers@lists.wordpress.org</a><br>
            <a moz-do-not-send="true"
              href="http://lists.wordpress.org/mailman/listinfo/theme-reviewers"
              target="_blank">http://lists.wordpress.org/mailman/listinfo/theme-reviewers</a><br>
            <br>
          </blockquote>
        </div>
        <br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
theme-reviewers mailing list
<a class="moz-txt-link-abbreviated" href="mailto:theme-reviewers@lists.wordpress.org">theme-reviewers@lists.wordpress.org</a>
<a class="moz-txt-link-freetext" href="http://lists.wordpress.org/mailman/listinfo/theme-reviewers">http://lists.wordpress.org/mailman/listinfo/theme-reviewers</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>