[prev in list] [next in list] [prev in thread] [next in thread]
List: webkit-dev
Subject: Re: [webkit-dev] Adding Javascript object to Webkit
From: Geoffrey Garen <ggaren () apple ! com>
Date: 2008-04-03 20:39:58
Message-ID: 7356CAE8-5344-4151-802F-C689685679F6 () apple ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
> Which binding should I use that would fit the architecture best?
> Must I understand JavaScriptCore/API in order to add the object?
> What is the life cycle of the Javascript objects?
Yes, I think using the API in JavaScriptCore/API will give you the
best results. It's also the easiest API to come up to speed on.
There's some example usage of the API in JavaScriptCore/API/testapi.c.
You can also find example projects @ http://developer.apple.com/samplecode/JSPong/index.html
and http://developer.apple.com/samplecode/JSInterpreter/index.html.
Cheers,
Geoff
[Attachment #5 (text/html)]
<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; \
-webkit-line-break: after-white-space; "><div><blockquote type="cite"><div><div><font \
face="Arial" size="2">Which binding should I use that would fit the architecture \
best?<br>Must I understand JavaScriptCore/API in order to add the object? What is the \
life cycle of the Javascript \
objects?</font></div></div></blockquote><div><br></div>Yes, I think using the API in \
JavaScriptCore/API will give you the best results. It's also the easiest API to come \
up to speed on. There's some example usage of the API in \
JavaScriptCore/API/testapi.c.</div><div><br></div><div>You can also find example \
projects @ <a href="http://developer.apple.com/samplecode/JSPong/index.html">http://developer.apple.com/samplecode/JSPong/index.html</a> \
and <a href="http://developer.apple.com/samplecode/JSInterpreter/index.html">http \
://developer.apple.com/samplecode/JSInterpreter/index.html</a>.</div><div><br></div><div>Cheers,</div><div>Geoff</div></body></html>
_______________________________________________
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo/webkit-dev
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic