- Install
osxfuse:
brew cask install osxfuse-
Reboot your Mac.
-
Install
ntfs-3g:
| const borrowedState = require('flatstate').setState; | |
| class HyperElement extends HTMLElement { | |
| constructor(...args) { | |
| super(...args); | |
| this.html = hyperHTML.bind(this); | |
| } | |
| render() {} |
osxfuse:brew cask install osxfuseReboot your Mac.
Install ntfs-3g:
allprojects {
...
afterEvaluate { project ->
def propsFile = rootProject.file('keystore.properties')
def configName = 'release'
if (propsFile.exists() && project.hasProperty("android") && project.android.signingConfigs.hasProperty(configName)) {
| #!/usr/bin/env node | |
| console.log('yay gist') |
| // Players | |
| class ClickCounter { | |
| constructor() { this.clicks = 0; } | |
| onclick(e) { this.clicks += (e.type === 'click') ? 1 : -1; } | |
| } | |
| class Handler extends ClickCounter { | |
| constructor(currentTarget) { | |
| super(); | |
| currentTarget.addEventListener('click', this); |
I am moving this gist to a github repo so more people can contribute to it. Also, it makes it easier for me to version control.
Please go to - https://github.com/praveenpuglia/shadow-dom-in-depth for latest version of this document. Also, if you find the document useful, please shower your love, go ⭐️ it. :)
Heads Up! It's all about the V1 Spec.
In a nutshell, Shadow DOM enables local scoping for HTML & CSS.
| import QtQuick 2.0 | |
| /** | |
| * adapted from StackOverflow: | |
| * http://stackoverflow.com/questions/26879266/make-toast-in-android-by-qml | |
| */ | |
| /** | |
| * @brief An Android-like timed message text in a box that self-destroys when finished if desired | |
| */ |
| // Usage: | |
| // | |
| // function loader() { | |
| // return new Promise((resolve) => { | |
| // if (process.env.LAZY_LOAD) { | |
| // require.ensure([], (require) => { | |
| // resolve(require('./SomeComponent').default); | |
| // }); | |
| // } | |
| // }); |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <script src="https://unpkg.com/mobx@2.6.0/lib/mobx.umd.js"></script> | |
| <script> | |
| var MobxDemo = Object.create(HTMLElement.prototype); | |
| MobxDemo.attachedCallback = function() { | |
| var state = mobx.observable({ | |
| counter : parseInt(this.getAttribute("counter")) | |
| }) |