This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
input[type="radio"] | |
{ | |
vertical-align:top; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function CheckEmptyFields() | |
{ | |
$(".required").each(function() | |
{ | |
if($.trim($(this).val()).length == 0) | |
{ | |
$(this).addClass("warning"); | |
} | |
else | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(document).ready(function(){ | |
//global function to able load all content by ajax. | |
$('a').bind('click', function(e) { | |
var url = $(this).attr('href'); | |
$('div#container').load(url); | |
e.preventDefault(); | |
}); | |
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var EdgarJs = { | |
Session: { | |
load(key, value) { | |
if (localStorage.getItem(key)) { | |
return localStorage.getItem(key); | |
} | |
return "not existe"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"lastUpload":"2020-01-16T20:59:08.958Z","extensionVersion":"v3.4.3"} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Tag AutoClose https://marketplace.visualstudio.com/items?itemName=formulahendry.auto-close-tag | |
Tag highligth https://marketplace.visualstudio.com/items?itemName=vincaslt.highlight-matching-tag | |
Tag Rename https://marketplace.visualstudio.com/items?itemName=formulahendry.auto-rename-tag | |
Vetur https://marketplace.visualstudio.com/items?itemName=octref.vetur | |
ESLint https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint | |
GitLens https://marketplace.visualstudio.com/items?itemName=eamodio.gitlens | |
Sass https://marketplace.visualstudio.com/items?itemName=Syler.sass-indented | |
Live Sass Compiler https://marketplace.visualstudio.com/items?itemName=ritwickdey.live-sass | |
Prettier https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode | |
VSCode icons https://marketplace.visualstudio.com/items?itemName=vscode-icons-team.vscode-icons |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let name = 'John'; | |
let test; | |
name = 'Jack'; | |
const person = { | |
name: 'Jhon', | |
age: 33 | |
}; | |
console.log(person.name); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Item { | |
key: string; | |
value: string; | |
} | |
interface IStorage { | |
getItem(key: string): Item; | |
setItem(item: Item): boolean; | |
remove(key: string): boolean; | |
} | |
// aqui uso el stragety |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Invoice { | |
public amount: number; | |
public description: string; | |
country: string; | |
} | |
class SalesInvoices extends Invoice { | |
products: Array<string> = []; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Pipe, PipeTransform } from '@angular/core'; | |
@Pipe({ | |
name: 'password' | |
}) | |
export class PasswordPipe implements PipeTransform { | |
transform(value: string, hide: boolean = true): any { | |
return !hide ? value.replace(/./g, '*') : value; |
OlderNewer