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 pokemonRepository = (function () { | |
var repository = []; | |
var apiUrl = "https://pokeapi.co/api/v2/pokemon/?limit=900"; | |
function add(pokemon) { | |
if ( | |
typeof pokemon === "object" && | |
"name" in pokemon && | |
"detailsUrl" in pokemon | |
) { | |
repository.push(pokemon); |
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
body { | |
font: 14px "Century Gothic", Futura, sans-serif; | |
margin: 20px; | |
} | |
ol, ul { | |
padding-left: 30px; | |
} | |
.board-row:after { |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width"> | |
<title>repl.it</title> | |
<link href="style.css" rel="stylesheet" type="text/css" /> | |
</head> |
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 React from "react"; | |
import PropTypes from "prop-types"; | |
import { connect } from "react-redux"; | |
import Form from "react-bootstrap/Form"; | |
import { setFilter } from "../../actions/actions"; | |
function VisibilityFilterInput(props) { | |
return ( |
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
const express = require("express"), | |
bodyParser = require("body-parser"), | |
uuid = require("uuid"); | |
const morgan = require("morgan"); | |
const app = express(); | |
const mongoose = require("mongoose"); | |
const Models = require("./models.js"); | |
const passport = require("passport"); | |
require("./passport"); |
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 React, { Component } from "react"; | |
import { | |
StyleSheet, | |
Text, | |
View, | |
Button, | |
TextInput, | |
ImageBackground, | |
Platform, | |
} from "react-native"; |
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 React from "react"; | |
import axios from "axios"; | |
import { BrowserRouter as Router, Route } from "react-router-dom"; | |
import { LoginView } from "../login-view/login-view"; | |
import { RegistrationView } from "../registration-view/registration-view"; | |
import { MovieCard } from "../movie-card/movie-card"; | |
import { MovieView } from "../movie-view/movie-view"; | |
import { ProfileView } from "../profile-view/profile-view"; |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8" /> | |
<link | |
rel="shortcut icon" | |
href="http://wikipedia.com/static/favicon/wikipedia.ico" | |
/> | |
<title> |
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 React, { Component } from "react"; | |
import { | |
StyleSheet, | |
Text, | |
View, | |
Button, | |
TextInput, | |
ImageBackground, | |
Platform, | |
} from "react-native"; |
NewerOlder