Added the License to the code in order to runs under LibreJS standards

Please read how to free your javascript http://www.gnu.org/software/librejs/free-your-javascript.html

tested using Firefox 14.0.1 and LibreJS 4.8 add-on

I added Google Inc as copyright holder. There is an open issue on this:

https://github.com/Pita/etherpad-lite/issues/935

Is not clear to me if it should be 'Peter Martischka and contributors' or 'Google Inc.' or somebody else.
This commit is contained in:
Nico Cesar 2012-08-08 16:22:10 -03:00
parent dae0cbfb53
commit 3fbfb8adfb
3 changed files with 71 additions and 0 deletions

View file

@ -2,7 +2,29 @@
<html> <html>
<title>Etherpad Lite</title> <title>Etherpad Lite</title>
<script>
/*
|@licstart The following is the entire license notice for the
JavaScript code in this page.|
Copyright 2011 Google Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
|@licend The above is the entire license notice
for the JavaScript code in this page.|
*/
</script>
<meta charset="utf-8"> <meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0"> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0">
@ -127,6 +149,7 @@
<input type="text" id="padname" autofocus x-webkit-speech> <input type="text" id="padname" autofocus x-webkit-speech>
<button type="submit">OK</button> <button type="submit">OK</button>
</form> </form>
<div class="translate"><a href="http://weblabels.fsf.org/etherpad.fsf.org/CURRENT/" rel="jslicense">JavaScript license information</a></div>
</div> </div>
</div> </div>

View file

@ -5,6 +5,29 @@
<html> <html>
<title>Etherpad Lite</title> <title>Etherpad Lite</title>
<script>
/*
|@licstart The following is the entire license notice for the
JavaScript code in this page.|
Copyright 2011 Google Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
|@licend The above is the entire license notice
for the JavaScript code in this page.|
*/
</script>
<meta charset="utf-8"> <meta charset="utf-8">
<meta name="robots" content="noindex, nofollow"> <meta name="robots" content="noindex, nofollow">
@ -149,6 +172,7 @@
<div id="editorcontainerbox"> <div id="editorcontainerbox">
<div id="editorcontainer"></div> <div id="editorcontainer"></div>
<div id="editorloadingbox">Loading...</div> <div id="editorloadingbox">Loading...</div>
<div class="translate"><a href="http://weblabels.fsf.org/etherpad.fsf.org/CURRENT/" rel="jslicense">License information</a></div>
</div> </div>
<div id="settings" class="popup"> <div id="settings" class="popup">

View file

@ -5,6 +5,29 @@
<meta name="robots" content="noindex, nofollow"> <meta name="robots" content="noindex, nofollow">
<title>Etherpad Lite Timeslider</title> <title>Etherpad Lite Timeslider</title>
<script>
/*
|@licstart The following is the entire license notice for the
JavaScript code in this page.|
Copyright 2011 Google Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
|@licend The above is the entire license notice
for the JavaScript code in this page.|
*/
</script>
<link rel="shortcut icon" href="../../favicon.ico"> <link rel="shortcut icon" href="../../favicon.ico">
<link rel="stylesheet" href="../../static/css/pad.css"> <link rel="stylesheet" href="../../static/css/pad.css">
@ -14,6 +37,7 @@
</head> </head>
<body id="padbody" class="timeslider limwidth"> <body id="padbody" class="timeslider limwidth">
<a href="http://weblabels.fsf.org/etherpad.fsf.org/CURRENT/" rel="jslicense"></a>
<div id="padpage"> <div id="padpage">
<div id="timeslider-top"> <div id="timeslider-top">
<div id="timeslider-wrapper"> <div id="timeslider-wrapper">