fnp
/
fnpeditor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
wip: refactoring method/transformation registration out of wlxml.js to smartxml ...
[fnpeditor.git]
/
src
/
smartxml
/
transformations.js
diff --git
a/src/smartxml/transformations.js
b/src/smartxml/transformations.js
index
8cf0819
..
6d72049
100644
(file)
--- a/
src/smartxml/transformations.js
+++ b/
src/smartxml/transformations.js
@@
-19,10
+19,10
@@
toret.createGenericTransformation = function(desc) {
Object.defineProperty(transformation.args, key, {
get: function() {
if(transformation.hasRun) {
Object.defineProperty(transformation.args, key, {
get: function() {
if(transformation.hasRun) {
- console.log('returning via path');
+
//
console.log('returning via path');
return transformation.document.getNodeByPath(path);
} else {
return transformation.document.getNodeByPath(path);
} else {
- console.log('returning original arg');
+
//
console.log('returning original arg');
return value;
}
return value;
}