Commit Graph

90 Commits

Author SHA1 Message Date
Kim Biesbjerg
b2e46c5259 Update tslint config 2016-12-08 15:38:52 +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
3e84dd2f72 Use same structure for tests as src 2016-12-08 14:28:59 +01:00
Kim Biesbjerg
206edc53f7 Add tests for ServiceParser 2016-12-08 14:26:38 +01:00
Kim Biesbjerg
85a1d04c96 Add tests for PipeParser 2016-12-08 14:12:43 +01:00
Kim Biesbjerg
c2aac9c257 Replace quotes with backticks 2016-12-08 14:12:33 +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
e56ce36d9d Include tslint.json 2016-12-07 15:27:48 +01:00
Kim Biesbjerg
0cf47344a1 Bump version 2016-12-07 12:38:58 +01:00
Kim Biesbjerg
e6b03f8582 Fix regex. Add *.js to globPatterns 2016-12-07 12:38:16 +01:00
Kim Biesbjerg
2e38258cd9 I suck at git. 2016-12-07 06:36:47 +01:00
Kim Biesbjerg
5404b033d4 Bump version 2016-12-07 06:31:26 +01:00
Kim Biesbjerg
cf93eeebf8 Trim whitespace 2016-12-07 06:31:05 +01:00
Kim Biesbjerg
16705a0c80 Bump version 2016-12-07 06:22:05 +01:00
Kim Biesbjerg
a45ca2be41 Formatting 2016-12-07 06:19:10 +01:00
Kim Biesbjerg
ef574a2d4f Move _normalizeTemplateAttributes to AbstractTemplateParser 2016-12-07 06:19:10 +01:00
Kim Biesbjerg
07fa9fc5b1 Refactor code. Add DirectiveParser (Thanks ocombe\!) 2016-12-07 06:19:10 +01:00
Kim Biesbjerg
691d89184e Add tslint 2016-12-07 06:19:10 +01:00
Olivier Combe
14972efec2 Adding a directive parser, and refactoring code a bit 2016-12-07 06:19:10 +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
Kim Biesbjerg
085f5fe700 Add tslint 2016-12-07 06:03:23 +01:00
Kim Biesbjerg
022c221963 Merge branch 'directive-parsing' of https://github.com/ocombe/ng2-translate-extract into ocombe-directive-parsing 2016-12-07 02:22:00 +01:00
Kim Biesbjerg
63208952ac Add keywords to package 2016-12-07 02:21:36 +01:00
Olivier Combe
24214729c1 Adding a directive parser, and refactoring code a bit 2016-12-06 18:43:21 +01:00
Kim Biesbjerg
7d8ed8400c Fix typo 2016-12-04 23:48:11 +01:00
Kim Biesbjerg
16ea45235e Fix wrong npm name in readme 2016-12-04 23:22:00 +01:00
Kim Biesbjerg
cd95c7d65b Update package scope and description 2016-12-04 23:18:05 +01:00
Kim Biesbjerg
66b2bde160 Update usage in README 2016-12-04 23:14:00 +01:00
Kim Biesbjerg
6aeb0a69ad Renamed test.ts to example.ts and changed it to fit new interface 2016-12-04 22:57:52 +01:00
Kim Biesbjerg
fbc92c3335 Add extract cli script 2016-12-04 22:54:35 +01:00
Kim Biesbjerg
74fd853097 Move glob patterns to extractor 2016-12-04 22:53:59 +01:00
Kim Biesbjerg
eac24905de Clean up tsconfig 2016-12-04 22:52:10 +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
Kim Biesbjerg
916ba888aa Initial commit 2016-12-03 14:47:54 +01:00