tagged the JS files in view/js with their licenses

This commit is contained in:
Tobias Diekershoff 2019-02-12 11:29:50 +01:00
parent 48d5186dce
commit 173a17d0e0
11 changed files with 1486 additions and 1462 deletions

View file

@ -1,3 +1,4 @@
// @license magnet:?xt=urn:btih:0b31508aeb0634b347b8270c7bee4d411b5d4109&dn=agpl-3.0.txt AGPLv3-or-later
function ACL(backend_url, preset, automention, is_mobile){
this.url = backend_url;
@ -354,3 +355,4 @@ ACL.prototype.deselectCid = function(id) {
}
this.remove_mention(id);
};
// @license-end

View file

@ -1,3 +1,4 @@
// @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt Expat
/**
* AJAX Upload ( http://valums.com/ajax-upload/ )
* Copyright (c) Andris Valums
@ -702,3 +703,4 @@
}
};
})();
// @license-end

View file

@ -1,3 +1,4 @@
// @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt Expat
/**
* @brief Friendica people autocomplete
*
@ -518,4 +519,4 @@ ACPopup.prototype.onkey = function(event){
this.close();
}
}
// @license-end

View file

@ -1,4 +1,5 @@
//<!-- Docs at: http://www.microcosmotalk.com/tech/scripts/
// @license magnet:?xt=urn:btih:e95b018ef3580986a04669f1b5879592219e2a7a&dn=public-domain.txt Public Domain
// NOTE:
// This code is placed into the public domain and may be used in any manner desired.
//
@ -434,5 +435,5 @@ function Update_Globals() {
return;
}
// @license-end
//-->

View file

@ -1,3 +1,4 @@
// @license magnet:?xt=urn:btih:0b31508aeb0634b347b8270c7bee4d411b5d4109&dn=agpl-3.0.txt AGPLv3-or-later
/**
* Filebrowser - Friendica Communications Server
*
@ -140,4 +141,4 @@ var FileBrowser = {
);
}
};
// @license-end

View file

@ -1,3 +1,4 @@
// @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt Expat
(function (factory) {
if (typeof define === 'function' && define.amd) {
// AMD. Register as an anonymous module.
@ -1399,3 +1400,4 @@ $.fn.textcomplete.getCaretCoordinates = getCaretCoordinates;
return jQuery;
}));
// @license-end

File diff suppressed because one or more lines are too long

View file

@ -1,3 +1,4 @@
// @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt Expat
/*
Rangy Text Inputs, a cross-browser textarea and text input library plug-in for jQuery.
@ -18,3 +19,5 @@ b.end};m=function(a,b){if(b)a.selectionEnd=a.selectionStart;else a.selectionStar
1));c.moveStart("character",d)}c.select()};m=function(a,b){var c=document.selection.createRange();c.collapse(b);c.select()}}else{k().removeChild(g);window.console&&window.console.log&&window.console.log("TextInputs module for Rangy not supported in your browser. Reason: No means of finding text input caret position");return}k().removeChild(g);l=function(a,b,c,d){var f;if(b!=c){f=a.value;a.value=f.slice(0,b)+f.slice(c)}d&&h(a,b,b)};q=function(a){var b=i(a);l(a,b.start,b.end,true)};u=function(a){var b=
i(a),c;if(b.start!=b.end){c=a.value;a.value=c.slice(0,b.start)+c.slice(b.end)}h(a,b.start,b.start);return b.text};r=function(a,b,c,d){var f=a.value;a.value=f.slice(0,c)+b+f.slice(c);if(d){b=c+b.length;h(a,b,b)}};s=function(a,b){var c=i(a),d=a.value;a.value=d.slice(0,c.start)+b+d.slice(c.end);c=c.start+b.length;h(a,c,c)};t=function(a,b,c){var d=i(a),f=a.value;a.value=f.slice(0,d.start)+b+d.text+c+f.slice(d.end);b=d.start+b.length;h(a,b,b+d.length)};n.fn.extend({getSelection:e(i,false),setSelection:e(h,
true),collapseSelection:e(m,true),deleteSelectedText:e(q,true),deleteText:e(l,true),extractSelectedText:e(u,false),insertText:e(r,true),replaceSelectedText:e(s,true),surroundSelectedText:e(t,true)})})})(jQuery);
// @license-end

View file

@ -1,3 +1,5 @@
// @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt Expat
// @license magnet:?xt=urn:btih:0b31508aeb0634b347b8270c7bee4d411b5d4109&dn=agpl-3.0.txt GOL
/**
* Copyright (c) 2014 Leonardo Cardoso (http://leocardz.com)
* Dual licensed under the MIT (http://www.opensource.org/licenses/mit-license.php)
@ -875,3 +877,5 @@
return (CaretPos);
}
})(jQuery);
// @license-end

View file

@ -1,3 +1,4 @@
// @license magnet:?xt=urn:btih:0b31508aeb0634b347b8270c7bee4d411b5d4109&dn=agpl-3.0.txt AGPLv3-or-later
function resizeIframe(obj) {
_resizeIframe(obj, 0);
}
@ -922,3 +923,4 @@ var Dialog = {
};
}
}
// @license-end

File diff suppressed because one or more lines are too long