Files
evolution/data/webkit/e-convert.js
Milan Crha 1d7e3e75cc EWebView: Use JavaScriptCore API of WebKitGTK+
All the previews (in Mail, Contacts, Memos and Tasks) stop using
deprecated WebKitGTK+ DOM API through a WebExtension (and its D-Bus
API) and start using the JavaScriptCore API (and JavaScript as such).
This allows to lightweight the WebExtension for the EWebView
significantly, including drop of the D-Bus API of it, fully relying
on the Inter-Process-Communication of WebKitGTK+ itself.
2019-10-09 12:26:12 +02:00

13 lines
239 B
JavaScript

'use strict';
/* semi-convention: private functions start with lower-case letter,
public functions start with upper-case letter. */
function EvoConvertToPlainText(element)
{
if (!element)
return null;
return element.innerText;
}