Skip to content

Commit

Permalink
Merge pull request #18 from DataASAP/a3
Browse files Browse the repository at this point in the history
Removed unused npm packages, updated webPreferences with enableRemote…
  • Loading branch information
dcheli authored Jun 21, 2020
2 parents cc3be3c + 4408c99 commit 3a2f412
Show file tree
Hide file tree
Showing 6 changed files with 436 additions and 2,898 deletions.
6 changes: 4 additions & 2 deletions app/main/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ function createConfigWindow(type) {
title: "Config Stuff",
webPreferences: {
backgroundThrottling: false,
nodeIntegration: true
nodeIntegration: true,
enableRemoteModule: true
},
// Note that the icon attribute is only used in development mode
icon: iconImage
Expand Down Expand Up @@ -79,7 +80,8 @@ app.on('ready', async () => {
show: false,
webPreferences: {
backgroundThrottling: false,
nodeIntegration: true
nodeIntegration: true,
enableRemoteModule: true
},
// Note that the icon attribute is only used in development mode
icon: iconImage
Expand Down
4 changes: 2 additions & 2 deletions app/renderer/services/deidentifySCRIPT_10_6.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ let deidentifySCRIPT_10_6 = (input, transactionInfo) => {
cdataPositionChar: "\\c",
localeRange: "", //To support non english character in tag/attribute values.
parseTrueNumberOnly: false,
attrValueProcessor: a => he.decode(a, {isAttributeValue: true}),//default is a=>a
tagValueProcessor : a => he.decode(a) //default is a=>a
attrValueProcessor: a => he.decode(String(a), {isAttributeValue: true}),//default is a=>a
tagValueProcessor : a => he.decode(String(a)) //default is a=>a
};

var deidentifiedData;
Expand Down
4 changes: 2 additions & 2 deletions app/renderer/services/deidentifySCRIPT_20170714.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ let deidentifySCRIPT_20170714 = (input, transactionInfo) => {
cdataPositionChar: "\\c",
localeRange: "", //To support non english character in tag/attribute values.
parseTrueNumberOnly: false,
attrValueProcessor: a => he.decode(a, {isAttributeValue: true}),//default is a=>a
tagValueProcessor : a => he.decode(a) //default is a=>a
attrValueProcessor: a => he.decode(String(a), {isAttributeValue: true}),//default is a=>a
tagValueProcessor : a => he.decode(String(a)) //default is a=>a
};

var config;
Expand Down
4 changes: 2 additions & 2 deletions app/renderer/services/testTransactionHeader.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ let parseTransactionHeader = (input) => {
cdataPositionChar: "\\c",
localeRange: "", //To support non english character in tag/attribute values.
parseTrueNumberOnly: false,
attrValueProcessor: a => he.decode(a, {isAttributeValue: true}),//default is a=>a
tagValueProcessor : a => he.decode(a) //default is a=>a
attrValueProcessor: a => he.decode(String(a), {isAttributeValue: true}),//default is a=>a
tagValueProcessor : a => he.decode(String(a)) //default is a=>a
};
if( input.indexOf("<?xml")=== -1){

Expand Down
Loading

0 comments on commit 3a2f412

Please sign in to comment.