Adjustments...

This commit is contained in:
Eric van der Vlist 2021-04-25 12:29:57 +02:00
parent a8e701a9fa
commit 722aa2b464
3 changed files with 1 additions and 13 deletions

View File

@ -2,7 +2,6 @@ include = function (filepath, isAbsolute) {
if (isAbsolute === undefined || isAbsolute == false) {
filepath = Packages.ro.sync.ecss.extensions.commons.operations.CommonsOperationsUtil.expandAndResolvePath(authorAccess, filepath);
}
Packages.java.lang.System.out.println('filepath: ' + filepath );
var text = new java.lang.String(java.nio.file.Files.readAllBytes(java.nio.file.Paths. get (java.net.URI(filepath))));
text = String(text);
eval(text);

View File

@ -1,10 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="21.1">
<meta>
<filters directoryPatterns="" filePatterns="\Qjs-debugger.xpr\E" positiveFilePatterns="" showHiddenFiles="false"/>
<options/>
</meta>
<projectTree name="js-debugger.xpr">
<folder path="."/>
</projectTree>
</project>

View File

@ -844,8 +844,7 @@
<serializableOrderedMap>
<entry>
<String>script</String>
<String>
doOperation = function () {
<String>doOperation = function () {
include('test.js');
hello();
}</String>