fix(aio): remove unused `getExampleFilename` service

This commit is contained in:
Peter Bacon Darwin 2017-02-21 13:04:30 +00:00 committed by Igor Minar
parent 3f8d5ac478
commit b92f52649b
3 changed files with 1 additions and 11 deletions

View File

@ -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'))

View File

@ -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:

View File

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