angular-docs-cn/aio/transforms/examples-package/services/getExampleFilename.js

10 lines
270 B
JavaScript

module.exports = function getExampleFilename() {
function getExampleFilenameImpl(relativePath) {
return getExampleFilenameImpl.examplesFolder + relativePath;
}
getExampleFilenameImpl.examplesFolder = '@angular/examples/';
return getExampleFilenameImpl;
};