git remote add upstream git@github.com:cdv-poznan/javascript-project-starter.git
git fetch upstream
git rebase upstream/master
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 HtmlWebpackPlugin = require('html-webpack-plugin'); | |
const CopyWebpackPlugin = require('copy-webpack-plugin'); | |
const isProduction = !!process.env.WEBPACK_PRODUCTION; | |
console.log('isProduction:', typeof isProduction); | |
const htmlPluginConfig = {template: './src/index.html'}; | |
const htmlPlugin = new HtmlWebpackPlugin(htmlPluginConfig) |
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
<div id="weather-wrapper"> | |
<canvas id="weather-canvas"></canvas> | |
<canvas id="canvas"></canvas> | |
</div> |
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
console.log('Hello World!'); |
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
class Base64 { | |
private PADCHAR: string = '='; | |
private ALPHA: string = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'; | |
private getByte(s: string, i: number): number { | |
const x = s.charCodeAt(i); | |
return x; | |
} | |
private getByte64(s: string, i: number): number { |
OlderNewer