Skip to content
Myr

Added: emit "mount" event on the app being mounted

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Tj Holowaychuk · committed by Tj Holowaychuk · parent aab08d7 · Browse files · 2 files+18 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+18 added−0 removed

  • tests:+17 added−0 removed
  • other:+1 added−0 removed

2 files+18 added−0 removed

modified:lib/application.js+1 added
198 unmodified lines
199 if ('/' == root) root = '';200 root = root + (app.get('root') || app.route);201 app.set('root', root);202 app.parent = this;203 app.emit('mount', this);204 }205206 return this;207};
356 unmodified lines
added:test/mounting.js+17 added