baselinejs
Advanced tools
Comparing version 7.2.1 to 7.3.1
@@ -17,5 +17,5 @@ var _ = require( 'underscore' ); | ||
$.ajax( options ).done( function( data, textStatus, xhr ) { | ||
resolve( { success : true, xhr } ); | ||
resolve( { success : true, xhr : xhr } ); | ||
} ).fail( function( xhr, textStatus ) { | ||
resolve( { success : false, xhr } ); | ||
resolve( { success : false, xhr: xhr } ); | ||
} ); | ||
@@ -68,2 +68,6 @@ } ); | ||
id : function() { | ||
return this.get( this._idFieldName ); | ||
}, | ||
get : function( recordId, fieldName ) { | ||
@@ -70,0 +74,0 @@ if( ! this._recordsById[ recordId ] ) throw new Error( 'Record id ' + recordId + ' is not present in table \'' + this.collectionName + '\'.' ); |
{ | ||
"name": "baselinejs", | ||
"version": "7.2.1", | ||
"version": "7.3.1", | ||
"description": "Share code and data between the client and the server in full stack JavaScript applications.", | ||
@@ -5,0 +5,0 @@ "main": "baseline.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
109567
386