- How the browser renders the document
- Receives the data (bytes) from the server.
- Parses and converts into tokens (<, TagName, Attribute, AttributeValue, >).
- Turns tokens into nodes.
- Turns nodes into the
DOM
tree.
- Builds
CSSOM
tree from thecss rules
.
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
// Allows to call a Android java function asynchronously | |
// spawn long running computations/io on the Java/Android without blocking the JS/Website running inside the WebView | |
// Eg. const result = await callAndroidAsync('javaFunction', { param1: 'value1', param2: 'value2' }) | |
// Please give a star if you find this useful | |
export async function callAndroidAsync(javaFuncName, params) { | |
const rand = 'asyncJava_' + Math.floor(Math.random() * 1000000) | |
window[rand] = {} | |
// func called from android |
The goal of this cheatsheet is to make it easy to add hand-rolled authentication to any rails app in a series of layers.
First the simplest/core layers, then optional layers depending on which features/functionality you want.
Specs |
|
---|---|
AUTHOR | Ira Herman |
LANGUAGE/STACK | Ruby on Rails Version 4, 5, or 6 |
This is a reference to Matthew Ericson's article Export Illustrator Layers and/or Artboards as PNGs and PDFs in case something happens to happen to the article, and if I just forget where to find the exporter online.
- Drop
MultiExporter.js
into/Applications/Adobe\ Illustrator\ CS6/Presets.localized/en_GB/Scripts
- Restart Illustrator