title: JQuery Ui Laravel is not a function
body: <p>I have laravel layout</p>
  
  <pre><code>&lt;html&gt; //layout.blade.php
      &lt;head&gt;
          &lt;script src="/js/jquery.js"&gt;&lt;/script&gt;
          &lt;script src="/js/jquery-ui.js"&gt;&lt;/script&gt;
      &lt;/head&gt;
      &lt;body&gt;
           @yield("content")
      &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>And my view </p>
  
  <pre><code>@extends("layout")
  
  @section("content")
  &lt;ul class="test"&gt;
      &lt;li&gt;1&lt;/li&gt;
      &lt;li&gt;2&lt;/li&gt;
  &lt;/ul&gt;
  
  &lt;script&gt;
       $(function() {
           $(".test").selectable();
       });
  &lt;/script&gt;
  @endsection
  </code></pre>
  
  <p>My browser console always show me $(...).selectable is not a function</p>
  
  <p>But if i make same without layout or without anonymous function this works</p>