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
<html data-gray-scheme="gray" data-primary="blue" data-accent="pink"> | |
<head> | |
<style type="text/css"> | |
:root { | |
--black: #12181c; | |
--white: #ffffff; | |
--info: #06b6d4; | |
--danger: #ef4444; | |
--success: #27ae60; | |
--warning: #f39c12; |
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
// Project i18next initializer | |
// after i18next.init add the following lines | |
// for acceptable keys see file below | |
i18next.addResourceBundle( | |
"en", | |
"SearchBar", | |
{ | |
placeholder: "Test..." |
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
// Calculate center geo-coords from list of location coordinates | |
function calculateCenterPoint(data, latProperty = "latitude", lonProperty = "longitude") { | |
var num_coords = data.length; | |
var X = 0.0; | |
var Y = 0.0; | |
var Z = 0.0; | |
for (i = 0; i < data.length; i++) { | |
var lat = data[i][latProperty] * Math.PI / 180; |
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
<template> | |
<require from="./registration-form"></require> | |
<registration-form></registration-form> | |
</template> |
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
{ | |
"AED": "United Arab Emirates Dirham", | |
"AFN": "Afghanistan Afghani", | |
"ALL": "Albania Lek", | |
"AMD": "Armenia Dram", | |
"ANG": "Netherlands Antilles Guilder", | |
"AOA": "Angola Kwanza", | |
"ARS": "Argentina Peso", | |
"AUD": "Australia Dollar", | |
"AWG": "Aruba Guilder", |
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
[ | |
{ | |
"continent": "Asia", | |
"iso3": "AFG", | |
"iso2": "AF", | |
"name": "Afghanistan", | |
"tld": ".af", | |
"currency": "AFN", | |
"phone": 93 | |
}, |
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
export function getAscii(str) { | |
var conversions = new Object(); | |
conversions['ae'] = 'ä|æ|ǽ'; | |
conversions['oe'] = 'ö|œ'; | |
conversions['ue'] = 'ü'; | |
conversions['Ae'] = 'Ä'; | |
conversions['Ue'] = 'Ü'; | |
conversions['Oe'] = 'Ö'; | |
conversions['A'] = 'À|Á|Â|Ã|Ä|Å|Ǻ|Ā|Ă|Ą|Ǎ'; | |
conversions['a'] = 'à|á|â|ã|å|ǻ|ā|ă|ą|ǎ|ª'; |