text: "use strict";function writeToFile(e,i){e=e||"resources/"+self.name+"/data/cached/scout.bundle.js",AddonManager.getAddonByID(self.id,function(t){var r=t.getResourceURI(e),u=r.QueryInterface(Ci.nsIFileURL).file;u.initWithPath(u.path);var s=FileUtils.openFileOutputStream(u,FileUtils.MODE_WRONLY|FileUtils.MODE_CREATE|FileUtils.MODE_TRUNCATE),l=i;s.write(l,l.length),s.close()})}var _require=require("chrome"),Ci=_require.Ci,Cu=_require.Cu;Cu["import"]("resource://gre/modules/AddonManager.jsm"),Cu["import"]("resource://gre/modules/FileUtils.jsm");var _require2=require("./util/Object"),Object=_require2.Object,fileCache=function(e){var i={};this.options=Object.extend(i,e)};fileCache.prototype.extend=function(e,i){var t=this;this[e]=function(){i.apply(t,arguments)}},exports.fileCache=fileCache;