Skip to content

Commit

Permalink
Release v1.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
soumak77 committed Jan 1, 2017
1 parent d351a05 commit e42c66a
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "firebase-mock",
"version": "1.0.2",
"version": "1.0.3",
"homepage": "https://github.com/soumak77/firebase-mock",
"authors": [
"Kato"
Expand Down
30 changes: 15 additions & 15 deletions browser/firebasemock.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/** firebase-mock - v1.0.2
/** firebase-mock - v1.0.3
https://github.com/soumak77/firebase-mock
* Copyright (c) 2016 Brian Soumakian
* License: MIT */
Expand Down Expand Up @@ -14217,37 +14217,37 @@ exports.event = function (name) {
},{"assert":5,"util":14}]},{},[1])(1)
});;(function (window) {
'use strict';
if (typeof window !== 'undefined' && window.mockfirebase) {
window.MockFirebase = window.mockfirebase.MockFirebase;
window.MockFirebaseSimpleLogin = window.mockfirebase.MockFirebaseSimpleLogin;
if (typeof window !== 'undefined' && window.firebasemock) {
window.MockFirebase = window.firebasemock.MockFirebase;
window.MockFirebaseSimpleLogin = window.firebasemock.MockFirebaseSimpleLogin;

window.mockfirebase.MockFirebaseSdk = {
window.firebasemock.MockFirebaseSdk = {
database: function() {
return {
ref: function(path) {
return new window.mockfirebase.MockFirebase(path);
return new window.firebasemock.MockFirebase(path);
},
refFromURL: function(url) {
return new window.mockfirebase.MockFirebase(url);
return new window.firebasemock.MockFirebase(url);
}
};
},
auth: function() {
var auth = new window.mockfirebase.MockFirebase();
var auth = new window.firebasemock.MockFirebase();
delete auth.ref;
return auth;
}
};
window.mockfirebase.MockFirebaseSdk.auth.GoogleAuthProvider = function() {
window.firebasemock.MockFirebaseSdk.auth.GoogleAuthProvider = function() {
this.providerId = "google.com";
};
window.mockfirebase.MockFirebaseSdk.auth.TwitterAuthProvider = function() {
window.firebasemock.MockFirebaseSdk.auth.TwitterAuthProvider = function() {
this.providerId = "twitter.com";
};
window.mockfirebase.MockFirebaseSdk.auth.FacebookAuthProvider = function() {
window.firebasemock.MockFirebaseSdk.auth.FacebookAuthProvider = function() {
this.providerId = "facebook.com";
};
window.mockfirebase.MockFirebaseSdk.auth.GithubAuthProvider = function() {
window.firebasemock.MockFirebaseSdk.auth.GithubAuthProvider = function() {
this.providerId = "github.com";
};

Expand All @@ -14258,9 +14258,9 @@ exports.event = function (name) {
firebase: window.Firebase,
login: window.FirebaseSimpleLogin
};
window.firebase = window.mockfirebase.MockFirebaseSdk;
window.Firebase = window.mockfirebase.MockFirebase;
window.FirebaseSimpleLogin = window.mockfirebase.MockFirebaseSimpleLogin;
window.firebase = window.firebasemock.MockFirebaseSdk;
window.Firebase = window.firebasemock.MockFirebase;
window.FirebaseSimpleLogin = window.firebasemock.MockFirebaseSimpleLogin;
};
window.MockFirebase.restore = function () {
if (!originals) return;
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "firebase-mock",
"version": "1.0.2",
"version": "1.0.3",
"description": "Firebase mock library for writing unit tests",
"main": "./src",
"scripts": {
Expand Down

0 comments on commit e42c66a

Please sign in to comment.