Skip to content
Myr

Reference $() internally for Collection

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

authored by visionmedia · committed by visionmedia · parent 371fb4e · Browse files · 1 file+1 added−1 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+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:lib/express/collection.js+1 added-1 removed
308 unmodified lines
309 * @return {Collection}310 * @api public311 */312313exports.$ = function(arr) {313var $ = exports.$ = function(arr) {314 if (arr instanceof Collection) return arr315 return new Collection(arr)316}