diff --git a/assets/js/exercise.js b/assets/js/exercise.js index d2be7ccf18..e9642c4774 100644 --- a/assets/js/exercise.js +++ b/assets/js/exercise.js @@ -1,8 +1,10 @@ - +// Script to be added in the exercises tool. import 'jsplumb'; import 'jquery-ui-touch-punch'; import 'xcolor/jquery.xcolor.js'; - +import 'xcolor/jquery.xcolor.js'; +import 'signature_pad'; import '../../public/main/inc/lib/javascript/epiclock/javascript/jquery.dateformat.min.js'; import '../../public/main/inc/lib/javascript/epiclock/javascript/jquery.epiclock.js'; import '../../public/main/inc/lib/javascript/epiclock/renderers/minute/epiclock.minute.js'; +import './annotation' \ No newline at end of file diff --git a/package.json b/package.json index c2f4da56f4..75c409e7df 100644 --- a/package.json +++ b/package.json @@ -67,6 +67,7 @@ "readmore-js": "^2.2.1", "router": "^1.3.5", "select2": "^4.0", + "signature_pad": "^3.0.0-beta.4", "sweetalert2": "^9.5", "textcomplete": "^0.18.1", "timeago": "^1.6.7", diff --git a/yarn.lock b/yarn.lock index d772a77ce2..b6d255874b 100644 --- a/yarn.lock +++ b/yarn.lock @@ -12975,6 +12975,11 @@ signal-exit@^3.0.0, signal-exit@^3.0.2: resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.3.tgz#a1410c2edd8f077b08b4e253c8eacfcaf057461c" integrity sha512-VUJ49FC8U1OxwZLxIbTTrDvLnf/6TDgxZcK8wxR8zs13xpx7xbG60ndBlhNrFi2EMuFRoeDoJO7wthSLq42EjA== +signature_pad@^3.0.0-beta.4: + version "3.0.0-beta.4" + resolved "https://registry.yarnpkg.com/signature_pad/-/signature_pad-3.0.0-beta.4.tgz#2a8441559e9f439e7f2f525da3ee630ef973ecf6" + integrity sha512-cOf2NhVuTiuNqe2X/ycEmizvCDXk0DoemhsEpnkcGnA4kS5iJYTCqZ9As7tFBbsch45Q1EdX61833+6sjJ8rrw== + simple-swizzle@^0.2.2: version "0.2.2" resolved "https://registry.yarnpkg.com/simple-swizzle/-/simple-swizzle-0.2.2.tgz#a4da6b635ffcccca33f70d17cb92592de95e557a"