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 UIKit | |
import WebKit | |
final class ReCAPTCHAViewController: UIViewController { | |
private var webView: WKWebView! | |
private let viewModel: ReCAPTCHAViewModel | |
init(viewModel: ReCAPTCHAViewModel) { | |
self.viewModel = viewModel |
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
Show hidden characters
{ | |
"env": { | |
"es6": true | |
}, | |
"extends": [ | |
"plugin:react/recommended", | |
"plugin:@typescript-eslint/recommended", | |
"airbnb", | |
"plugin:import/errors", | |
"plugin:import/warnings", |
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":"Afghanistan","flag":"๐ฆ๐ซ","code":"AF","dial_code":"+93"},{"name":"ร land Islands","flag":"๐ฆ๐ฝ","code":"AX","dial_code":"+358"},{"name":"Albania","flag":"๐ฆ๐ฑ","code":"AL","dial_code":"+355"},{"name":"Algeria","flag":"๐ฉ๐ฟ","code":"DZ","dial_code":"+213"},{"name":"American Samoa","flag":"๐ฆ๐ธ","code":"AS","dial_code":"+1684"},{"name":"Andorra","flag":"๐ฆ๐ฉ","code":"AD","dial_code":"+376"},{"name":"Angola","flag":"๐ฆ๐ด","code":"AO","dial_code":"+244"},{"name":"Anguilla","flag":"๐ฆ๐ฎ","code":"AI","dial_code":"+1264"},{"name":"Antarctica","flag":"๐ฆ๐ถ","code":"AQ","dial_code":"+672"},{"name":"Antigua and Barbuda","flag":"๐ฆ๐ฌ","code":"AG","dial_code":"+1268"},{"name":"Argentina","flag":"๐ฆ๐ท","code":"AR","dial_code":"+54"},{"name":"Armenia","flag":"๐ฆ๐ฒ","code":"AM","dial_code":"+374"},{"name":"Aruba","flag":"๐ฆ๐ผ","code":"AW","dial_code":"+297"},{"name":"Australia","flag":"๐ฆ๐บ","code":"AU","dial_code":"+61"},{"name":"Austria","flag":"๐ฆ๐น","code":"AT","dial_code":"+43"},{"name":"Azerbaijan","flag":"๐ฆ๐ฟ","code":"AZ","dial_code":"+9 |
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
document.getElementsByTagName('button')[0].onclick = function () { | |
scrollTo(document.body, 0, 1250); | |
} | |
function scrollTo(element, to, duration) { | |
var start = element.scrollTop, | |
change = to - start, | |
currentTime = 0, | |
increment = 20; | |