Current Dev State

This commit is contained in:
Tim Lorsbach
2025-06-23 20:13:54 +02:00
parent b4f9bb277d
commit ded50edaa2
22617 changed files with 4345095 additions and 174 deletions

13
static/js/ketcher2/node_modules/url-trim/index.js generated vendored Normal file
View File

@ -0,0 +1,13 @@
var urlLib = require('url')
module.exports = stripUrl
function stripUrl (url) {
if (!url) return ''
var obj = urlLib.parse(url)
obj.search = ''
obj.hash = ''
obj.query = ''
obj.pathname = (obj.pathname || '').replace(/\/+$/, '/')
url = urlLib.format(obj)
return url || '/'
}