jQuery加载错误,$()不是函数,shopify

也许我错过了一些明显的东西,我使用shopify,并且我在theme.liquid文件的开头调用jQuery

 <script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>

就在标签下。

现在,我正在尝试在我的product.template文件中调用该函数:

      <script src="{{ 'easyResponsiveTabs.js' | asset_url }}"></script>

      <div id="horizontalTab">
        <ul class="resp-tabs-list">
        <li>Tab 1</li>
        <li>Tab 2</li>
        <li>Tab 3</li>
        </ul>
        <div class="resp-tabs-container">
        <div>
        <p>...</p>
        </div>
        <div>
        <p>...</p>
        </div>
        <div>
        <p>...</p>
        </div>
        </div>
       </div>

      <script type="text/javascript">

      $(document).ready(function () {
        $('#horizontalTab').easyResponsiveTabs({

        // Types: default, vertical, accordion   
        type: 'default', 

        //auto or any width like 600px
        width: 'auto', 

        // 100% fit in a container
        fit: true,

        // Close the panels on start, 
        // the options 'accordion' and 'tabs' keep them closed in there respective view types
        closed: false,

        // The tab groups identifier
        tabidentify: '',

        // background color for active tabs in this group
        activetab_bg: 'white',

        // background color for inactive tabs in this group
        inactive_bg: '#F5F5F5',

        // border color for active tabs heads in this group
        active_border_color: '#c1c1c1',

        // border color for active tabs contect in this group 
        // so that it matches the tab head border
        active_content_border_color: '#c1c1c1',

        activate: function () {}

        });

        });

      </script>


     </div>

它在浏览器中给了我这个错误:

Uncaught TypeError: $(...).easyResponsiveTabs is not a function
    at HTMLDocument.<anonymous> (tiger-quick-dry-towel?_sc=1&design_theme_id=80470442073&frame_token=okgdtQLQtOjs4biyW0o3RFFLHDplhpI3PzmLeYxB53bKa3onKoldn96toU9MuQ9szs-U7NX6sE5E_MYWODZQKLGYheUmgwR6D_3VimWz4zOq5bNDXYG6ZMyBgzNe2JphxVM4T7YJXyBvJY3Oe6otlQ%3D%3D&preview_theme_id=:1149)
    at c (jquery-1.9.1.min.js?v=16339757027993502959:3)

由于某种原因,Jquery无法加载,但是在尝试了几种不同的方法之后,我想不出其他办法使它工作。

谢谢您的帮助。 大叔