Skip to content

Commit

Permalink
Added diffDOM license
Browse files Browse the repository at this point in the history
  • Loading branch information
yandeu committed Dec 2, 2024
1 parent 690b154 commit 626583d
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion client/injected.ts
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ if ('WebSocket' in window && !block) {
_diffDOMStatus = 'loading'
return new Promise(resolve => {
const baseurl = new URL(script.src).pathname.split('/').slice(0, -1).join('/')
const url = `//${new URL(script.src).host}${baseurl}/fiveserver/scripts/diffDOM.js`
const url = `//${new URL(script.src).host}${baseurl}/fiveserver/scripts/diffDOM/diffDOM.js`
const s = document.createElement('script')
s.type = 'text/javascript'
s.src = url
Expand Down
5 changes: 5 additions & 0 deletions public/scripts/diffDOM/LICENSE.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
/**
* @copyright Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
* @license ${link https://github.com/fiduswriter/diffDOM/blob/main/LICENSE.txt | LGPL-3.0}
* @description diffDOM.js and diffDOM.js.map are copied from https://github.com/fiduswriter/diffDOM
*/
File renamed without changes.
File renamed without changes.

0 comments on commit 626583d

Please sign in to comment.