File tree Expand file tree Collapse file tree 1 file changed +19
-0
lines changed
Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change 54825482
54835483 AV . Object . _extend = AV . _extend ;
54845484
5485+ /**
5486+ * Creates a new model with defined attributes,
5487+ * It's the same with
5488+ * <pre>
5489+ * new AV.Object(attributes, options);
5490+ * </pre>
5491+ * @param {Object } attributes The initial set of data to store in the object.
5492+ * @param {Object } options A set of Backbone-like options for creating the
5493+ * object. The only option currently supported is "collection".
5494+ * @return {AV.Object }
5495+ * @since v0.4.4
5496+ * @see AV.Object
5497+ * @see AV.Object.extend
5498+ */
5499+ AV . Object . new = function ( attributes , options ) {
5500+ return new AV . Object ( attributes , options ) ;
5501+ } ;
5502+
5503+
54855504 /**
54865505 * Creates a new subclass of AV.Object for the given AV class name.
54875506 *
You can’t perform that action at this time.
0 commit comments