aboutsummaryrefslogtreecommitdiffstats
path: root/docs/content/api
diff options
context:
space:
mode:
authorAndy Gurden2013-08-13 12:55:06 +0100
committerVojta Jina2013-08-14 14:34:06 -0700
commit920a3804136d49cdaf7bc2712f5832bc50409dc9 (patch)
treee1601e57a7cf44bb1038d2fd9156540476c213aa /docs/content/api
parentf757f86b6c6fdc132dbd0000705641e6e46c9dce (diff)
downloadangular.js-920a3804136d49cdaf7bc2712f5832bc50409dc9.tar.bz2
fix($timeout): clean deferreds immediately after callback exec/cancel
Make sure $timeout callbacks are forgotten about immediately after execution or cancellation. Previously when passing invokeApply=false, the cleanup used $q and so would be pending until the next $digest was triggered. This does not make a large functional difference, but can be very visible when looking at memory consumption of an app or debugging around the $$asyncQueue - these callbacks can have a big retaining tree.
Diffstat (limited to 'docs/content/api')
0 files changed, 0 insertions, 0 deletions
p">>Put them into <code>~/.irssi/scripts/</code> and in irssi do <code>/script load script.pl</code> . There is a default alias for <code>/script load</code> to <code>/run</code> in newer versions of irssi.</dd> <dt>How do I rerun scripts?</dt> <dd>Just do <code>/script load script.pl</code> .</dd> <dt>How do I unload scripts?</dt> <dd>Just do <code>/script unload script.pl</code> .</dd> <dt>How do I run scripts automatically at startup?</dt> <dd>Put them into <code>~/.irssi/scripts/autorun/</code> directory. Or better would be if you placed them in <code>~/.irssi/scripts/</code> and created symlinks to autorun directory (eg. <code>cd ~/.irssi/scripts/autorun/ ; ln -s ../script.pl .</code>)</dd> <dt>Is there an easy way of managing scripts?</dt> <dd>Try <code>scriptassist.pl</code>, it can update and manage your scripts as well as install new ones and search the database.</dd> <dt>How do I submit a script to this page?</dt> <dd>See information on how to contribute <a href="https://github.com/irssi/scripts.irssi.org">here</a>.</dd> </dl> <hr> <input type="search" class="light-table-filter form-control" data-table="sortable" placeholder="Filter" style="width: 100%"> <table class="table table-striped table-condensed sortable"> <thead> <tr> <th class="sorttable_alpha">Filename</th> <th class="sorttable_alpha">Name</th> <th class="sorttable_alpha">Version</th> <th class="sorttable_alpha">Description</th> <th class="sorttable_alpha">Authors</th> <th class="sorttable_alpha">Modified</th> </tr> </thead> <tbody> {% for script in site.data.scripts %} <tr> <td class="filename"> <a href="scripts/{{ script.filename }}">{{ script.filename }}</a> <small> (<a href="https://github.com/irssi/scripts/blob/gh-pages/scripts/{{ script.filename }}">Github</a>) </small> </td> <td class="name">{{ script.name }}</td> <td class="version">{{ script.version }}</td> <td class="description">{{ script.description | xml_escape }}</td> <td class="authors">{{ script.authors }}</td> <td class="modified" sorttable_customkey="{{ script.modified | date: "%Y%m%d%H%M%S" }}"> <abbr class="timeago" title="{{ script.modified | date: "%Y-%m-%dT%H:%M:%SZ" }}"> {{ script.modified | date: "%Y-%m-%d" }} </abbr> </td> </tr> {% endfor %} </tbody> </table> </div> </div>