     return new OriDomi arguments... unless @ instanceof OriDomi
     @el = document.querySelector @el if typeof @el is 'string'
     unless @el and @el.nodeType is 1
-      console.warn 'oriDomi: First argument must be a DOM element' if devMode
+      console?.warn 'oriDomi: First argument must be a DOM element'
       return
 
     @_settings = new ->


# Function used to warn the developer that the browser does not support oriDomi.
supportWarning = (prop) ->
  if devMode
    console.warn "oriDomi: Browser does not support oriDomi. Missing support for `#{ prop }`."
    isSupported = false


# This function checks for the presence of CSS properties on the test div.

  @isSupported = isSupported


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