We are using Ember with Semantic-UI. We are trying to get a sortable table (http://ift.tt/2ouFpYe).
We installed the kylefox addon with npm install jquery-tablesort
our .hbs file has the following included:
<script src="http://ift.tt/J5OMPW"></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?
Aucun commentaire:
Enregistrer un commentaire