Slide 75
Slide 75 text
>([\\
erFeatures.Specific
t()),Object.extend(d,Class.Methods),d.superclas
,f=c.length;f>e;e++)d.addMethods(c[e]);return d.prototype.ini
his.superclass&&this.superclass.prototype,d=Object.keys(b);a&&(b.toString!=
.prototype.valueOf&&d.push("valueOf"));for(var e=0,f=d.length;f>e;e++){var g=d[e],h=b[g];
function(){return c[a].apply(this,arguments)}}(g).wrap(i),h.valueOf=function(a){return function()
a.toString.call(a)}}(i)}this.prototype[g]=h}return this}var a=function(){for(var a in{toString:1}
unction(){function r(a){switch(a){case null:return c;case void 0:return d}var b=typeof a;switch(
(a,b){for(var c in b)a[c]=b[c];return a}function t(a){try{return K(a)?"undefined":null===a?"null
unction u(a){return v("",{"":a},[])}function v(b,c,d){var e=c[b];r(e)===h&&"function"==typeof e.t
witch(e){case null:return"null";case!0:return"true";case!1:return"false"}var g=typeof e;switch(g)
ring(e):"null";case"object":for(var i=0,n=d.length;n>i;i++)if(d[i]===e)throw new TypeError("Cycl
0,n=e.length;n>i;i++){var p=v(i,e,d);o.push("undefined"==typeof p?"null":p)}o="["+o.join(",")+"]
ypeof p&&o.push(b.inspect(!0)+":"+p)}o="{"+o.join(",")+"}"}return d.pop(),o}}function w(a){return
a.toHTML?a.toHTML():String.interpret(a)}function z(a){if(r(a)!==h)throw new TypeError;var c=[];f
.call(a,d)&&c.push(d);return c}function A(a){var b=[];for(var c in a)b.push(a[c]);return b}funct
all(b)===m}function F(a){return a instanceof Hash}function G(b){return a.call(b)===i}function H(b
all(b)===n}function K(a){return"undefined"==typeof a}var
ject.prototype.toString,b=Object.prototype.hasOwnProperty,c="Null",d="Undefined",e="Boolean",f="
er]",l="[object String]",m="[object Array]",n="[object Date]",o=window.JSON&&"function"==typeof
.stringify(Prototype.K),p=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf"
f("toString"===a)return!1;return!0}(),E="function"==typeof Array.isArray&&Array.isArray([])&&!Arr
oQueryString:x,toHTML:y,keys:Object.keys||z,values:A,clone:B,isElement:C,isArray:D,isHash:F,isFu
ject.extend(Function.prototype,function(){function b(a,b){for(var c=a.length,d=b.length;d--;)a[c
s.toString().match(/^[\s\(]*function[^(]*\(([^)]*)\)/)[1].replace(/\/\/.*?[\r\n]|\/\*(?:.|[\r\n])
guments.length<2&&Object.isUndefined(arguments[0]))return this;if(!Object.isFunction(this))throw
his,f=a.call(arguments,1),g=function(){var a=c(f,arguments),d=b,d=this instanceof g?this:b;retur
,e=a.call(arguments,1);return function(a){var f=b([a||window.event],e);return d.apply(c,f)}}func
on(){var a=c(d,arguments);return b.apply(this,a)}}function h(b){var c=this,d=a.call(arguments,1);
1],arguments);return this.delay.apply(this,a)}function j(a){var c=this;return function(){var d=b
s._methodized)return this._methodized;var a=this;return this._methodized=function(){var c=b([thi
.prototype.slice,l={argumentNames:d,bindAsEventListener:f,curry:g,delay:h,defer:i,wrap:j,methodiz
tUTCFullYear()+"-"+(this.getUTCMonth()
ddedString(2)+"-"+this.getUTCDate().toPaddedString(2)+"T"+this.getUTCHours().toPaddedString(2)+"
tion c(){return this.toISOString()}a.toISOString||(a.toISOString=b),a.toJSON||(a.toJSON=c)}(Date
String(a).replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1")};var PeriodicalExecuter=Cla
gisterCallback()},registerCallback:function(){this.timer=setInterva
er&&(clearInterval(this.timer),this.timer=null)},onTi
throw this.currentlyExecuting=!1,a}}});
"\\\\"}}),Object.extend(St
sub(a,b){va
módulos
( )