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
| HotelPaymentRequest: { | |
| hotelId : hotelId, | |
| supplierType : 'E', | |
| rateType : 'MerchantStandard' | |
| } |
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
| // Correction for the amount of rooms variation | |
| HotelRoomAvailabilityRequest: { | |
| hotelId : hotelId, | |
| arrivalDate : arrivalDate, | |
| departureDate : departureDate, | |
| includeDetails : true, | |
| RoomGroup: { | |
| Room: { numberOfAdults: room.numberOfAdults } | |
| } |
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
| HotelRoomReservationRequest: { | |
| hotelId: room['hotelId'], | |
| arrivalDate: room.arrivalDate, | |
| departureDate: room.departureDate, | |
| supplierType: 'E', | |
| rateKey: room.rateKey, | |
| roomTypeCode: room.roomTypeCode, | |
| rateCode: room.rateCode, | |
| chargeableRate: room.chargeableRate, | |
| sendReservationEmail: true, |
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
| const replaceForRegexSearch = (str) => { | |
| let letters = str.split(''); | |
| letters = letters.map((letter) => { | |
| switch(letter) { | |
| case 'a': | |
| return '(a|á|à|â|ã)'; | |
| case 'c': | |
| return '(c|ç)'; | |
| case 'e': | |
| return '(e|é|è|ê)'; |
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
| customerHeader = { | |
| 'customerIpAddress' : req.headers["X-Forwarded-For"] || req.headers["x-forwarded-for"] || '127.0.0.1', | |
| 'customerUserAgent' : req.headers['user-agent'], | |
| 'customerSessionId' : req.sessionId | |
| } |
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
| @keyframes fadeIn { | |
| 0% { | |
| opacity 0 | |
| } | |
| 80% { | |
| opacity 1 | |
| } | |
| 100% { | |
| opacity 1 | |
| } |
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
| (function (angular) { | |
| function Data ($resource, config) { | |
| return (resource) => { | |
| const server = [config.server, resource].join("/"); | |
| return $resource(server, | |
| { '_id': '@_id' }, { | |
| get: { | |
| url: server.concat("/:_id"), | |
| method: 'GET' |
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
| A tangerina (Citrus reticulata), também laranja-mimosa, mandarina, fuxiqueira, poncã, manjerica, laranja-cravo, mimosa, vergamota (ou bergamota), clementina ou mexerica, é uma fruta cítrica de cor alaranjada e sabor adocicado. Parece ser uma antiga espécie selvagem, nativa da Ásia (Índia, China e países vizinhos de climas subtropical e tropical úmido). |
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 lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <title>Introdução ao Desenvolvimento Web</title> | |
| </head> | |
| <body> | |
| <p>A tangerina (Citrus reticulata), também laranja-mimosa, mandarina, fuxiqueira, poncã, manjerica, laranja-cravo, mimosa, vergamota (ou bergamota), clementina ou mexerica, é uma fruta cítrica de cor alaranjada e sabor adocicado. Parece ser uma antiga espécie selvagem, nativa da Ásia (Índia, China e países vizinhos de climas subtropical e tropical úmido).</p> | |
| </body> | |
| </html> |
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 _ from 'underscore'; | |
| import s from 'underscore.string'; | |
| function renderMarker(markers) { | |
| // Se Educação Física... | |
| return _.each(markers, (marker) => { | |
| // ... na lista ele retorna educacao_fisica.svg. | |
| return returns.slugify(marker) + ".svg"; | |
| }); |