Lines Matching refs:prototype

14     var isOpera = Object.prototype.toString.call(window.opera) == '[object Opera]';
29 return !!(constructor && constructor.prototype);
97 subclass.prototype = parent.prototype;
98 klass.prototype = new subclass;
105 if (!klass.prototype.initialize)
106 klass.prototype.initialize = Prototype.emptyFunction;
108 klass.prototype.constructor = klass;
113 var ancestor = this.superclass && this.superclass.prototype;
117 if (source.toString != Object.prototype.toString)
119 if (source.valueOf != Object.prototype.valueOf)
135 this.prototype[property] = value;
150 var _toString = Object.prototype.toString;
265 Object.extend(Function.prototype, (function() {
266 var slice = Array.prototype.slice;
355 Date.prototype.toJSON = function() {
365 RegExp.prototype.match = RegExp.prototype.test;
420 Object.extend(String.prototype, (function() {
634 strip: String.prototype.trim ? String.prototype.trim : strip,
964 var arrayProto = Array.prototype,
1133 if (this._object[key] !== Object.prototype[key])
1225 Object.extend(Number.prototype, (function() {
1579 getStatus: Ajax.Request.prototype.getStatus,
1587 getHeader: Ajax.Request.prototype.getHeader,
1784 if (element) global.Element.prototype = element.prototype;
2060 var args = Array.prototype.slice.call(arguments, 1);
2065 var args = Array.prototype.slice.call(arguments, 1);
2874 window.HTMLElement.prototype = div['__proto__'];
2886 var proto = window.Element.prototype;
3024 var proto = element['__proto__'] || element.constructor.prototype;
3029 var elementPrototype = window.HTMLElement ? HTMLElement.prototype :
3030 Element.prototype;
3041 copy(T[tag], klass.prototype);
4427 Event.prototype = window.Event.prototype || document.createEvent('HTMLEvents').__proto__;
4428 Object.extend(Event.prototype, methods);
4844 Element.ClassNames.prototype = {
4874 Object.extend(Element.ClassNames.prototype, Enumerable);