FlightGear wiki:Instant-Refs: Difference between revisions

Jump to navigation Jump to search
m
nope, not working .... Undo revision 98044 by Hooray (talk)
m (→‎The script: use bugman's collapsible template ...)
m (nope, not working .... Undo revision 98044 by Hooray (talk))
Line 440: Line 440:
* framework for encapsulating userscript specifics in an environment hash to provide better updating/porting support
* framework for encapsulating userscript specifics in an environment hash to provide better updating/porting support


{{collapsible script
 
| type  = User script
<syntaxhighlight lang="javascript" enclose="div">// ==UserScript==
| title  = Instant Cquotes
| script =  
// ==UserScript==
// @name        Instant-Cquotes
// @name        Instant-Cquotes
// @name:it    Instant-Cquotes
// @name:it    Instant-Cquotes
Line 2,370: Line 2,367:
} catch(e) {
} catch(e) {
   UI.alert(e.message);
   UI.alert(e.message);
}
}</syntaxhighlight>
 
| lang = javascript
}}


{{Appendix}}
{{Appendix}}

Navigation menu