Kim Biesbjerg
3bf2aaca4e
Trim leading/trailing whitespace. Closes #175
2020-03-31 12:24:57 +02:00
Kim Biesbjerg
ecf629118a
Run prettier on code
2020-03-25 11:47:44 +01:00
Kim Biesbjerg
b07d929484
Add more tests
2020-03-22 11:13:16 +01:00
Kim Biesbjerg
6ed962fa6e
Remove line breaks and tabs from extracted keys in templates. Closes #144 , #167
2020-03-22 10:23:45 +01:00
Kim Biesbjerg
306622b9a0
(chore) run prettier
2019-09-18 14:16:47 +02:00
Kim Biesbjerg
9a8abb3248
refactor(directive parser) remove cheerio in favor of angular's own compiler
2019-06-18 15:54:58 +02:00
Kim Biesbjerg
e0178b5a97
(bugfix) fix unmatched selector error when template didnt contain any html
2019-06-13 12:32:18 +02:00
Kim Biesbjerg
3e43fde1cc
(test) fix tests
2019-06-13 12:17:04 +02:00
Kim Biesbjerg
8493015e15
(test) closes #68
2019-06-13 12:03:33 +02:00
Kim Biesbjerg
102286a209
- (feat) add concept of post processors
...
- (feat) add 'key as default value' post processor (closes #109 )
- (chore) move clean functionality to a post processor
- (chore) move sort functionality to a post processor
- (refactor) get rid of leading underscore on protected properties/methods
2019-06-11 23:06:47 +02:00
Dominik Herbst
4892ea5146
Configured cheerio to work with non-HTML standard elements to fix issues with custom component tags. ( #79 )
2017-11-07 15:13:01 +01:00
Kim Biesbjerg
e0f909fb4f
Fix tests
2016-12-23 05:23:33 +01:00
Kim Biesbjerg
43df1f0fb8
Fix bug in DirectiveParser: should not extract translate pipe in html tag
2016-12-10 04:14:13 +01:00
Kim Biesbjerg
73801a9cc5
Add StringCollection to make it easier to work with strings
2016-12-09 05:18:04 +01:00
Kim Biesbjerg
befd841457
Remove newlines
2016-12-08 16:25:36 +01:00
Kim Biesbjerg
e5f937d7f6
Support alternate ng2-translate attribute in DirectiveParser. Add more tests
2016-12-08 16:09:06 +01:00
Kim Biesbjerg
867905586a
Add DirectiveParser test for extracting strings with ng2-translate selector
2016-12-08 15:43:38 +01:00
Kim Biesbjerg
3e84dd2f72
Use same structure for tests as src
2016-12-08 14:28:59 +01:00