We are using Ember with Semantic-UI. We are trying to get a sortable table (https://semantic-ui.com/collections/table.html#sortable).
We installed the kylefox jquery plugin with npm install jquery-tablesort
our .hbs file has the following included:
<script src="http://code.jquery.com/jquery-latest.min.js"></script>
<script src="jquery.tablesort.js"></script>
<script>
$(document).ready(function() {
$('table').tablesort();
});
</script>
But I get the following in the console:
jquery.js:3869 Uncaught TypeError: $(...).tablesort is not a function
Is there anything we forgot to include?