UNPKG

634 BSource Map (JSON)View Raw
1{"version":3,"file":"resources.js","sourceRoot":"../src/","sources":["resources.ts"],"names":[],"mappings":"AAAA,IAAI,QAAQ,GAAG,EAAE,CAAC;AAElB,0DAA0D;AAC1D,MAAM,UAAU,cAAc,CAAC,GAAW;IACxC,OAAO,QAAQ,GAAG,GAAG,CAAC;AACxB,CAAC;AAED,0DAA0D;AAC1D,MAAM,UAAU,UAAU,CAAC,OAAe;IACxC,QAAQ,GAAG,OAAO,CAAC;AACrB,CAAC","sourcesContent":["let _baseUrl = '';\n\n/** Sets the current base url used for fetching images. */\nexport function getResourceUrl(url: string): string {\n return _baseUrl + url;\n}\n\n/** Gets the current base url used for fetching images. */\nexport function setBaseUrl(baseUrl: string): void {\n _baseUrl = baseUrl;\n}\n"]}
\No newline at end of file