Alias define and defineModel

This commit is contained in:
Ritchie 2013-05-22 20:41:56 -07:00
parent 8e7b89a676
commit 5fdc7076b7
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ app.models = {};
* @param options {Object}
* @returns {Model}
*/
app.defineModel =
app.define = function (name, options) {
options = options || {};
options.name = options.name || name;