Commit Graph

22 Commits

Author SHA1 Message Date
mike12345567 4f2a623eb0 Initial attempt at transpiling HBS to JS. 2022-07-28 20:20:53 +01:00
mike12345567 948b7e6d00 Fix for issue discovered by test case. 2022-05-04 17:36:30 +01:00
mike12345567 d0f5b67cf1 Fixes for #4736 - I believe the issue was that the dynamic variables were not being saved, removing the need for the user to be aware of this, also making it possible to pass the entire data structure from one call to another if desired. 2022-05-04 15:26:19 +01:00
mike12345567 9298071cc2 Addomg a fix for #4370 - allow queries to contain newlines, they will always be escaped. 2022-02-07 17:56:01 +00:00
Andrew Kingston 9b05990418 Update literal helper to return an empty string rather than the string 'undefined' when the value is undefined 2021-11-15 12:25:30 +00:00
mike12345567 be8979e50a Fixing bug #3195 with zero/falsy values not being passed out of bindings. 2021-11-02 16:55:16 +00:00
Andrew Kingston d6a1e3d248 Correctly handle JS nullish values by removing forced fallback value of HBS helper 2021-10-12 15:40:01 +01:00
Andrew Kingston 4fd31b9eac Add JS helper to string templates 2021-10-11 14:53:55 +01:00
mike12345567 38e6956b19 Fixes for #2634 - make sure string templates library handles conversion of raw JSON objects to stringified correctly. 2021-09-17 17:18:52 +01:00
mike12345567 1df459a5bf Fixing issues discovered with hbs escaping. 2021-06-24 11:37:26 +01:00
Andrew Kingston 556236ebce Add explicit prettier options 2021-05-04 11:32:22 +01:00
Keviin Åberg Kultalahti 4ec2e7d01f lint:fix 2021-05-03 09:31:09 +02:00
Andrew Kingston d1be0a58b4 Fix edge case bug where the literal handlebars helper would not work with objects including a dash character 2021-03-16 18:16:56 +00:00
mike12345567 c8295f0fbd Linting. 2021-01-26 12:43:26 +00:00
mike12345567 bb85078300 Adding a literal helper which can make sure the output of an operation is a literal value. 2021-01-25 18:14:45 +00:00
mike12345567 5fa18c0280 Linting. 2021-01-21 17:30:51 +00:00
mike12345567 00967985e8 Getting ready to merge with some basic functionality but updates required to client/builder/automations to remove the need for space in hbs statement handling. 2021-01-21 15:50:46 +00:00
mike12345567 ec55655900 Handling undefined/null values in context object for string templates, replacing with empty string. 2021-01-21 13:48:23 +00:00
mike12345567 8ecabc91cc Linting. 2021-01-21 11:32:26 +00:00
mike12345567 a9274f7d86 Adding cleaners which will process and find spaces removing them and fixing them with literal specifiers for handlebars props. Also changing the way cleaners work for the system to make it easier to add them. 2021-01-20 18:12:16 +00:00
mike12345567 4c597ed91a Moving everything over to use the string template library, now just need to escape spaces properly and handle HTML escaping. 2021-01-19 18:44:29 +00:00
mike12345567 3c627d6455 Adding the handlebars library, still need to add testcases to this. 2021-01-18 17:40:19 +00:00