If you haven't already set your NPM author info, now you should:
npm set init.author.name "Your Name"
npm set init.author.email "[email protected]"
npm set init.author.url "http://yourblog.com"
npm adduser
/* | |
Para hacer el script efectivo se deben tener las siguientes etiquetas en el archivo .html | |
<h1>Agenda de Contactos</h1> | |
<input type="button" id="agregar" value="Agregar Contacto"> | |
*/ | |
var d = document; | |
var abc = ["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"]; | |
var memoria = new Array(); | |
function Agenda () { |
function sendMailOnFormSubmit(e) { | |
var recipient = "[email protected]"; | |
var copyTo = "[email protected]" | |
//Opciones del formulario. | |
var timeStamp = e.values[0]; | |
var name = e.values[1]; | |
var email = e.values[2]; | |
var knowledge = e.values[3]; | |
var languages = e.values[4]; |
function evitarEnter(event) { | |
var event = (event) ? event : ((event) ? event : null); | |
var node = (event.target) ? event.target : ((event.srcElement) ? event.srcElement : null); | |
if ((event.keyCode == 13) && (node.type == "text")) { | |
alert('Enter Desactivado'); | |
return false; | |
} | |
} |
/** | |
* Pequeña funcion javascript para obtener un formato de fecha que comprenda el patrón: | |
* día de la semana, día del mes, mes y año actual. | |
* Ejemplo: Miercoles 28 de Mayo del 2014. | |
* | |
* This is a little javascript function to get the date with the follow pattern: | |
* day of the week, day of the month, month and currently year. | |
* Example: Wednsneday, May 28th of 2014. | |
*/ | |
/** | |
* Pequeño snippet para obtener direcciones de correo electrónico | |
* de miembros en Google Groups, desde la vista "Todos los Miembros". | |
*/ | |
var c = document.getElementsByClassName('gdf-tableRow'), | |
members = []; | |
for(var i = 0; i< c.length; i++){ | |
var o = {}; | |
o.name = c[i].childNodes[1].textContent; |
/** | |
* Instrucciones de USO. | |
* - Ir a https://www.asobanca.com.ve/site/home.php. | |
* - Presionar F12 para abrir DevTools. | |
* - Abrir consola y pegar este script! | |
* - Presionar ENTER. | |
* - copiar resultado y utilizar para cosas geniales! | |
*/ | |
var c = document.getElementsByClassName('awMenuComiteesLink'), |
<snippet> | |
<content><![CDATA[ | |
<!doctype html> | |
<html lang="es"> | |
<head> | |
<meta charset="utf-8"> | |
<title>Angular Materia introducción</title> | |
<meta name="description" content="Título de la página."> | |
<meta name="author" content="Andrés Villanueva"> |
If you haven't already set your NPM author info, now you should:
npm set init.author.name "Your Name"
npm set init.author.email "[email protected]"
npm set init.author.url "http://yourblog.com"
npm adduser
function hasClass(elem, className) { | |
return new RegExp(' ' + className + ' ').test(' ' + elem.className + ' '); | |
} | |
function addClass(elem, className) { | |
if (!hasClass(elem, className)) { | |
elem.className += ' ' + className; | |
} | |
} |