pref_sources/RubyMine/templates/webOS.xml
<templateSet group="webOS">
<template name="assist" value="function $CLASS$() { $END$ } $CLASS$.prototype.setup = function() { }; $CLASS$.prototype.activate = function() { }; $CLASS$.prototype.deactivate = function() { }; $CLASS$.prototype.cleanup = function() { }; $CLASS$.prototype.onStageActivate = function() { }; $CLASS$.prototype.onStageDeactivate = function() { }; " description="block out a Palm webOS scene assistant" toReformat="true" toShortenFQNames="true">
<variable name="CLASS" expression="" defaultValue="" alwaysStopAt="true" />
<context>
<option name="JAVA_SCRIPT" value="true" />
</context>
</template>
<template name="proto" value="$CLASS$.prototype.$PROPERTY$ = function($ARGS$) { $END$ }; " description="add a new function to a JavaScript object's prototype" toReformat="true" toShortenFQNames="true">
<variable name="CLASS" expression="jsClassName()" defaultValue="" alwaysStopAt="true" />
<variable name="PROPERTY" expression="" defaultValue="" alwaysStopAt="true" />
<variable name="ARGS" expression="" defaultValue="" alwaysStopAt="true" />
<context>
<option name="JAVA_SCRIPT" value="true" />
</context>
</template>
</templateSet>