Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {yellow dot:{sourceId:window1,targetId:window2,source:{length:1,0:[object HTMLDivElement],context:[object HTMLDocument],selector:#window1,init:function (a, b) {
- var d, f;
- if (!a) {
- return this;
- }
- if (a.nodeType) {
- this.context = this[0] = a;
- this.length = 1;
- return this;
- }
- if (a === "body" && !b) {
- this.context = s;
- this[0] = s.body;
- this.selector = "body";
- this.length = 1;
- return this;
- }
- if (typeof a === "string") {
- if ((d = Ta.exec(a)) && (d[1] || !b)) {
- if (d[1]) {
- f = b ? b.ownerDocument || b : s;
- if ((a = Xa.exec(a))) {
- if (c.isPlainObject(b)) {
- a = [s.createElement(a[1])];
- c.fn.attr.call(a, b, true);
- } else {
- a = [f.createElement(a[1])];
- }
- } else {
- a = sa([d[1]], [f]);
- a = (a.cacheable ? a.fragment.cloneNode(true) : a.fragment).childNodes;
- }
- return c.merge(this, a);
- } else {
- if ((b = s.getElementById(d[2]))) {
- if (b.id !== d[2]) {
- return T.find(a);
- }
- this.length = 1;
- this[0] = b;
- }
- this.context = s;
- this.selector = a;
- return this;
- }
- } else if (!b && /^\w+$/.test(a)) {
- this.selector = a;
- this.context = s;
- a = s.getElementsByTagName(a);
- return c.merge(this, a);
- } else {
- return !b || b.jquery ? (b || T).find(a) : c(b).find(a);
- }
- } else if (c.isFunction(a)) {
- return T.ready(a);
- }
- if (a.selector !== w) {
- this.selector = a.selector;
- this.context = a.context;
- }
- return c.makeArray(a, this);
- },jquery:1.4.2,size:function () {
- return this.length;
- },toArray:function () {
- return R.call(this, 0);
- },get:function (a) {
- return a == null ? this.toArray() : a < 0 ? this.slice(a)[0] : this[a];
- },pushStack:function (a, b, d) {
- var f = c();
- c.isArray(a) ? ba.apply(f, a) : c.merge(f, a);
- f.prevObject = this;
- f.context = this.context;
- if (b === "find") {
- f.selector = this.selector + (this.selector ? " " : "") + d;
- } else if (b) {
- f.selector = this.selector + ("." + b + "(" + d + ")");
- }
- return f;
- },each:function (a, b) {
- return c.each(this, a, b);
- },ready:function (a) {
- c.bindReady();
- if (c.isReady) {
- a.call(s, c);
- } else {
- Q && Q.push(a);
- }
- return this;
- },eq:function (a) {
- return a === -1 ? this.slice(a) : this.slice(a, + a + 1);
- },first:function () {
- return this.eq(0);
- },last:function () {
- return this.eq(-1);
- },slice:function () {
- return this.pushStack(R.apply(this, arguments), "slice", R.call(arguments).join(","));
- },map:function (a) {
- return this.pushStack(c.map(this, function (b, d) {return a.call(b, d, b);}));
- },end:function () {
- return this.prevObject || c(null);
- },push:function push() {
- [native code]
- },sort:function sort() {
- [native code]
- },splice:function splice() {
- [native code]
- },extend:function () {
- var a = arguments[0] || {}, b = 1, d = arguments.length, f = false, e, j, i, o;
- if (typeof a === "boolean") {
- f = a;
- a = arguments[1] || {};
- b = 2;
- }
- if (typeof a !== "object" && !c.isFunction(a)) {
- a = {};
- }
- if (d === b) {
- a = this;
- --b;
- }
- for (; b < d; b++) {
- if ((e = arguments[b]) != null) {
- for (j in e) {
- i = a[j];
- o = e[j];
- if (a !== o) {
- if (f && o && (c.isPlainObject(o) || c.isArray(o))) {
- i = i && (c.isPlainObject(i) || c.isArray(i)) ? i : c.isArray(o) ? [] : {};
- a[j] = c.extend(f, i, o);
- } else if (o !== w) {
- a[j] = o;
- }
- }
- }
- }
- }
- return a;
- },data:function (a, b) {
- if (typeof a === "undefined" && this.length) {
- return c.data(this[0]);
- } else if (typeof a === "object") {
- return this.each(function () {c.data(this, a);});
- }
- var d = a.split(".");
- d[1] = d[1] ? "." + d[1] : "";
- if (b === w) {
- var f = this.triggerHandler("getData" + d[1] + "!", [d[0]]);
- if (f === w && this.length) {
- f = c.data(this[0], a);
- }
- return f === w && d[1] ? this.data(d[0]) : f;
- } else {
- return this.trigger("setData" + d[1] + "!", [d[0], b]).each(function () {c.data(this, a, b);});
- }
- },removeData:function (a) {
- return this.each(function () {c.removeData(this, a);});
- },queue:function (a, b) {
- if (typeof a !== "string") {
- b = a;
- a = "fx";
- }
- if (b === w) {
- return c.queue(this[0], a);
- }
- return this.each(function () {var d = c.queue(this, a, b);a === "fx" && d[0] !== "inprogress" && c.dequeue(this, a);});
- },dequeue:function (a) {
- return this.each(function () {c.dequeue(this, a);});
- },delay:function (a, b) {
- a = c.fx ? c.fx.speeds[a] || a : a;
- b = b || "fx";
- return this.queue(b, function () {var d = this;setTimeout(function () {c.dequeue(d, b);}, a);});
- },clearQueue:function (a) {
- return this.queue(a || "fx", []);
- },attr:function (a, b) {
- return X(this, a, b, true, c.attr);
- },removeAttr:function (a) {
- return this.each(function () {c.attr(this, a, "");this.nodeType === 1 && this.removeAttribute(a);});
- },addClass:function (c, a, b, d) {
- return a ? f.effects.animateClass.apply(this, [{add: c}, a, b, d]) : this._addClass(c);
- },removeClass:function (c, a, b, d) {
- return a ? f.effects.animateClass.apply(this, [{remove: c}, a, b, d]) : this._removeClass(c);
- },toggleClass:function (c, a, b, d, e) {
- return typeof a == "boolean" || a === j ? b ? f.effects.animateClass.apply(this, [a ? {add: c} : {remove: c}, b, d, e]) : this._toggleClass(c, a) : f.effects.animateClass.apply(this, [{toggle: c}, a, b, d]);
- },hasClass:function (a) {
- a = " " + a + " ";
- for (var b = 0, d = this.length; b < d; b++) {
- if ((" " + this[b].className + " ").replace(Aa, " ").indexOf(a) > -1) {
- return true;
- }
- }
- return false;
- },val:function (a) {
- if (a === w) {
- var b = this[0];
- if (b) {
- if (c.nodeName(b, "option")) {
- return (b.attributes.value || {}).specified ? b.value : b.text;
- }
- if (c.nodeName(b, "select")) {
- var d = b.selectedIndex, f = [], e = b.options;
- b = b.type === "select-one";
- if (d < 0) {
- return null;
- }
- var j = b ? d : 0;
- for (d = b ? d + 1 : e.length; j < d; j++) {
- var i = e[j];
- if (i.selected) {
- a = c(i).val();
- if (b) {
- return a;
- }
- f.push(a);
- }
- }
- return f;
- }
- if (Ba.test(b.type) && !c.support.checkOn) {
- return b.getAttribute("value") === null ? "on" : b.value;
- }
- return (b.value || "").replace(Za, "");
- }
- return w;
- }
- var o = c.isFunction(a);
- return this.each(function (k) {var n = c(this), r = a;if (this.nodeType === 1) {if (o) {r = a.call(this, k, n.val());}if (typeof r === "number") {r += "";}if (c.isArray(r) && Ba.test(this.type)) {this.checked = c.inArray(n.val(), r) >= 0;} else if (c.nodeName(this, "select")) {var u = c.makeArray(r);c("option", this).each(function () {this.selected = c.inArray(c(this).val(), u) >= 0;});if (!u.length) {this.selectedIndex = -1;}} else {this.value = r;}}});
- },bind:function (d, f, e) {
- if (typeof d === "object") {
- for (var j in d) {
- this[b](j, f, d[j], e);
- }
- return this;
- }
- if (c.isFunction(f)) {
- e = f;
- f = w;
- }
- var i = b === "one" ? c.proxy(e, function (k) {c(this).unbind(k, i);return e.apply(this, arguments);}) : e;
- if (d === "unload" && b !== "one") {
- this.one(d, f, e);
- } else {
- j = 0;
- for (var o = this.length; j < o; j++) {
- c.event.add(this[j], d, i, f);
- }
- }
- return this;
- },one:function (d, f, e) {
- if (typeof d === "object") {
- for (var j in d) {
- this[b](j, f, d[j], e);
- }
- return this;
- }
- if (c.isFunction(f)) {
- e = f;
- f = w;
- }
- var i = b === "one" ? c.proxy(e, function (k) {c(this).unbind(k, i);return e.apply(this, arguments);}) : e;
- if (d === "unload" && b !== "one") {
- this.one(d, f, e);
- } else {
- j = 0;
- for (var o = this.length; j < o; j++) {
- c.event.add(this[j], d, i, f);
- }
- }
- return this;
- },unbind:function (a, b) {
- if (typeof a === "object" && !a.preventDefault) {
- for (var d in a) {
- this.unbind(d, a[d]);
- }
- } else {
- d = 0;
- for (var f = this.length; d < f; d++) {
- c.event.remove(this[d], a, b);
- }
- }
- return this;
- },delegate:function (a, b, d, f) {
- return this.live(b, d, f, a);
- },undelegate:function (a, b, d) {
- return arguments.length === 0 ? this.unbind("live") : this.die(b, null, d, a);
- },trigger:function (a, b) {
- return this.each(function () {c.event.trigger(a, b, this);});
- },triggerHandler:function (a, b) {
- if (this[0]) {
- a = c.Event(a);
- a.preventDefault();
- a.stopPropagation();
- c.event.trigger(a, b, t
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement