       return @
 
     # Record the current global styling of the target element.
-    elStyle = root.getComputedStyle @el
+    elStyle = window.getComputedStyle @el
     @_originalStyle = {}
     @_originalStyle[key] = elStyle[key] for key in modifiedStyleKeys
 

# =====
'use strict'

# Set a reference to the global object within this scope.
root = @

# Set a reference to jQuery (or another `$`-aliased DOM library).
# If it doesn't exist, set to false so oriDomi knows we are working without jQuery.
# oriDomi doesn't require it to work, but offers a useful plugin bridge.
$ = root.$ or false

# `devMode` determines whether oriDomi is vocal in the console with warnings and benchmarks.
# Turn it on externally by calling `OriDomi.devMode()`.



# Export constructor on `window` and `module.exports` (if applicable).
window.OriDomi = OriDomi
module.exports = OriDomi if module?.exports



