Skip to content
This repository has been archived by the owner on Jun 12, 2024. It is now read-only.

Commit

Permalink
Merge pull request #719 from OpenClinica/fix/drawing-706
Browse files Browse the repository at this point in the history
fixed: signature/drawing submission failure, kobotoolbox#706
  • Loading branch information
svadla-oc authored Nov 9, 2023
2 parents d53b86b + be53241 commit 1ac870c
Show file tree
Hide file tree
Showing 3 changed files with 65 additions and 53 deletions.
12 changes: 12 additions & 0 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,18 @@ module.exports = (grunt) => {
sass: {
options: {
implementation: nodeSass,
importer: (url) => {
const TARGET = '/packages/enketo-core';
const REPLACEMENT = './node_modules/enketo-core';
if (!url.startsWith(TARGET)) {
return null;
}

const repl = url.replace(TARGET, REPLACEMENT);
return {
file: path.resolve(__dirname, repl),
};
},
},
compile: {
cwd: 'app/views/styles',
Expand Down
100 changes: 50 additions & 50 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@
"csurf": "^1.11.0",
"db.js": "^0.15.0",
"debug": "^4.3.4",
"enketo-core": "^7.2.5",
"enketo-transformer": "3.0.1",
"enketo-core": "^8.0.0",
"enketo-transformer": "4.0.0",
"enketo-xpath-extensions-oc": "github:OpenClinica/enketo-xpath-extensions-oc#ab81eeb7d0f1fb34bcf2615d2c6a27c3b0915f56",
"evp_bytestokey": "^1.0.3",
"express": "^4.18.2",
Expand All @@ -57,7 +57,7 @@
"i18next-fs-backend": "^1.2.0",
"i18next-http-backend": "^1.4.5",
"i18next-http-middleware": "^3.3.2",
"jquery": "3.6.3",
"jquery": "3.7.1",
"jstransformer-markdown-it": "^3.0.0",
"jszip": "^3.10.1",
"jwt-simple": "^0.5.6",
Expand Down

0 comments on commit 1ac870c

Please sign in to comment.