Advertising
advertising
related pastes to tag 'event'
- 1680367 - back event propagation: javascript back event mojo webos
-
- // I have a webview filling the screen and want to associate the back gesture with browsing back in the history, unless we cannot go back
- // in which case the event should bubble.
- // in app/assistants/Guide-assistant.js
- // this.canGoBack is true when the webview can go back, and is being set properly (I have triple checked)
- GuideAssistant.prototype.handleCommand = function(event) {
- Mojo.Log.info('[GuideAssistant.handleCommand] event.type = ', event.type, ', event.command = ', event.command);
- 1665331 - Example using check password: event statusnet checkpassword
- 1592507 - add custom JS to StatusNet: javascript hook event js statusnet endshowscripts
-
- // This function can have any name
- function AddMyScript($action)
- {
- // $action->script('path') puts in a script link
- // I recommend putting custom code in the local directory
- // like this
- 719923 - MeanMachine: system daphne scripted event stillwell
-
- Index: ScriptMgr.cpp
- ===================================================================
- --- ScriptMgr.cpp (revision 136)
- +++ ScriptMgr.cpp (working copy)
- @@ -393,6 +393,7 @@
- //Wailing caverns
- //Western plaguelands
- //Westfall