Skip to content
Myr

.parent tests

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 853c270 · Browse files · 2 files+17 added−3 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+17 added−3 removed

  • tests:+16 added−1 removed
  • other:+1 added−2 removed

2 files+17 added−3 removed

modified:lib/application.js+1 added-2 removed
103 unmodified lines
104 }105 return this;106 };107108108 // router109 this._router = new Router(this);110 this.routes = this._router.routes;111 this.__defineGetter__('router', function(){
78 unmodified lines
190 }191192 connect.proto.use.call(this, route, fn);193195 // mounted an app, invoke the hook194 // mounted an app, emit "mount"195 // and adjust some settings196 if (app) {197 var root = this.get('root') || this.route;198 if ('/' == root) root = '';
364 unmodified lines
modified:test/app.use.js+16 added-1 removed