Prototype.js 風㮠Class ãæ¸ãããããã©ã¤ãã©ãªå ¨ä½ã¯èªã¿è¾¼ã¿ãããªããã¨ããã¨ãã®ããã«ãå¿ è¦æä½éã®ã³ã¼ããæãåºãã¦ã¿ããè¦jQueryã var Class = (function() { function subclass() {} return { create: function(parent) { function klass() { this.initialize.apply(this, arguments); } var index = 0; if(jQuery.isFunction(parent)) { index = 1; subclass.prototype = parent.prototype; klass.prototype = new subclass; } for(; index < arguments.length; ++index)
{{#tags}}- {{label}}
{{/tags}}