-
Notifications
You must be signed in to change notification settings - Fork 0
main
Stephen K edited this page Apr 4, 2014
·
2 revisions
notificationFallback(options, options.title, options.icon, options.body, options.tag, options.duration)
Fallback function in case HTML5 notifications aren't supported
Parameters
options: Object,
options.title: String, The title of the notification
options.icon: String, The location of the icon to use
options.body: String, The body of the notification
options.tag: String, The tag of the notification
options.duration: Number, How long the message will stay up
Function to clear the notifications
Initialize the app
Entry point of app
Create a Ray from the dom inputs and send it to the worker
Create a triangle from the dom inputs and send it to the worker
Create a sphere from the dom inputs and send it to the worker