Commit graph

12 commits

Author SHA1 Message Date
Jeremy Shipman
0c936ed6bc Fix testem runner, and further improvements (#4593)
* Switched qunit dependency to npm

* Fixed testem not working

* Switched test.js build to use node-qunit.
As stated in the QUnit docs: The qunit package prior to 2.4.1 is an alternative CLI that is now published as node-qunit.

* Introduced qunit 2.4.1, with an npm script for running node tests

* Switched testem page fixture to use qunit package instead of qunitjs

* Configured testem to run in headless mode, and use new npm node test script for "Node" launcher configuration.
This means that individual tests will show up in testem output via the the `tap` test protocol.

* Made canvas_static 'toDataURL cropping' test asynchronous.

* Configured QUnit testTimeout and enabled 'noglobals' config

* Updated .travis.yml config to do cross-browser/env testing via Testem

* Specify qunit binary directly to fix confict with binary from node-qunit

* Avoid test hanging by aborting the animated cursor

* Firefox test fix, and enabled in Testem config
2017-12-31 09:51:07 +01:00
Andrea Bogazzi
fb13ed0bdf
Insert a method to insert text programmatically (#4551)
* sofar

* test
2017-12-10 21:13:38 +01:00
Andrea Bogazzi
a9eacc4d74
Remove chars from to (#4495)
* trying to fix

* make removeChars

* fixed doc

* added test
2017-11-24 17:26:38 +01:00
Andrea Bogazzi
c03111824c Update deps (#4315)
* try replace tests
* modified tests for new qunit
* lint tests
2017-09-17 11:44:57 +02:00
Andrea Bogazzi
ffd2d3254c Fix block style insertion (#4192)
* fix style nsertion

* fixed tests from older changes

* fixed tests from older changes
2017-08-13 20:49:39 +02:00
Andrea Bogazzi
b112b3405f text rewriting - reorganization (#3676)
*text refactored.
2017-04-22 09:15:38 +02:00
Andrea Bogazzi
085a3c75fc Do not fire selection changed if we are not editing (#3702)
* Do not fire selection changed if we are not editing
* fire selection changed event after enter editing
* fix tests

* fixed trailing space
2017-02-16 16:16:43 -05:00
Andrea Bogazzi
549ea1776b fixes deep cloning of style (#3502)
* fixes deep cloning of style

* better fix and tests
2016-12-06 09:50:51 +01:00
Andrea Bogazzi
07094a4ec5 fixed behaviour of shift click and shift keys (#3274)
removed some glitches, removed duplicate code
2016-09-18 23:22:49 +02:00
Andrea Bogazzi
46624d3f50 Textspacing (#3097)
Introduce charspacing.
2016-08-14 23:19:42 +02:00
Andrea Bogazzi
9e4ed9565f fix cursor left without shift (#3135)
* fix cursor left and added missing test
2016-07-31 23:32:10 -04:00
Andrea Bogazzi
d93f91febc Start to cleant setSelections (#3119) 2016-07-31 12:21:52 -04:00