2010-02-24から1日間の記事一覧
正規表現にマッチした物をハイライトする。デモ var Class = {}; Class.create = function() { var cl = function() { this.initialize.apply(this, arguments); }; cl.extend = function(method) { for (var i in method) { this.prototype[i] = method[i];…
正規表現にマッチした物をハイライトする。デモ var Class = {}; Class.create = function() { var cl = function() { this.initialize.apply(this, arguments); }; cl.extend = function(method) { for (var i in method) { this.prototype[i] = method[i];…