equal
deleted
inserted
replaced
80 /******/ // __webpack_public_path__ |
80 /******/ // __webpack_public_path__ |
81 /******/ __webpack_require__.p = ""; |
81 /******/ __webpack_require__.p = ""; |
82 /******/ |
82 /******/ |
83 /******/ |
83 /******/ |
84 /******/ // Load entry module and return exports |
84 /******/ // Load entry module and return exports |
85 /******/ return __webpack_require__(__webpack_require__.s = 419); |
85 /******/ return __webpack_require__(__webpack_require__.s = "2oG7"); |
86 /******/ }) |
86 /******/ }) |
87 /************************************************************************/ |
87 /************************************************************************/ |
88 /******/ ({ |
88 /******/ ({ |
89 |
89 |
90 /***/ 419: |
90 /***/ "2oG7": |
91 /***/ (function(module, __webpack_exports__, __webpack_require__) { |
91 /***/ (function(module, __webpack_exports__, __webpack_require__) { |
92 |
92 |
93 "use strict"; |
93 "use strict"; |
94 __webpack_require__.r(__webpack_exports__); |
94 __webpack_require__.r(__webpack_exports__); |
95 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return domReady; }); |
95 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return domReady; }); |
122 * ``` |
122 * ``` |
123 * |
123 * |
124 * @return {void} |
124 * @return {void} |
125 */ |
125 */ |
126 function domReady(callback) { |
126 function domReady(callback) { |
|
127 if (typeof document === 'undefined') { |
|
128 return; |
|
129 } |
|
130 |
127 if (document.readyState === 'complete' || // DOMContentLoaded + Images/Styles/etc loaded, so we call directly. |
131 if (document.readyState === 'complete' || // DOMContentLoaded + Images/Styles/etc loaded, so we call directly. |
128 document.readyState === 'interactive' // DOMContentLoaded fires at this point, so we call directly. |
132 document.readyState === 'interactive' // DOMContentLoaded fires at this point, so we call directly. |
129 ) { |
133 ) { |
130 return void callback(); |
134 return void callback(); |
131 } // DOMContentLoaded has not fired yet, delay callback until then. |
135 } // DOMContentLoaded has not fired yet, delay callback until then. |