goog.ui.Component#makeId() is a helper function to generate ID for DOM elements. Let's start discussion based on sample component which contains following DOM: <form> <div> <input type="text"> </div> <button type="submit"> </form> To implement createDom() method, we may need to decide ID for each el…

To make your game more interesting, you should pay much attention to keep high performance. This is UX problem, but it is not designer who can solve. Only developer has solution for this problem, so we should learn about when we face probl…

[for English user] This article is a simple introduction about my project for Japanese developer. You do not have to read this, reading this project directly would be enough. RequireJSの応用方法について調べた内容をGitHubでまとめています。…

Interests Nexus 7 has come! Now I got a Nexus 7 (32G Wifi/3g)! I have rooted it and configured some useful applications. I will think how to use it as a terminal for development. I wish browser-base IDE like Cloud9 IDE supports tablet, but…

Outputs RequireJS dependency graph plugin I found that r.js does not execute define function because it uses AST. It means that wrapping define function has no meaning. I think I need to use parentMap to know dependency, but currently I ca…

Interests FireFox OS Currently I do not like Android and iOS, so I hope that this OS (or Ubuntu) become popular and make the market actively. But they would be minor... Outputs This week is long holiday (the head of lunar new year), so I d…

I found that RequireJS has became one of my favorite library, so I need to know it deeply to make it my strong point. This article is log of code reading for 2.0.4. require.js it has many helper like bind(), mixin() and each(). IE6 support…

Do you still use argument to give information for other components? It's the most simple way, but sometimes it's too long to read. We can use other approach like named parameter, chain and deferred. Named parameter function foo(param) { al…

I've posted new game to 9leap. I designed this game for junior high school students to learn Periodic Table. This is the first version of this game, so it's very simple. 新しいゲームを9leapに投稿しました。中学生が周期表を学ぶために使えるゲ…

I've created a website which generates Rakefile for enchant.js programming in my GitHub pages. Currently it supports 3 plugins. Please try to use if you're interested in. 先日作ったRakefileを主要プラグインに対応させつつ汎用化しました。Init…

I found that starting game programming with enchant.js is slow. It has a lot of steps like creating index.html, downloading enchant.js and plugins, downloading images for plugins... it's boring, isn't it? 最近enchant.jsによる開発の「初速」…

I traced how dynjs execute javascript last month. Today I try to trace how dynjs handles function. creating javascript I created a script which has a function returns x2 of argument. function doubleFunction (arg) { return arg * 2; } It cre…

※ブログ記事と言うよりはメモのようなものなので、日本語は省略します。 I'm trying to read dynjs. At 1st, let's try to know how it executes given javascript. READY TO READ build it and create an IDE project There is a wiki page to introduce ho…

I released a sample project for gl.enchant.js. You can run this project to access here. I want to use acceleration sensor with, but iPhone isn't WebGL ready yet, so I don't use it. gl.enchant.jsを使ったサンプルをGitHubに公開しました。加速…

Reading OSS gives you new experience and discovery. It is just like exploring a library you don't know well. I explored the jitescript today, so I note how to explore and my impressions about them. OSSを読むということは新たな経験と発見を見…