I want to import dragtable.js in my Tampermonkey script, but I am getting this error (jQuery is already in my website) :
[Error] ERROR: Execution of script 'DragTable' failed! undefined is not a function (near '...$.widget...') error (anonymous function) (userscript.html:2:186) ... ...
Here is my script:
// ==UserScript==
// @name DragTable
// @namespace http://tampermonkey.net/
// @version 0.1
// @description try to take over the world!
// @author You
// @match http://localhost:9010/*
// @require https://rawgit.com/akottr/dragtable/master/jquery.dragtable.js
// @grant none
// ==/UserScript==
How can I import it without the error? Tks