It literally just calls this block
(which can be found in dev mode)
Don't you mean "it's the blocks-all-the-way-down exposing of the implementation of this block"?
Oh, I didn't look in the block, lol.
Edit: actually it doesn't run the extension block.
Plus, when I looked at the function for the extension, it was calling a function on Process
, which is the snap script runner.
Huh, interesting. I wonder what it's for, then!
It does the same thing as the block @ego-lay_atman-bay mentioned:
SnapExtensions.primitives.set(
'txt_transform(name, txt)',
/*
supported transformation names:
-------------------------------
select
unselect
encode URI
decode URI
encode URI component
decode URI component
XML escape
XML unescape
JS escape
hex sha512 hash
*/
function (name, txt) {
return Process.prototype.reportTextFunction(name, txt);
}
);
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.