catchpoint / WebPageTest.RUM-SpeedIndex

Calculate SpeedIndex measurements from the field
MIT License
199 stars 37 forks source link

Conditionally export `RUMSpeedIndex` from module #13

Closed andrewrota closed 8 years ago

andrewrota commented 8 years ago

Export RumSpeedIndex from rum-speedindex.js using UMD-style conditional (if in an environment that supports module.exports). This would allow other modules to reference the RumSpeedIndex function.