doc_view - /* :asset_packager_compatibility,...

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

View Full Document Right Arrow Icon

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

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

Unformatted text preview: /* :asset_packager_compatibility, 'config/asset_packages.yml' @ 1292015013 */ /* public/javascripts/prototype_uncompressed.js @ 1292015013 */ var Prototype={Version:'1.6.1',Browser:(function(){var ua=navigator.userAgent;var isOpera=Object.prototype.toString.call(window.opera)=='[object Opera]';return{IE:!! window.attachEvent&&!isOpera,Opera:isOpera,WebKit:ua.indexOf('AppleWebKit/')>- 1,Gecko:ua.indexOf('Gecko')>-1&&ua.indexOf('KHTML')===- 1,MobileSafari:/Apple.*Mobile.*Safari/.test(ua)}})(),BrowserFeatures:{XPath:!! document.evaluate,SelectorsAPI:!!document.querySelector,ElementExtensions: (function(){var constructor=window.Element||window.HTMLElement;return!! (constructor&&constructor.prototype);})(),SpecificElementExtensions:(function() {if(typeof window.HTMLDivElement!=='undefined') return true;var div=document.createElement('div');var form=document.createElement('form');var isSupported=false;if(div['__proto__']&&(div['__proto__']!==form['__proto__'])) {isSupported=true;} div=form=null;return isSupported;})()},ScriptFragment:'<script[^>]*>([\\S\\s]*?)<\/ script>',JSONFilter:/^\/\*-secure-([\s\S]*)\*\/\s*$/,emptyFunction:function() {},K:function(x){return x}};if(Prototype.Browser.MobileSafari) Prototype.BrowserFeatures.SpecificElementExtensions=false;var Abstract={};var Try={these:function(){var returnValue;for(var i=0,length=arguments.length;i<length;i++){var lambda=arguments[i];try{returnValue=lambda();break;}catch(e){}} return returnValue;}};var Class=(function(){function subclass(){};function create() {var parent=null,properties=$A(arguments);if(Object.isFunction(properties[0])) parent=properties.shift();function klass(){this.initialize.apply(this,arguments);} Object.extend(klass,Class.Methods);klass.superclass=parent;klass.subclasses=;if(p arent){subclass.prototype=parent.prototype;klass.prototype=new subclass;parent.subclasses.push(klass);} for(var i=0;i<properties.length;i++) klass.addMethods(properties[i]);if(!klass.prototype.initialize) klass.prototype.initialize=Prototype.emptyFunction;klass.prototype.constructor=klas s;return klass;} function addMethods(source){var ancestor=this.superclass&&this.superclass.prototype;var properties=Object.keys(source);if(!Object.keys({toString:true}).length) {if(source.toString!=Object.prototype.toString) properties.push("toString");if(source.valueOf!=Object.prototype.valueOf) properties.push("valueOf");} for(var i=0,length=properties.length;i<length;i++){var property=properties[i],value=source[property];if(ancestor&&Object.isFunction(value) &&value.argumentNames().first()=="$super"){var method=value;value=(function(m) {return function(){return ancestor[m].apply(this,arguments);};}) (property).wrap(method);value.valueOf=method.valueOf.bind(method);value.toString=me thod.toString.bind(method);} this.prototype[property]=value;} return this;} return{create:create,Methods:{addMethods:addMethods}};})();(function(){var _toString=Object.prototype.toString;function extend(destination,source){for(var property in source)...
View Full 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 / 169

doc_view - /* :asset_packager_compatibility,...

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