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
version: '3.7' | |
services: | |
jenkins: | |
image: 15625611d6fb | |
stdin_open: true | |
ports: | |
- target: 8080 | |
published: 8080 | |
protocol: tcp | |
mode: host |
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
// Just for check if page responsable or clog already by clicking page | |
const el = document.getElementsByTagName('html')[0]; | |
el.addEventListener('click', function(){ | |
console.log('html click handler processed'); | |
}) | |
console.log('START RUN THE CODE'); | |
var t0 = performance.now(); |
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
// Just for check if page responsable or clog already by clicking page | |
const el = document.getElementsByTagName('html')[0]; | |
el.addEventListener('click', function(){ | |
console.log('html click handler processed'); | |
}) | |
console.log('START RUN THE CODE'); | |
var t0 = performance.now(); |
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
constructor(location) { | |
// Priviate Member | |
var privateMember = { total: 100, customerList: [] } // private stock in every Macshop | |
privateData.set(this, privateMember) | |
// Public Member | |
this.location = location | |
} |
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 privateData = new WeakMap() | |
var _ = function(instance) { return privateData.get(instance) } |
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 MacbookShopFactory = (() => { | |
var privateData = new WeakMap() | |
var _ = function(instance) { return privateData.get(instance) } | |
class MacbookClass { | |
constructor(shop, owner) { | |
this.owner = owner | |
this.shop = shop | |
this.model = '2018 late' | |
this.brand = 'Apple Inc.' |