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 SwiftUI | |
| struct ContentView: View { | |
| @State var stepperValue: Float = 0 | |
| var body: some View { | |
| VStack { | |
| Text("knittings cool") | |
| .padding() |
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
| let vTemplate = ""; | |
| let vScript = ""; | |
| let vStyle = ""; | |
| const path = require("path"); | |
| const PATH_READ = path.join(__dirname, "../classic"); | |
| const PATH_WRITE = path.join(__dirname, "../dist/"); | |
| const fs = require("fs"); |
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 ENABLE_CACHE = true; | |
| const API_URL = "http://pokeapi.co/api/v2/pokemon/"; // URL to Pokemon API that fetches list of pokemon | |
| const COUNT_ORIGINAL_POKEMON = 151; // we only care about the original 151 Pokemon | |
| const POKEMON_IMG_URL = "http://pokeapi.co/media/img/"; // http://pokeapi.co/media/img/1.png | |
| var g_rgPokemon = []; // global array of pokemon | |
| window.onload = function() { | |
| if (!window.jQuery) { |