File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1291,7 +1291,7 @@ module.exports = function(AV) {
12911291 * @see AV.Object
12921292 * @see AV.Object.extend
12931293 */
1294- AV . Object . new = function ( attributes , options ) {
1294+ AV . Object [ ' new' ] = function ( attributes , options ) {
12951295 return new AV . Object ( attributes , options ) ;
12961296 } ;
12971297
@@ -1360,7 +1360,7 @@ module.exports = function(AV) {
13601360 var newArguments = [ className ] . concat ( AV . _ . toArray ( arguments ) ) ;
13611361 return AV . Object . extend . apply ( NewClassObject , newArguments ) ;
13621362 } ;
1363- NewClassObject . new = function ( attributes , options ) {
1363+ NewClassObject [ ' new' ] = function ( attributes , options ) {
13641364 return new NewClassObject ( attributes , options ) ;
13651365 } ;
13661366 AV . Object . _classMap [ className ] = NewClassObject ;
You can’t perform that action at this time.
0 commit comments