diff --git a/aio/transforms/examples-package/index.js b/aio/transforms/examples-package/index.js index f4bd01a254..26b66fa00d 100644 --- a/aio/transforms/examples-package/index.js +++ b/aio/transforms/examples-package/index.js @@ -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')) diff --git a/aio/transforms/examples-package/inline-tag-defs/example.js b/aio/transforms/examples-package/inline-tag-defs/example.js index 309a0a01fb..3b7b11d8f3 100644 --- a/aio/transforms/examples-package/inline-tag-defs/example.js +++ b/aio/transforms/examples-package/inline-tag-defs/example.js @@ -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: diff --git a/aio/transforms/examples-package/services/getExampleFilename.js b/aio/transforms/examples-package/services/getExampleFilename.js deleted file mode 100644 index 35500d7399..0000000000 --- a/aio/transforms/examples-package/services/getExampleFilename.js +++ /dev/null @@ -1,9 +0,0 @@ -module.exports = function getExampleFilename() { - - function getExampleFilenameImpl(relativePath) { - return getExampleFilenameImpl.examplesFolder + relativePath; - } - - getExampleFilenameImpl.examplesFolder = '@angular/examples/'; - return getExampleFilenameImpl; -};