On Thu, Jan 14, 2010 at 4:31 PM, Sebastian Kügler <se...@kde.org> wrote:
> On Thursday 14 January 2010 17:21:15 Amos Kariuki wrote:
>> var name = “Amos”;
>
>> plasmoid.include(“lib.js”);
>
> Does it work if you use " or ' instead of “and ”?

Doesn't work.

>
> Just a guess ...
> --
> sebas

Looking into the source, the include functionality is implemented in
ScriptEnv::include(), and all that seems to do is call QScriptEngine's
evaluate() method to evaluate the script. Hmm, maybe the feature
(exposing the included variables and functions) is just not available.

Amos Kariuki
_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel

Reply via email to