slowjet

is a part of a carburetor

Entries from 2012-02-28 to 1 day

jQuery UI widgetみたいにAPIを公開して拡張する

argumentsとか書いてるけど、ひとつしかないとき function MyMethod(conf, arguments) { // return new MyMethod } // ... MyMethod.prototype._callAPI = function(api, arguments) { var self = this; if ( typeof self[api] !== 'function' ) { throw api…