• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

divio / django-cms / 11180
77%

Build:
DEFAULT BRANCH: develop
Ran 03 Nov 2020 08:12AM UTC
Jobs 1
Files 25
Run time 4s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
11180

push

travis-ci

GitHub
Fix plugin js loading (#6699)

* Added code to load and execute js scripts, with a special class 

The special class is 'cms-execute-js-to-render', and the scripts will only be executed if 
it wasn't present before. If it also has the class 'cms-execute-js-to-render', the 'load' and 'DOMContentLoaded' will be triggered.

* Refactored code to add scripts properly in a method

* Refactored code to only trigger the load events once all is ready

* Added tests for the 4 combinations of the 2 script classes

Since loading behavior of scripts in plugins can be controlled by using this 2 classes

* Added documentation for the new feature

* Added myself to AUTHROS and fixed a typo in docs

* Refactored code to have a more granular control which events get fired

Still need to adapt the docs to this changes

* Adapted documentation to the changes in usable classes

* fixed small spacing bug in the docs

* fixed typos and applied style recommendations

* removed artifact variable 'trigger_window_load_event' and bundled changes

* replacing 'getMultiScript' with 'Promise.all'

as recommended in https://github.com/divio/django-cms/pull/6699#discussion_r354881303

* Rebased on develop branch and rebundled toolbar

35 of 35 new or added lines in 1 file covered. (100.0%)

2553 of 3283 relevant lines covered (77.76%)

33.58 hits per line

Jobs
ID Job ID Ran Files Coverage
5 11180.5 (GzxbqfktWQkf6QQvz0OMk4zHbGI8QWcThTLUzEtktheInxwivOHnoJ1kQu2jVVrk0ZVPbOedE+Cn3QMfi6Wj+y6CREwIhfyzqZV+BIgYu/MpW7vT1BQGiN2suHjFOt/TJ90G41DlBRDc7FxGLqL1Mq8hsEdE0W+/Yszo3aMbp2w=[secure] RotktnZ0AqeTDYfh2O472pPiolQJ2ZDRPUKGDajYWgnG2n94K7hBd4pnA1H/cd42sOyReC3lmmweWNSbG0DLD9+X+s0fwaqKcWGnYsLAcjOWaNXPMwvvgaivadT34JmS9Wv29zNudPL2A6zNw0CB+YVxUZIA4Cm9984AxbYJGSk=[secure] CbPfysSncBB2Ue+VOtLDa8xJvwKl73nJO647zt/9UvZ/3PilnZN9aZv2jHxGvCiFXcez+2AddKptMCcx/5EW5UfRkrWUDHrfLCULU2TfOjmufEGM1eOIXhiAun8WQ85LBzTAYy1r9D514cbU3Yzn3xGZwJljPE8JE4cx3MNN/qQ=[secure] PHANTOMJS_CDNURL=https://s3.amazonaws.com/aldryn-local-assets DJANGO=2.2 FRONTEND=1 UNIT=1) 03 Nov 2020 08:12AM UTC 0
77.76
Travis Job 11180.5
Source Files on build 11180
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #11180
  • 4d8aded2 on github
  • Prev Build on develop (#38)
  • Next Build on develop (#42)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc