File tree Expand file tree Collapse file tree 2 files changed +15
-7
lines changed Expand file tree Collapse file tree 2 files changed +15
-7
lines changed Original file line number Diff line number Diff line change 11 return ReactFireMixin;
2- })();
3-
4- // Export ReactFireMixin if this is being run in node
5- if (typeof module !== "undefined" && typeof process !== "undefined") {
6- module.exports = ReactFireMixin;
7- }
2+ }));
Original file line number Diff line number Diff line change 88 * License: MIT
99 */
1010
11- var ReactFireMixin = (function() {
11+ ;(function (root, factory) {
12+ if (typeof exports === "object") {
13+ // CommonJS
14+ module.exports = factory();
15+ } else if (typeof define === "function" && define.amd) {
16+ // AMD
17+ define([], function() {
18+ return (root.ReactFireMixin = factory());
19+ });
20+ } else {
21+ // Global Variables
22+ root.ReactFireMixin = factory();
23+ }
24+ }(this, function() {
1225 "use strict";
You can’t perform that action at this time.
0 commit comments