Jakob Linskeseder
e534a911f3
Upgrade prettier to v2
...
Prettier v2 has the following breaking changes:
* enforces spaces between `function` and params
* enforces trailing commas by default
2022-10-29 21:49:15 +02:00
Jakob Linskeseder
fe58756da2
Fix typos
...
This was found by running an IntellijIDE
code inspection for proofreading.
2021-12-22 20:36:26 +01:00
John Boehr
77825f8d35
refator: In spec tests, use expectTemplate over equals and shouldThrow ( #1683 )
2020-05-05 00:04:33 +02:00
Nils Knappmeier
e97685e989
style: reformat all files using prettier
2019-12-03 22:37:15 +01:00
kpdecker
83b8e846a3
Escape = in HTML content
...
There was a potential XSS exploit when using unquoted attributes that this should help reduce.
Fixes #1083
2015-09-01 01:44:35 -05:00
kpdecker
e3d3eda2e1
Add full support for es6
...
Converts the tool chain to use babel, eslint, and webpack vs. the previous proprietary solutions.
Additionally begins enforcing additional linting concerns as well as updates the code to reflect these rules.
Fixes #855
Fixes #993
2015-04-16 16:43:01 -05:00
kpdecker
01a22e61df
Use toHTML vs. instanceof checks for SafeString
...
Allows for us to play nicely in environments such as Node that could have multiple versions of the library loaded. Also allows for implementors to provide their own behavior, provided they know what they are doing.
Fixes #886
2014-11-08 17:46:53 -06:00
kpdecker
4f01f650dc
Render false literal as “false”
...
Fixes #827
2014-08-25 23:35:43 -05:00
kpdecker
cb22ee5681
Increase test coverage a touch
2014-08-14 12:25:35 -05:00
kpdecker
4942324250
Move away from should asserts to internal
...
This is needed as neither Sinon nor Chai support in-browser testing under IE.
2013-12-23 02:19:09 -06:00
Yehuda Katz
f5c8484ea0
Further progress towards modularization.
...
At this point, I have only 2 fails in the Node build, but I'm doing a
bunch of manual stuff locally and still have a bunch of hacks.
2013-07-24 05:03:27 +00:00
kpdecker
adda0569e0
Refactor qunit unit tests
...
Allows for testing node, browser, and precompiled modes in the node
tests. Also reorganizes the qunit spec file to provide better
organization.
2013-06-01 23:45:43 -05:00