UnlyEd/utils

View on GitHub
API.md

Summary

Maintainability
Test Coverage
## Constants

<dl>
<dt><a href="#browserRedirect">browserRedirect</a></dt>
<dd><p>Redirect that handles the HTML <a> target
to redirect the current frame or open a new tab.</p>
</dd>
<dt><a href="#convertLineBreaks">convertLineBreaks</a> ⇒ <code>string</code></dt>
<dd><p>Replace line breaks in a string by a HTML line break (<br>)</p>
</dd>
<dt><a href="#isBrowser">isBrowser</a> ⇒ <code>boolean</code></dt>
<dd><p>Checks whether the current runtime is a browser</p>
</dd>
</dl>

<a name="browserRedirect"></a>

## browserRedirect
Redirect that handles the HTML <a> target
to redirect the current frame or open a new tab.

**Kind**: global constant  

| Param |
| --- |
| url | 
| target | 

<a name="convertLineBreaks"></a>

## convertLineBreaks ⇒ <code>string</code>
Replace line breaks in a string by a HTML line break (<br>)

**Kind**: global constant  

| Param |
| --- |
| str | 
| replacer | 

<a name="isBrowser"></a>

## isBrowser ⇒ <code>boolean</code>
Checks whether the current runtime is a browser

**Kind**: global constant