Skip to content
This repository has been archived by the owner on Sep 15, 2024. It is now read-only.

Commit

Permalink
Merge pull request #66 from easel/url-returns-object
Browse files Browse the repository at this point in the history
Location.url() returns js.Object instead of String
  • Loading branch information
mysticfall committed Jan 24, 2016
2 parents bfd52b1 + aaee3b5 commit 2933811
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,9 @@ trait Location extends js.Object {

def absUrl(): String = js.native

def url(url: String = null, replace: String = null): String = js.native
def url(): String = js.native

def url(url: String, replace: String = null): Location = js.native

def protocol(): String = js.native

Expand Down

0 comments on commit 2933811

Please sign in to comment.