fix(aio): remove unused `getExampleFilename` service
This commit is contained in:
parent
3f8d5ac478
commit
b92f52649b
|
@ -7,7 +7,6 @@ module.exports =
|
|||
.factory(require('./inline-tag-defs/example'))
|
||||
// .factory(require('./inline-tag-defs/exampleTabs'))
|
||||
.factory(require('./services/parseArgString'))
|
||||
.factory(require('./services/getExampleFilename'))
|
||||
.factory(require('./services/example-map'))
|
||||
.factory(require('./file-readers/example-reader'))
|
||||
.factory(require('./services/region-parser'))
|
||||
|
|
|
@ -14,7 +14,7 @@ var entities = require('entities');
|
|||
* @kind function
|
||||
*/
|
||||
module.exports = function exampleInlineTagDef(
|
||||
parseArgString, exampleMap, getExampleFilename, createDocMessage, log, collectExamples) {
|
||||
parseArgString, exampleMap, createDocMessage, log, collectExamples) {
|
||||
return {
|
||||
name: 'example',
|
||||
description:
|
||||
|
|
|
@ -1,9 +0,0 @@
|
|||
module.exports = function getExampleFilename() {
|
||||
|
||||
function getExampleFilenameImpl(relativePath) {
|
||||
return getExampleFilenameImpl.examplesFolder + relativePath;
|
||||
}
|
||||
|
||||
getExampleFilenameImpl.examplesFolder = '@angular/examples/';
|
||||
return getExampleFilenameImpl;
|
||||
};
|
Loading…
Reference in New Issue