Webの未来 〜 PNaClとasm.jsでカワルミライ - いま、モバイルWebの先端で起こっていること
Webの未来 〜 PNaClとasm.jsでカワルミライ - いま、モバイルWebの先端で起こっていること
Geofencing API W3C Working Group Note 30 May 2017 This version: https://www.w3.org/TR/2017/NOTE-geofencing-20170530/ Latest published version: https://www.w3.org/TR/geofencing/ Previous version: https://www.w3.org/TR/2015/WD-geofencing-20150604/ Latest editor's draft: https://w3c.github.io/geofencing-api/ Editor: Marijn Kruisselbrink, Google GitHub: Repository Copyright © 2017 W3C® (MIT, ERCIM, Ke
Gaming, Opera GX Opera GX Lands on Linux March 19th, 2026 You asked and we delivered: Opera GX is now on Linux. We know the Linux community. We know you value... Desktop, Opera Air, Opera GX Opera wins four 2026 iF Design Awards for Opera Neon, Opera Air, Opera GX, and... March 5th, 2026 Hey all, Today we’re announcing that Opera has won four 2026 iF Design Awards, doubling last year’s tally. Ope
昨日twitter見てたらこんなのが流れていまして Concatenating arrays in ES6: arr = [...a, ...b, ...c]; // ES6 arr = a.concat(b, c); // ES5 http://t.co/4scyTyhmIo— Axel Rauschmayer (@rauschma) 2015, 6月 3 何だこの書き方〜と気になったので調べてみた。 ... (Spread operator) この三点リーダーのことですが、よく...argsと書いているコードを見かけます。 あまり深く考えずに、argumentsが取得できるのかなと思ってたのですが、...のふるまいを知るとなるほどと思いました。 ...arr で arr(Array型)の要素をイテレートする 困ったときのMDNを見ると、こんなサンプルがあります。 こちらはES5 syn
You can find (just about) anything on Medium — apparently even a page that doesn’t exist. Maybe these stories will take you somewhere new?
var gulp = require('gulp'); var zip = require('gulp-zip'); var del = require('del'); var install = require('gulp-install'); var runSequence = require('run-sequence'); var awsLambda = require("node-aws-lambda"); gulp.task('clean', function() { return del(['./dist', './dist.zip']); }); gulp.task('js', function() { return gulp.src('index.js') .pipe(gulp.dest('dist/')); }); gulp.task('node-mods', func
So umm... not to be annoying but I've been digging through esdiscuss and various blog posts online. I couldn't really find any use case for WeakSet (plenty of threads about naming things :P). Most material about it online fails to distinguish it from what one would use a regular Set for. All the use cases I know for WeakSet for tagging objects aren't really relevant in JS (for example - in shared
先日の Google I/O 2015 にあわせて Polymer 1.0 がリリースされました。めでたい。そこで表題のように、自分で Polymer エレメント(コンポーネント)を作るときの構成の話。 始めるにあたっては PolymerLabs/seed-element をベースにすると便利で、この中には以下のような標準的な構成が示されています。 bower による依存の解決 web-component-tester を使ったクロスブラウザのテスト iron-component-page を使った API ドキュメントとデモ web-component-tester web-component-tester は Polymer エレメントをテストするためのツールで、テストを実行するだけじゃなく Mocha や Async.js など便利なライブラリをテストから利用できるようにしてくれます
ES6 で書かれたコードをユニット テストしたい。できればテスト自体も ES6 で。という希望を実現してくれそうなツールがあったので試してみる。 mocha ユニット テストには mocha を利用する。業務で Node モジュールのテストに利用していて馴染みがあるのと後述する espower-babel が mocha を想定しているのがその理由。 mocha を npm test や npm run から利用するならインストールはローカルだけでよい。package.json 管理下にある npm にはパスが通った状態になる。 $ npm i -D mocha 余談だが以下の記事を読んで gulp などもローカルにインストールして実行を npm で抽象化するほうがよいのでは?と考えるようになった。 npm で依存もタスクも一元化する 記事中にもメリットとして説明されているとおり利用者は
Redux is a JS library for predictable and maintainable global state management. It helps you write applications that behave consistently, run in different environments (client, server, and native), and are easy to test. On top of that, it provides a great developer experience, such as live code editing combined with a time traveling debugger. You can use Redux together with React, or with any othe
There has been no shortage of great Flux implementations, such as Flummox, Alt, or Fluxible. Most of them are focused on making Flux easier to use with the server rendering and reducing the boilerplate. They also often provide convenience utilities like higher-order components and asynchronous action helpers. Still, under the hood, many of them are built on top of the original Flux Dispatcher. Red
ES6 In Depth is a series on new features being added to the JavaScript programming language in the 6th Edition of the ECMAScript standard, ES6 for short. Editor’s note: An earlier version of today’s post, by Firefox Developer Tools engineer Nick Fitzgerald, originally appeared on Nick’s blog as Destructuring Assignment in ES6. What is destructuring assignment? Destructuring assignment allows you t
I have a class function Node() { //implementation } and another class function AttributionalNode() { this.prototype.setAttr = function (attr) { this.atText = attr; }; } AttributionalNode.prototype = new Node(); AttributionalNode.prototype.constructor = AttributionalNode; How to make class Node() so it can't be instantiated? e.g when I try var node = new Node(); So it throws an Exception?
[en] Learning WebGL mostly starts with rendering a triangle, since I’ve tried to compare the way of rendering the triangle.. [ja] WebGL の基本といえば三角形。ということで、勉強がてらに各種 WebGL ライブラリを比較してみました。 [en] The following list is the libraries I used. Although these are arranged in ascending order by size of the library, some of library might not care about the library file was minified or not since please make sur
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く