Skip to content

Commit 6de5410

Browse files
author
jacobawenger
committed
Updated UMD definition
As per this PR: umdjs/umd#22
1 parent ea56a82 commit 6de5410

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

build/header

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@
1010

1111
;(function (root, factory) {
1212
"use strict";
13-
if (typeof exports === "object") {
14-
// CommonJS
15-
module.exports = factory();
16-
} else if (typeof define === "function" && define.amd) {
13+
if (typeof define === "function" && define.amd) {
1714
// AMD
1815
define([], function() {
1916
return (root.ReactFireMixin = factory());
2017
});
18+
} else if (typeof exports === "object") {
19+
// CommonJS
20+
module.exports = factory();
2121
} else {
2222
// Global variables
2323
root.ReactFireMixin = factory();

0 commit comments

Comments
 (0)