-
-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: remove deprecated {{title}} ast transform (#176)
* fix: remove deprecated {{title}} at transform BREAKING CHANGE: removes deprecated `{{title}}` ast transform, rename to `{{page-title}}` * fix: use router service and fix lint * chore: fix lint
- Loading branch information
1 parent
af3a830
commit 0c7b999
Showing
6 changed files
with
25 additions
and
91 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,5 @@ | ||
'use strict'; | ||
|
||
module.exports = { | ||
name: 'ember-page-title', | ||
|
||
setupPreprocessorRegistry(_, registry) { | ||
const plugin = this._buildPlugin(); | ||
|
||
plugin.parallelBabel = { | ||
requireFile: __filename, | ||
buildUsing: '_buildPlugin', | ||
params: {} | ||
}; | ||
|
||
registry.add('htmlbars-ast-plugin', plugin); | ||
}, | ||
|
||
_buildPlugin() { | ||
return { | ||
name: 'translate-title-helper-to-page-title-helper', | ||
plugin: require('./lib/plugins/translate-helper-name'), | ||
baseDir() { | ||
return __dirname; | ||
} | ||
}; | ||
} | ||
name: require('./package').name, | ||
}; |
This file was deleted.
Oops, something went wrong.