I spend a rather large fraction of my days inside Emacs, writing and editing JavaScript code. Of this time, a significant amount is spent doing things that follow patterns. Pattern which, with a little machine intelligence, could easily be au... 続きを読む
WebアプリケーションにおいてJSONを用いてブラウザ - サーバ間でデータのやり取りを行うことはもはや普通のことですが、このときJSON内に第三者に漏れては困る機密情報が含まれる場合は、必ず X-Content-Type-Options: nosniff レスポンスヘッダをつけるように... 続きを読む
README.md Mapstrace A really simple library for printing human-readable stack-traces for combined, minified and/or compiled javascript files. It assumes that your javascript file(s) have source maps (index.js -> index.js.map etc). For example... 続きを読む
FAQ © 2013, Epic Games, Inc. Epic, Epic Games, the Epic Games logo, Unreal, Unreal Engine, Unreal Technology, the Unreal Technology logo, and the Circle-U logo are trademarks or registered trademarks of Epic Games, Inc., in the United States ... 続きを読む
At the 2013 Game Developers’ Conference, Alon and I from Mozilla and Josh Adams from Epic Games presented a talk called “Fast and Awesome … Shared by jun kamo 続きを読む
Presented at Web Directions Code, Melbourne, Australia May 2nd 2013 NOTE for those who didn't see it live: "humble style guide" is a parody. I'm not hating on "new" and I'm certainly not advocating "always use ===" 続きを読む
GitHubのコメントでは@と入力するとカーソルの下に入力補完が出現する。さらっとやっているが、実はこれが結構難しい。なぜ難しいのかというと、JavaScriptではカーソルが何文字目にいるかは分かるが、 カーソルのXY座標を取得するAPIが存在しない からだ。カー... 続きを読む
function MONAD(modifier) { 'use strict'; var prototype = Object.create(null); prototype.is_monad = true; function unit(value) { var monad = Object.create(prototype); monad.bind = function (func, args) { return func.apply( undefined, [value].c... 続きを読む
Welcome to the CodePen Alpha! We're deep into development on CodePen, a Web app focused on education, inspiration, and collaboration for front end coders. We're calling this Alpha because it's only a small part of what it will become. Once we... 続きを読む
昨日の続き。こういうアプリケーションのテンプレートを管理するのに便利な仕組みはないですかねーと言っていたら @teppeis さんや @omo2009 さんに Grunt や Yeoman はどうかと教えてもらった。Grunt はユースケースとしては JavaScript の連結や圧縮、SCSS/LE... 続きを読む
The popular SunSpider JavaScript benchmark suite was originally released by the WebKit team over five years ago, in December 2007. It was engineered to be a balance of real JavaScript code from the web, and to serve as a blueprint for the sor... 続きを読む
Note You need to log in before you can comment on or make changes to this bug. 続きを読む
2013-03-26 gruntで変更のあったファイルだけ処理する (2) 昨日書いたのはダメだったのでやり直し。 こういうのを想定している public 以下に Jade, Stylus, CoffeeScript のファイルがある それらをコンパイルして静的な html, css, js のファイルにする それ... 続きを読む
2013-04-18 Closure Compilerの型テンプレートが進化してる件 javascript closure altjsガチ勢のみなさんこんにちは。 TypeScriptの次期バージョンでジェネリクスが入るぜ!なんて話題になってたりしますが、Closure Compilerのテンプレートまわりも人知れず進... 続きを読む
I’m writing a book. It’s called JavaScript Testing Recipes. Callbacks are imperative, promises are functional: Node’s biggest missed opportunity The nature of promises is that they remain immune to changing circumstances. Frank Underwood, ... 続きを読む
A Lua parser written in JavaScript, for my bachelor's thesis at Arcada. luaparse A Lua parser written in JavaScript, for my bachelor's thesis at Arcada. Still in development Getting started CommonJS var parser = require('luaparse'); parser.pa... 続きを読む
iammerrick Hi, I'm Merrick and I love code so much I married it. Can provide proof upon request. Inversion of control and more specifically dependency injection have been growing in popularity in the JavaScript landscape thanks to projects li... 続きを読む
なかなか感動した次の記事を翻訳しました。翻訳とか初めてなので、意訳とかがところどころあれかも知れません。 The Ins and Outs of Invalidation | JavaScript Firefox18で追加されたJITコンパイラ「IonMonkey」で、どうやってJITコンパイル時の型についての... 続きを読む