On Thu, Jan 14, 2010 at 4:31 PM, Sebastian Kügler 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 sourc
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 ”?
Just a guess ...
--
sebas
http://www.kde.org | http://vizZzion.org | GPG Key ID: 9119 0EF9
signature.asc
Description: This is a dig
2010/1/14 Amos Kariuki
> J Janz wrote:
>
> > Right ... I meant, wouldn't this be because you're using plasmoid.include
> > instead of just include, like in the API link? (i think *that* should
> give
> > you an error but ... anyway)
> > --
> > J (|´:¬{)»
>
> If you read closely on the API documen
> On 2010-01-14 18:18:26, Chani Armitage wrote:
> > :/ this feels wrong.
> >
> > for the screensaver, I just created a separate mouse plugin.
> > I suppose the netbook shares actions like "log out" and "lock screen"
> > though, which makes this a bit trickier...
> > we don't really want to dupl
J Janz wrote:
> Right ... I meant, wouldn't this be because you're using plasmoid.include
> instead of just include, like in the API link? (i think *that* should give
> you an error but ... anyway)
> --
> J (|´:¬{)»
If you read closely on the API documentation, the include() is actually part of
Right ... I meant, wouldn't this be because you're using plasmoid.include
instead of just include, like in the API link? (i think *that* should give
you an error but ... anyway)
--
J (|´:¬{)»
-
"Eu sou a ressurreição e a vida. Quem crê em mim, ainda que m
---
This is an automatically generated e-mail. To reply, visit:
http://reviewboard.kde.org/r/2580/#review3697
---
:/ this feels wrong.
for the screensaver, I just created a separate m
On Thu, Jan 14, 2010 at 10:21 AM, Amos Kariuki wrote:
> When I run the plasmoid, I get a message stating that x is undefined.
Correction: When I run the plasmoid, I get a message stating that
'name' is undefined.
Amos Kariuki
___
Plasma-devel mailing l
I haven't tested that (I was about to by these days) but I guess it's just
include [1] instead of plasmoid.include ...
[1]
http://techbase.kde.org/Development/Tutorials/Plasma/JavaScript/API#Access_To_Packaged_Files
Sorry if I'm saying silliness ...
Cheers,
--
J (|´:¬{)»
I’m trying to create a javascript plasmoid with multiple modules. My
main.js file includes another script file; my problem is that I’m unable to
reference the variables and functions declared in the included file.
Example:
[lib.js]
var name = “Amos”;
[main.js]
plasmoid.include(“lib.js”);
print(
---
This is an automatically generated e-mail. To reply, visit:
http://reviewboard.kde.org/r/2592/
---
Review request for Plasma and Aaron Seigo.
Summary
---
Right now when we us
---
This is an automatically generated e-mail. To reply, visit:
http://reviewboard.kde.org/r/2580/
---
Review request for Plasma and Chani Armitage.
Summary
---
This approach doe
12 matches
Mail list logo