o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1349880622.524638: @value"ì{I" class:EFI"ProcessedAsset;FI"logical_path;F"pdfobject.jsI" pathname;F"W/Users/tcmacdonald/Sites/ample/ample_assets/vendor/assets/javascripts/pdfobject.jsI"content_type;FI"application/javascript;FI" mtime;FI"2012-05-16T12:26:59-04:00;FI" length;FiåI" digest;F"%355dc2bb5b9bdd5725123ab90293b498I" source;FI"å/* PDFObject v1.2.20111123 https://github.com/pipwerks/PDFObject Copyright (c) Philip Hutchison MIT-style license: http://pipwerks.mit-license.org/ */ /*jslint browser: true, sloppy: true, white: true, plusplus: true */ /*global ActiveXObject, window */ var PDFObject = function (obj){ if(!obj || !obj.url){ return false; } var pdfobjectversion = "1.2", //Set reasonable defaults id = obj.id || false, width = obj.width || "100%", height = obj.height || "100%", pdfOpenParams = obj.pdfOpenParams, url, pluginTypeFound, //declare functions createAXO, hasReaderActiveX, hasReader, hasGeneric, pluginFound, setCssForFullWindowPdf, buildQueryString, get, embed; /* ---------------------------------------------------- Supporting functions ---------------------------------------------------- */ createAXO = function (type){ var ax; try { ax = new ActiveXObject(type); } catch (e) { //ensure ax remains null ax = null; } return ax; }; //Tests specifically for Adobe Reader (aka Acrobat) in Internet Explorer hasReaderActiveX = function (){ var axObj = null; if (window.ActiveXObject) { axObj = createAXO("AcroPDF.PDF"); //If "AcroPDF.PDF" didn't work, try "PDF.PdfCtrl" if(!axObj){ axObj = createAXO("PDF.PdfCtrl"); } //If either "AcroPDF.PDF" or "PDF.PdfCtrl" are found, return true if (axObj !== null) { return true; } } //If you got to this point, there's no ActiveXObject for PDFs return false; }; //Tests specifically for Adobe Reader (aka Adobe Acrobat) in non-IE browsers hasReader = function (){ var i, n = navigator.plugins, count = n.length, regx = /Adobe Reader|Adobe PDF|Acrobat/gi; for(i=0; i'; return targetNode.getElementsByTagName("object")[0]; }; //The hash (#) prevents odd behavior in Windows //Append optional Adobe params for opening document url = encodeURI(obj.url) + "#" + buildQueryString(pdfOpenParams); pluginTypeFound = pluginFound(); this.get = function(prop){ return get(prop); }; this.embed = function(id){ return embed(id); }; this.pdfobjectversion = pdfobjectversion; return this; }; ;FI"dependency_digest;F"%a0b1b6d9b47d283f5b0661c94de7bbe5I"required_paths;F["W/Users/tcmacdonald/Sites/ample/ample_assets/vendor/assets/javascripts/pdfobject.jsI"dependency_paths;F[{I" path;F"W/Users/tcmacdonald/Sites/ample/ample_assets/vendor/assets/javascripts/pdfobject.jsI" mtime;FI"2012-05-16T12:26:59-04:00;FI" digest;F"%77cc2477880c20c0b5fb0539bf37eb03I" _version;F"%979b712d447c42bc88f489bb52e370d7