Use private iUI function

3 views
Skip to first unread message

Laurent

unread,
Nov 18, 2009, 8:19:55 AM11/18/09
to iphone...@googlegroups.com
Hello,

I actually use iUI for my mobile webapp, and I use "afterinsert" event to add new actions (eval commented javascript for example).
I would like use the "sendEvent" function, but it's a private function and I don't want to modify iui.js default file.
Is it possible ?

Thanks

Sean Gilligan

unread,
Nov 25, 2009, 1:21:09 AM11/25/09
to iphone...@googlegroups.com
Not currently. You could try moving the sendEvent function into the
public section, but, of course, that is modifying iui.js. If you add a
public sendEvent that calls the private one, you may be able to limit
your mod to a couple of lines so it will be easy to merge with newer iUI
versions.

If you open an Issue and request this feature and explain why you need
it, you might be able to convince us to add a better hook in a future
iUI. Sample code showing it in use would also be nice to see.

-- Sean

Reply all
Reply to author
Forward
0 new messages