summaryrefslogtreecommitdiffstats
path: root/spec/utils.js
Commit message (Collapse)AuthorAgeFilesLines
* Escape = in HTML contentkpdecker2015-09-011-0/+1
| | | | | There was a potential XSS exploit when using unquoted attributes that this should help reduce. Fixes #1083
* Add full support for es6kpdecker2015-04-161-8/+6
| | | | | | | | 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
* Use toHTML vs. instanceof checks for SafeStringkpdecker2014-11-081-0/+6
| | | | | | 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
* Render false literal as “false”kpdecker2014-08-251-1/+1
| | | Fixes #827
* Increase test coverage a touchkpdecker2014-08-141-0/+16
|
* Move away from should asserts to internalkpdecker2013-12-231-21/+23
| | | | This is needed as neither Sinon nor Chai support in-browser testing under IE.
* Further progress towards modularization.Yehuda Katz2013-07-241-0/+1
| | | | | 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.
* Refactor qunit unit testskpdecker2013-06-011-0/+56
Allows for testing node, browser, and precompiled modes in the node tests. Also reorganizes the qunit spec file to provide better organization.