git remote add upstream git@github.com:cdv-poznan/javascript-project-starter.git
git fetch upstream
git rebase upstream/master
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
| function Person(name) { | |
| this.name = name; | |
| } | |
| Person.prototype.sayHello = function() { console.log('Hello, my name is ' + this.name + '!'); } | |
| function Student(name, id) { | |
| Person.call(this, name); | |
| this.id = id; | |
| } |
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 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 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
| <div id="weather-wrapper"> | |
| <canvas id="weather-canvas"></canvas> | |
| <canvas id="canvas"></canvas> | |
| </div> |
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
| console.log('Hello World!'); |
OlderNewer