       options
     else
       options.color
-  
+
     steroids.nativeBridge.nativeCall
       method: "setWebViewBackgroundColor"
       parameters:
         color: newColor
       successCallbacks: [callbacks.onSuccess]
       failureCallbacks: [callbacks.onFailure]
-  
+
   setBackgroundImage: (options={}, callbacks={}) ->
     newImage = if options.constructor.name == "String"
       options
     else
       options.image
-  
+
     steroids.nativeBridge.nativeCall
       method: "setWebViewBackgroundImage"
       parameters:

      failureCallbacks: [callbacks.onFailure]

  displayLoading: (options={}, callbacks={}) ->
  
    steroids.nativeBridge.nativeCall
      method: "displayTransitionHelper"
      successCallbacks: [callbacks.onSuccess]

        @location = "#{window.location.protocol}//#{window.location.host}/#{@location}"

    @params = @getParams()
    # Having the Portrait orientation allow for the
    # webview to go back to Portrait when rotated by another view
    # e.g when doing video playback
    @setAllowedRotations([0])


  preload: (options={}, callbacks={}) ->
