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 module = { | |
exports: {} | |
}; | |
const require = makeRequireFunction(); | |
const filename = "..."; | |
const dirname = "..."; | |
(function (exports, require, module, __filename, __dirname) { | |
/* YOUR CODE */ | |
})(module.exports, require, module, filename, dirname); |
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
(function(modules) { | |
// This is the module runtime. | |
// It's only included once per compilation. | |
// Other chunks share the same runtime. | |
var installedModules = {}; | |
// The require function | |
function __webpack_require__(moduleId) { | |
... | |
} | |
... |
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
customElements.define("my-bubble", class extends HTMLElement { | |
constructor() { | |
super(); | |
const template = document.getElementById("my-element-template").content; | |
const shadowRoot = this.attachShadow({mode: "open"}); | |
shadowRoot.appendChild(template.cloneNode(true)); | |
} | |
}); |
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
customElements.define("my-bubble", class extends HTMLElement { | |
constructor() { | |
super(); | |
const template = document.getElementById("my-element-template").content; | |
const color = this.getAttribute("background") || "white"; | |
template.querySelector(".bubble").style.background = color; | |
} | |
}); |
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
... | |
<template id="my-element-template"> | |
<style> | |
.bubble { | |
border: .4rem solid black; | |
border-radius: 2rem; | |
margin: 1rem; | |
padding: 1rem .5rem; | |
cursor: pointer; | |
font-size: 20px; |
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
[ | |
{ | |
"name": "jQuery", | |
"count": 394157, | |
"type": "dom-library", | |
"onGitHub": true, | |
"popularId": "jquery/jquery" | |
}, | |
{ | |
"name": "jQuery UI", |
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
[ | |
{ | |
"name": "web-framework", | |
"description": "Transforms a given application state into an HTML or DOM representation. Additionally, it is also often concerned with request routing, data fetching and persistence, change propagation, input validation, user session management and build optimizations." | |
}, | |
{ | |
"name": "testing-framework", | |
"description": "Provides a CLI and an API to run software tests and report results." | |
}, | |
{ |
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
/******/ (function(modules) { // webpackBootstrap | |
/******/ // The module cache | |
/******/ var installedModules = {}; | |
/******/ // The require function | |
/******/ function __webpack_require__(moduleId) { | |
/******/ // Check if module is in cache | |
/******/ if(installedModules[moduleId]) | |
/******/ return installedModules[moduleId].exports; |
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
[ | |
"2015-05-30T00:12:13Z", | |
"2015-05-30T02:40:26Z", | |
"2015-05-30T08:24:06Z", | |
"2015-05-30T10:05:08Z", | |
"2015-05-30T10:33:28Z", | |
"2015-05-30T15:12:24Z", | |
"2015-05-30T17:04:57Z", | |
"2015-05-30T20:20:12Z", | |
"2015-05-30T21:58:50Z", |
This file has been truncated, but you can view the full file.
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
[ | |
"2013-05-29T20:59:49Z", | |
"2013-05-29T21:18:36Z", | |
"2013-05-29T21:19:34Z", | |
"2013-05-29T21:20:23Z", | |
"2013-05-29T21:20:24Z", | |
"2013-05-29T21:20:24Z", | |
"2013-05-29T21:20:33Z", | |
"2013-05-29T21:20:55Z", | |
"2013-05-29T21:22:29Z", |