6y_GPMvrfZt - /*1291742861,176833978*/ if...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
if (window.CavalryLogger) { CavalryLogger.start_js(["js\/5cdsnjba0t0ck0oc.pkg.js"]); } function object(b){var a=new Function();a.prototype=b;return new a();}function is_scalar(a){return /string|number|boolean/.test(typeof a);}function keys(c) {if(hasArrayNature(c))throw new TypeError('keys() was passed an array.');var b=[];for(var a in c)b.push(a);return b;}function values(b) {if(hasArrayNature(b))throw new TypeError('values() was passed an array; use $A().');var c=[];for(var a in b)c.push(b[a]);return c;}function count(c) {if(hasArrayNature(c))throw new TypeError('count() was passed an array.');var a=0;for(var b in c)a++;return a;}function are_equal(a,b){return JSON.encode(a)==JSON.encode(b);}function merge(){var b={};for(var a=0;a<arguments.length;a++)copy_properties(b,arguments[a]);return b;}function head(b){for(var a in b)return b[a];return null;}Object.from=function(c,e){if(! hasArrayNature(c))throw new TypeError('Must pass an array of keys.');var d={};var b=hasArrayNature(e);if(typeof e=='undefined')e=true;for(var a=c.length;a--;)d[c[a]]=b?e[a]:e;return d;};function coalesce(){for(var a=0;a<arguments.length;++a)if(arguments[a]!=null)return arguments[a];return null;} /** * plupload.js * * Copyright 2009, Moxiecode Systems AB * Released under GPL License. * * License: http://www.plupload.com/license * Contributing: http://www.plupload.com/contributing * * Source available at: * http://www.facebook.com/third_party/plupload/plupload.zip * * @provides plupload * @option preserve-header */!function(){function a(b){return function(){if(this===window)throw new TypeError();return b.apply(this,arguments);};}copy_properties(Array.prototype, {map:function(c,b){if(this===window||typeof c!='function')throw new TypeError();var d;var e=this.length;var f=new Array(e);for(d=0;d<e;++d)if(d in this)f[d]=c.call(b,this[d],d,this);return f;},forEach:function(c,b) {this.map(c,b);return this;},filter:function(c,b){c=c||function(h){return h;};if(this===window||typeof c!='function')throw new TypeError();var d,g,e=this.length,f=[];for(d=0;d<e;++d)if(d in this) {g=this[d];if(c.call(b,g,d,this))f.push(g);}return f;},every:function(d,c){var b=this.filter(function(){return 1;});return (this.filter(d,c).length==b.length);},some:function(c,b){return (this.filter(c,b).length>0);},reduce:null,reduceRight:null,sort:a(Array.prototype.s ort),reverse:a(Array.prototype.reverse),concat:a(Array.prototype.concat),slice:a(Ar ray.prototype.slice),indexOf:a(Array.prototype.indexOf||function(d,b){var c=this.length;b|=0;if(b<0)b+=c;for(;b<c;b++)if(b in this&&this[b]===d)return b;return -1;}),contains:function(b){return this.indexOf(b)!=-1;},remove:function(c) {var b=this.indexOf(c);if(b!=- 1)this.splice(b,1);}});Array.prototype.each=Array.prototype.forEach;Array.prototype .clone=Array.prototype.slice;}(); /** * Modified version of http://www.java.com/js/deployJava.txt for * reliably testing JRE version. Unneeded code commented out. * * version 20101108
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 12/13/2010 for the course IT 6544 taught by Professor Shahzad during the Spring '10 term at Al-Quds University.

Page1 / 25

6y_GPMvrfZt - /*1291742861,176833978*/ if...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online