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

susam / mdme / 18 / 1
95%
master: 95%

Build:
DEFAULT BRANCH: master
Ran 03 Nov 2018 04:44PM UTC
Files 1
Run time 0s
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

03 Nov 2018 04:41PM UTC coverage: 100.0%. Remained the same
18.1

push

travis-ci-com

susam
Set local commonmark immediately after loading it

Prior to this commit, a local variable named `commonmark` was being set
to `window.commonmark` in the `renderPage()` function. This local
variable was then used to render Markdown. The problem with this
approach was that if the user code did not call `mdme.renderPage()` but
instead called `mdme.render()` directly, then the local variable
`commonmark` was never being set, so it was left as `undefined`. Using
this variable led to error.

This commit sets the local variable named `commonmark` as soon as it
loads to ensure that it is available for use by any function that depens
on it.

17 of 17 branches covered (100.0%)

Branch coverage included in aggregate %.

54 of 54 relevant lines covered (100.0%)

5.81 hits per line

Source Files on job 18.1
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 18
  • Travis Job 18.1
  • fcc4dbc9 on github
  • Prev Job for on master (#17.1)
  • Next Job for on master (#19.1)
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