書いてる人:myakura (Masataka Yakura)
Chrome Dev Summit 2020の前後でGoogleのひとが公開した記事を、やる気の続く限り読んで書いたメモ。
主にみているのは以下のサイト。
書いてる人:myakura (Masataka Yakura)
Chrome Dev Summit 2020の前後でGoogleのひとが公開した記事を、やる気の続く限り読んで書いたメモ。
主にみているのは以下のサイト。
All of the below properties or methods, when requested/called in JavaScript, will trigger the browser to synchronously calculate the style and layout*. This is also called reflow or layout thrashing, and is common performance bottleneck.
Generally, all APIs that synchronously provide layout metrics will trigger forced reflow / layout. Read on for additional cases and details.
elem.offsetLeft, elem.offsetTop, elem.offsetWidth, elem.offsetHeight, elem.offsetParentChrome Tech Talk Night #8 - connpass
Chrome Tech Talk Night #8 を開催します - Google Developer Japan Blog
こちらのイベントに来ているので、メモ取っていく。英語の講演だから間違ってるかもしれないっす。
| String.isNyaN = function (val) { | |
| if (typeof val !== 'string') return false; | |
| var nyan = ['cat', 'kitty', 'kitten', 'doraemon', '🐱', '😿', '😺', '😸', '😼', '😹', '😻', '😽', '😾', '🙀']; | |
| return nyan.indexOf(val.toLowerCase()) !== -1; | |
| } |
| ./node_modules/watchify/bin/cmd.js -v -t babelify src -o dist |
| macro => { | |
| rule infix { ( $arg:ident (,) ... ) | { $body ... $last:expr } } => { | |
| (function x( $arg (,) ... ) { | |
| $( $body) ... | |
| return $last | |
| }).bind(this); | |
| } | |
| rule infix { ( $arg:ident (,) ... ) | $last:expr } => { | |
| (function x( $arg (,) ... ) { | |
| return $last |
By Saad Mousliki
御存知の通り、JavaScriptは数あるプログラミング言語のうちのひとつであり、モバイルのハイブリッドアプリ(PhoneGapやAppceleratorといった)や、サーバーサイド(NodeJSやWakanda)等の様々な所で実装されているWebの言語です。 また、Webブラウザにalertを出すところから、ロボットを動かす(nodebotやnodruinoを使って)ところまで様々なシーンで使われる言語となりました。 JavaScriptをマスターし、パフォーマンスの良いコードを生み出す開発者は市場で最も求められています。
| (function(global) { | |
| // Compatibility | |
| navigator.getUserMedia = navigator.getUserMedia || navigator.webkitGetUserMedia; | |
| var peerClient; | |
| var currentPeerConnection; | |
| var localMediaStream; | |
| $(function() { |