FlightGear wiki:Instant-Refs: Difference between revisions

Jump to navigation Jump to search
m
→‎The script: use bugman's collapsible template ...
m (→‎The script: use bugman's collapsible template ...)
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
<syntaxhighlight lang="javascript" enclose="div">// ==UserScript==
| type  = User script
| title  = Instant Cquotes
| script =  
// ==UserScript==
// @name        Instant-Cquotes
// @name        Instant-Cquotes
// @name:it    Instant-Cquotes
// @name:it    Instant-Cquotes
Line 2,367: Line 2,370:
} catch(e) {
} catch(e) {
   UI.alert(e.message);
   UI.alert(e.message);
}</syntaxhighlight>
}
 
| lang = javascript
}}


{{Appendix}}
{{Appendix}}

Navigation menu