Comparing version 1.2.2 to 1.3.0
@@ -217,2 +217,12 @@ | ||
/** | ||
* Hands back the original Firebase reference. | ||
* @method Fireproof#toFirebase | ||
* @returns {Firebase} The proxied Firebase reference. | ||
*/ | ||
Fireproof.prototype.toFirebase = function() { | ||
return this._ref; | ||
}; | ||
/** | ||
* Delegates Firebase#name. | ||
@@ -219,0 +229,0 @@ * @method Fireproof#name |
{ | ||
"name": "fireproof", | ||
"version": "1.2.2", | ||
"version": "1.3.0", | ||
"description": "Promises for Firebase objects.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -92,2 +92,11 @@ | ||
describe('#toFirebase', function() { | ||
it('hands back the original Firebase reference', function() { | ||
expect(fireproof.toFirebase().constructor.name).to.equal('D'); | ||
}); | ||
}); | ||
describe('#name', function() { | ||
@@ -94,0 +103,0 @@ |
40887
1116