Skip to content
Myr

remove deprecation message about passing path as array

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

authored by Roman Shtylman · committed by Roman Shtylman · parent cb1fbce · Browse files · 1 file+0 added−5 removed
This commit

State

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

Diff stats

1 file+0 added−5 removed

  • other:+0 added−5 removed

1 file+0 added−5 removed

modified:lib/application.js-5 removed
400 unmodified lines
401 if ('get' == method && 1 == arguments.length) return this.set(path);402403 this.lazyrouter();404405 // deprecated406 if (Array.isArray(path)) {407 console.trace('passing an array to app.VERB() is deprecated and will be removed in 4.0');408 }409405 var route = this._router.route(path);406 for (var i=1 ; i<arguments.length ; ++i) {407 route[method](arguments[i]);408 }
128 unmodified lines