salsita / jq-clipthru

89 stars 12 forks source link

e.widget is not a function error when loading script #2

Closed thdoan closed 7 years ago

thdoan commented 7 years ago

I get the following error when loading the script:

"Uncaught TypeError: e.widget is not a function"

Here is my code:

<!--[if lt IE 9]>
<script src="http://cdnjs.cloudflare.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
<![endif]-->
<!--[if IE 9]><!-->
<script src="http://cdnjs.cloudflare.com/ajax/libs/jquery/2.2.4/jquery.min.js"></script>
<!--<![endif]-->
<script src="http://cdn.rawgit.com/salsita/jq-clipthru/3818c723/build/jq-clipthru.min.js"></script>
thdoan commented 7 years ago

Never mind -- I realized jquery-ui-1.10.4.custom.min.js is also required.

ghost commented 7 years ago

Hello @thdoan, jQuery UI widget factory is unfortunately still required. It is possible that I will get to rewrite this library soon into something more modern with native code.