per">  <span class="hljs-attribute">request</span>: <span class="hljs-function"><span class="hljs-params">(action, params)</span> -&gt;</span>
    jQuery.post <span class="hljs-property">@url</span>(action), <span class="hljs-property">@data</span>(params), <span class="hljs-string">'json'</span></div></div></div><div class="segment"><div class="comments "><div class="wrapper"><p>Returns a <code>promise</code> which resolves with <code>result</code></p></div></div><div class="code"><div class="wrapper">  <s