Welcome!

Welcome to the Official BlackBerry Support Community Forums. This is your resource to discuss support topics with your peers, and learn from each other. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Web and WebWorks Development

Reply
New Contributor
Brianbal96
Posts: 2
Registered: ‎06-30-2012
My Carrier: AT&T
Accepted Solution

HTML5: Defining a new function list

[ Edited ]

Hey guys! I am trying to define a JavaScript function list in my html5 creator so it can work with the playbook but I'm having trouble knowing which JS file get the function names from. Should I use the dispatcher or ns?

 

Thanks!

 

Please use plain text.
BlackBerry Development Advisor
twindsor
Posts: 536
Registered: ‎07-15-2008
My Carrier: Bell

Re: HTML5: Defining a new function list

For that purpose they are largely equivalent I think. But I would probably go with the ns file as it's the one used for the standard javascript function calls. I believe dispatcher is used for the URI calls.

Tim Windsor
Application Development Consultant
Please use plain text.
New Contributor
Brianbal96
Posts: 2
Registered: ‎06-30-2012
My Carrier: AT&T

Re: HTML5: Defining a new function list

Thanks! I made my first function call from the ns and it came back clean!
Please use plain text.