Last change
on this file since 1ad8e64 was e29cc2e, checked in by Ema <ema_spirova@…>, 3 years ago |
primeNG components
|
-
Property mode
set to
100644
|
File size:
274 bytes
|
Line | |
---|
1 | var decodeUriComponent = require("decode-uri-component")
|
---|
2 |
|
---|
3 | function customDecodeUriComponent(string) {
|
---|
4 | // `decodeUriComponent` turns `+` into ` `, but that's not wanted.
|
---|
5 | return decodeUriComponent(string.replace(/\+/g, "%2B"))
|
---|
6 | }
|
---|
7 |
|
---|
8 | module.exports = customDecodeUriComponent
|
---|
Note:
See
TracBrowser
for help on using the repository browser.