Skip to content

Commit

Permalink
add isSecure method to WindowEx
Browse files Browse the repository at this point in the history
  • Loading branch information
jjallaire committed Nov 2, 2011
1 parent f3587e5 commit 12ba4ef
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/gwt/src/org/rstudio/core/client/dom/WindowEx.java
Expand Up @@ -63,6 +63,10 @@ public final native boolean find(String term,
public final native String getLocationHref() /*-{
return this.location.href ;
}-*/;

public final native boolean isSecure() /*-{
return 'https:' == this.location.protocol;
}-*/;

public final native void setLocationHref(String helpURL) /*-{
this.location.href = helpURL ;
Expand Down

0 comments on commit 12ba4ef

Please sign in to comment.