Commit Graph

15 Commits

Author SHA1 Message Date
Kim Biesbjerg
e5f937d7f6 Support alternate ng2-translate attribute in DirectiveParser. Add more tests 2016-12-08 16:09:06 +01:00
Kim Biesbjerg
3601b5985b Make regexes more readable by not creating from string 2016-12-08 15:27:44 +01:00
Kim Biesbjerg
fdf26d6af5 Add support for extracting array of strings in ServiceParser + tests 2016-12-08 15:24:23 +01:00
Kim Biesbjerg
23d2a5eb9d Add tests for AbstractTemplateParser and DirectiveParser 2016-12-08 13:53:13 +01:00
Kim Biesbjerg
2c3b5e580d Extract direct text nodes only when parsing directive 2016-12-07 16:30:24 +01:00
Kim Biesbjerg
e26d522604 Grab html instead of text when parsing directive 2016-12-07 16:03:46 +01:00
Kim Biesbjerg
e6b03f8582 Fix regex. Add *.js to globPatterns 2016-12-07 12:38:16 +01:00
Kim Biesbjerg
cf93eeebf8 Trim whitespace 2016-12-07 06:31:05 +01:00
Kim Biesbjerg
7ca714f029 Formatting 2016-12-07 06:16:18 +01:00
Kim Biesbjerg
f4b5dbed24 Move _normalizeTemplateAttributes to AbstractTemplateParser 2016-12-07 06:14:50 +01:00
Kim Biesbjerg
1ee298f737 Refactor code. Add DirectiveParser (Thanks ocombe\!) 2016-12-07 06:10:48 +01:00
Olivier Combe
24214729c1 Adding a directive parser, and refactoring code a bit 2016-12-06 18:43:21 +01:00
Kim Biesbjerg
74fd853097 Move glob patterns to extractor 2016-12-04 22:53:59 +01:00
Kim Biesbjerg
25760bab5b Fix template regex to match translate pipe usage in input properties 2016-12-03 15:20:56 +01:00
Kim Biesbjerg
b5e1125efb Initial commit 2016-12-03 15:09:39 +01:00