Mac版Google Chrome 63.0.3239.84(64ビット)を使用し、力技で生成した、JavaScriptの識別子(変数名)として有効な文字列にマッチする正規表現
js-identifier-char-regex.txt
を参照
generate.js
を参照
raspivid -? > raspivid-help.txt |
/** | |
* @see https://dom.spec.whatwg.org/#interface-element | |
* @see https://developer.mozilla.org/docs/Web/API/Element/matches#Polyfill | |
* @see https://gist.github.com/jonathantneal/3062955 | |
* @see https://github.com/jonathantneal/closest | |
*/ | |
(function(global){ | |
var Element; | |
var ElementPrototype; |
JavaScriptのinput
イベントのイベントオブジェクトに存在するプロパティの状態検査をするためのコード。
/** | |
* @param {!Node} targetNode Markdownに変換するDOMノード | |
* @param {boolean} childOnly trueの場合、DOMノードの子要素のみを変換する | |
* @return {string} | |
*/ | |
function dom2markdown(targetNode, childOnly=false) { | |
/** | |
* 文字列をMarkdown用にエスケープする | |
* @param {string} text エスケープする文字列 | |
* @param {string} escapeChar エスケープする文字 |