Remove minify javascript
This commit is contained in:
parent
85c9b77b8b
commit
b661f90a83
@ -2,7 +2,7 @@
|
||||
@licstart The following is the entire license notice for the
|
||||
JavaScript code in this page.
|
||||
|
||||
Copyleft 2017 | Heckyel
|
||||
Copyleft 2021 | Heckyel
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
|
3
core/static/core/js/efectos.min.js
vendored
3
core/static/core/js/efectos.min.js
vendored
@ -1,3 +0,0 @@
|
||||
// @license magnet:?xt=urn:btih:1f739d935676111cfff4b4693e3816e664797050&dn=gpl-3.0.txt GPL-v3-or-Later
|
||||
!function(){"use strict";document.addEventListener("DOMContentLoaded",e=>{const t=document.getElementById("btn-acerca-de"),n=document.getElementById("btn-trabajos"),o=document.getElementById("btn-contacto"),a=(document.getElementById("acerca-de"),document.getElementById("trabajos")),c=document.getElementById("contacto");t.addEventListener("click",e=>{e.preventDefault(),window.scroll({top:240,behavior:"smooth"}),location.hash=t.hash}),n.addEventListener("click",e=>{e.preventDefault(),a.scrollIntoView({behavior:"smooth",block:"start",inline:"nearest"}),location.hash=n.hash}),o.addEventListener("click",e=>{e.preventDefault(),c.scrollIntoView({behavior:"smooth",block:"start",inline:"nearest"}),location.hash=o.hash})})}();
|
||||
// @license-end
|
@ -2,7 +2,7 @@
|
||||
@licstart The following is the entire license notice for the
|
||||
JavaScript code in this page.
|
||||
|
||||
Copyleft 2017 | Heckyel
|
||||
Copyleft 2021 | Heckyel
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
@ -18,7 +18,8 @@ See the GNU General Public License for more details.
|
||||
for the JavaScript code in this page.
|
||||
*/
|
||||
|
||||
(function(){
|
||||
(function main(){
|
||||
'use strict';
|
||||
var formulario = document.getElementById('formulario'),
|
||||
nombre = formulario.name,
|
||||
correo = formulario.email,
|
||||
|
3
core/static/core/js/formulario.min.js
vendored
3
core/static/core/js/formulario.min.js
vendored
@ -1,3 +0,0 @@
|
||||
// @license magnet:?xt=urn:btih:1f739d935676111cfff4b4693e3816e664797050&dn=gpl-3.0.txt GPL-v3-or-Later
|
||||
!function(){function e(e){""!=a.value&&null!=a.value||(console.info("Por favor completa el nombre"),c.style.display="block",c.innerHTML=c.innerHTML+"<li>Por favor completa el nombre</li>",e.preventDefault())}function l(e){""!=t.value&&null!=t.value||(console.info("Por favor completa el correo"),c.style.display="block",c.innerHTML=c.innerHTML+"<li>Por favor completa el correo</li>",e.preventDefault())}function n(e){""!=i.value&&null!=i.value||(console.info("Por favor completa el mensaje"),c.style.display="block",c.innerHTML=c.innerHTML+"<li>Por favor completa el mensaje</li>",e.preventDefault())}function o(o){c.innerHTML="",c.style.display="none",e(o),l(o),n(o)}var r=document.getElementById("formulario"),a=r.name,t=r.email,i=r.content,c=document.getElementById("error");r.addEventListener("submit",o)}();
|
||||
// @license-end
|
@ -8,13 +8,13 @@
|
||||
<body>
|
||||
<table id="jslicense-labels1">
|
||||
<tr>
|
||||
<td><a href="./js/formulario.min.js">formulario.min.js</a></td>
|
||||
<td><a href="https://www.gnu.org/licenses/gpl-3.0.html">GNU-GPL-3.0-or-later</a></td>
|
||||
<td><a href="./js/formulario.js">formulario.js</a></td>
|
||||
<td><a href="http://www.gnu.org/licenses/gpl-3.0.html">GNU-GPL-3.0-or-later</a></td>
|
||||
<td><a href="./js/formulario.js">formulario.js</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="./js/efectos.min.js">efectos.min.js</a></td>
|
||||
<td><a href="https://www.gnu.org/licenses/gpl-3.0.html">GNU-GPL-3.0-or-later</a></td>
|
||||
<td><a href="./js/efectos.js">efectos.js</a></td>
|
||||
<td><a href="http://www.gnu.org/licenses/gpl-3.0.html">GNU-GPL-3.0-or-later</a></td>
|
||||
<td><a href="./js/efectos.js">efectos.js</a></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
@ -44,10 +44,9 @@
|
||||
{% block contacto %}{% endblock %}
|
||||
|
||||
{% endblock %}
|
||||
|
||||
<script src="{% static 'core/js/formulario.min.js' %}"
|
||||
integrity="sha512-x/w0Nw2Rb6s8/M5j2fABeQ+IFkZcB53XPWE8dCBMF5Gd5aVo6H9ztrAnay6qvBEH0IXVPSFHoj6DOW0zIKHUcQ=="></script>
|
||||
<script src="{% static 'core/js/efectos.min.js' %}"
|
||||
integrity="sha512-TRxi+0KfZ0LbALtnqnyX1X37/KGDGLaiSHkKerR6+gcN7w4cnmrJE2b73vEl0TgGJ7XUvIY0IePLIIK2emBUSA=="></script>
|
||||
<script src="{% static 'core/js/efectos.js' %}"
|
||||
integrity="sha512-9GdKmuOrtKz7ckc46lSnzz8SVUCYJEL29vCbv1Kb63Fo5yVDLEzsmoiODINkWU9rxQTgSZiawwU0oE8+mknLLw=="></script>
|
||||
<script src="{% static 'core/js/formulario.js' %}"
|
||||
integrity="sha512-uiBX+5GOQELMNOY3xYelryeQwSn2G3eKqRFZEzisp+CZUp8r82jFPNgcdrBG/ZI/Wt4Lx7ojx2U4jAWXk5jqIw=="></script>
|
||||
</body>
|
||||
</html>
|
||||
|
Loading…
x
Reference in New Issue
Block a user