mirror of
https://github.com/zhigang1992/reactfire.git
synced 2026-04-01 22:42:36 +08:00
27 lines
689 B
Plaintext
27 lines
689 B
Plaintext
/*!
|
|
* ReactFire is an open-source JavaScript library that allows you to add a
|
|
* realtime data source to your React apps by providing and easy way to let
|
|
* Firebase populate the state of React components.
|
|
*
|
|
* ReactFire 0.0.0
|
|
* https://github.com/firebase/reactfire/
|
|
* License: MIT
|
|
*/
|
|
|
|
;(function (root, factory) {
|
|
"use strict";
|
|
if (typeof define === "function" && define.amd) {
|
|
// AMD
|
|
define([], function() {
|
|
return (root.ReactFireMixin = factory());
|
|
});
|
|
} else if (typeof exports === "object") {
|
|
// CommonJS
|
|
module.exports = factory();
|
|
} else {
|
|
// Global variables
|
|
root.ReactFireMixin = factory();
|
|
}
|
|
}(this, function() {
|
|
"use strict";
|