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

susam / mdme / 18
95%

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

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%)

11.63 hits per line

Jobs
ID Job ID Ran Files Coverage
1 18.1 03 Nov 2018 04:44PM UTC 0
100.0
Travis Job 18.1
2 18.2 03 Nov 2018 04:44PM UTC 0
100.0
Travis Job 18.2
Source Files on build 18
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #18
  • fcc4dbc9 on github
  • Prev Build on master (#17)
  • Next Build on master (#19)
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