forked from enviPath/enviPy
Current Dev State
This commit is contained in:
6
static/js/ketcher2/node_modules/strict-uri-encode/index.js
generated
vendored
Normal file
6
static/js/ketcher2/node_modules/strict-uri-encode/index.js
generated
vendored
Normal file
@ -0,0 +1,6 @@
|
||||
'use strict';
|
||||
module.exports = function (str) {
|
||||
return encodeURIComponent(str).replace(/[!'()*]/g, function (c) {
|
||||
return '%' + c.charCodeAt(0).toString(16).toUpperCase();
|
||||
});
|
||||
};
|
||||
Reference in New Issue
Block a user