Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 1 addition & 6 deletions build/footer
Original file line number Diff line number Diff line change
@@ -1,7 +1,2 @@
return ReactFireMixin;
})();

// Export ReactFireMixin if this is being run in node
if (typeof module !== "undefined" && typeof process !== "undefined") {
module.exports = ReactFireMixin;
}
}));
15 changes: 14 additions & 1 deletion build/header
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,18 @@
* License: MIT
*/

var ReactFireMixin = (function() {
;(function (root, factory) {
if (typeof exports === "object") {
// CommonJS
module.exports = factory();
} else if (typeof define === "function" && define.amd) {
// AMD
define([], function() {
return (root.ReactFireMixin = factory());
});
} else {
// Global Variables
root.ReactFireMixin = factory();
}
}(this, function() {
"use strict";