This file contains hidden or 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
/* | |
* Load contacts and filter by categories. | |
*/ | |
( function() { | |
'use strict'; | |
// Variables. | |
const filterForm = document.getElementById( 'filter-contacts' ); | |
const contactWrapper = document.getElementById( 'contact-section' ); | |
const htmlOutput = document.getElementById( 'js-contact-replace' ); |
This file contains hidden or 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
// Implementation in ES6 | |
function pagination(c, m) { | |
var current = c, | |
last = m, | |
delta = 2, | |
left = current - delta, | |
right = current + delta + 1, | |
range = [], | |
rangeWithDots = [], | |
l; |
This file contains hidden or 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 React from 'react'; | |
import ReactDOM from 'react-dom'; | |
import { Provider } from 'react-redux'; | |
import App from './App'; | |
import store from './store'; | |
import './styles/app.scss'; | |
const rootElement = document.getElementById('root'); |
This file contains hidden or 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 React from 'react'; | |
import ReactDOM from 'react-dom'; | |
import { Provider } from 'react-redux'; | |
import App from './App'; | |
import store from './store'; | |
const rootElement = document.getElementById('root'); | |
ReactDOM.render( | |
<Provider store={store}> |
This file contains hidden or 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
<h2>Política de privacidade para <a href='manniadiviagem.com.br'>Mannia Di Viagem</a></h2><p>Todas as suas informações pessoais recolhidas, serão usadas para o ajudar a tornar a sua visita no nosso site o mais produtiva e agradável possível.</p><p>A garantia da confidencialidade dos dados pessoais dos utilizadores do nosso site é importante para o Mannia Di Viagem.</p><p>Todas as informações pessoais relativas a membros, assinantes, clientes ou visitantes que usem o Mannia Di Viagem serão tratadas em concordância com a Lei da Proteção de Dados Pessoais de 26 de outubro de 1998 (Lei n.º 67/98).</p><p>A informação pessoal recolhida pode incluir o seu nome, e-mail, número de telefone e/ou telemóvel, morada, data de nascimento e/ou outros.</p><p>O uso do Mannia Di Viagem pressupõe a aceitação deste Acordo de privacidade. A equipa do Mannia Di Viagem reserva-se ao direito de alterar este acordo sem aviso prévio. Deste modo, recomendamos que consulte a nossa política de privacidade com regularidade de forma a estar |
This file contains hidden or 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
listOfCity = [ | |
"Alta Floresta D'Oeste", | |
"Alto Alegre dos Parecis", | |
"Alto Paraíso", | |
"Alvorada D'Oeste", | |
"Ariquemes", | |
"Buritis", | |
"Cabixi", | |
"Cacaulândia", | |
"Cacoal", |
This file contains hidden or 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
<select name="estados-brasil"> | |
<option value="AC">Acre</option> | |
<option value="AL">Alagoas</option> | |
<option value="AP">Amapá</option> | |
<option value="AM">Amazonas</option> | |
<option value="BA">Bahia</option> | |
<option value="CE">Ceará</option> | |
<option value="DF">Distrito Federal</option> | |
<option value="ES">Espírito Santo</option> | |
<option value="GO">Goiás</option> |
This file contains hidden or 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 app = angular | |
.module('MyApp', [ | |
]) | |
.controller('QuestionCtrl', ['$scope', '$http', function ($scope, $http) { | |
$scope.services = []; | |
$http | |
.get("data.json") | |
.then(function(response){ | |
$scope.services = response.data.services; | |
}); |
This file contains hidden or 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
{ | |
"name": "Brazil", | |
"slug": "br", | |
"locales": [ | |
"pt_BR" | |
], | |
"hostname": "prod.br.lol.riotgames.com", | |
"region_tag": "br1", | |
"services": [ | |
{ |
This file contains hidden or 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
<!DOCTYPE html> | |
<html ng-app="MyApp" ng-strict-di> | |
<head> | |
<title>my app</title> | |
<style>ul { padding-left: 0; } li { list-style: none; }</style> | |
<script data-require="angular.js@*" data-semver="1.3.7" src="https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.3.7/angular.js"></script> | |
<script data-require="ui-router@*" data-semver="0.2.13" src="//rawgit.com/angular-ui/ui-router/0.2.13/release/angular-ui-router.js"></script> | |
<script> | |
document.write('<base href="'+ document.location.pathname +'" />') |
NewerOlder