js-data-rethinkdb
Advanced tools
Comparing version 3.0.0-alpha.6 to 3.0.0-alpha.7
@@ -0,1 +1,6 @@ | ||
##### 3.0.0-alpha.7 - 03 March 2016 | ||
###### Backwards compatible API changes | ||
- Added RethinkDBAdapter.extend | ||
##### 3.0.0-alpha.6 - 01 March 2016 | ||
@@ -2,0 +7,0 @@ |
@@ -35,2 +35,3 @@ 'use strict'; | ||
var addHiddenPropsToTarget = jsData.utils.addHiddenPropsToTarget; | ||
var extend = jsData.utils.extend; | ||
var fillIn = jsData.utils.fillIn; | ||
@@ -344,2 +345,15 @@ var forEachRelation = jsData.utils.forEachRelation; | ||
/** | ||
* Alternative to ES6 class syntax for extending `RethinkDBAdapter`. | ||
* | ||
* @name RethinkDBAdapter.extend | ||
* @method | ||
* @param {Object} [instanceProps] Properties that will be added to the | ||
* prototype of the subclass. | ||
* @param {Object} [classProps] Properties that will be added as static | ||
* properties to the subclass itself. | ||
* @return {Object} Subclass of `RethinkDBAdapter`. | ||
*/ | ||
RethinkDBAdapter.extend = extend; | ||
addHiddenPropsToTarget(RethinkDBAdapter.prototype, { | ||
@@ -346,0 +360,0 @@ _handleErrors: function _handleErrors(cursor) { |
{ | ||
"name": "js-data-rethinkdb", | ||
"description": "RethinkDB adapter for js-data.", | ||
"version": "3.0.0-alpha.6", | ||
"version": "3.0.0-alpha.7", | ||
"homepage": "https://github.com/js-data/js-data-rethinkdb", | ||
@@ -54,3 +54,3 @@ "repository": { | ||
"devDependencies": { | ||
"babel-core": "6.6.0", | ||
"babel-core": "6.6.4", | ||
"babel-eslint": "5.0.0", | ||
@@ -64,3 +64,3 @@ "babel-polyfill": "6.6.1", | ||
"istanbul": "0.4.2", | ||
"js-data-adapter-tests": "^2.0.0-alpha.12", | ||
"js-data-adapter-tests": "^2.0.0-alpha.13", | ||
"jsdoc": "3.4.0", | ||
@@ -67,0 +67,0 @@ "mocha": "2.4.5", |
Sorry, the diff of this file is not supported yet
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
138087
1441