Skip to content
This repository has been archived by the owner on Nov 12, 2021. It is now read-only.

Using initHighlighting on hljs, as it is more reliable #58

Merged
merged 1 commit into from
Apr 29, 2015

Conversation

dac09
Copy link

@dac09 dac09 commented Apr 29, 2015

Hey,

Noticed HLJS didn't work too reliably for me, but this seems to have helped.

Thanks,
Danny

@dac09
Copy link
Author

dac09 commented Apr 29, 2015

I suspect it works better (maybe) because getScript runs after document is ready - which would mean that it attaches the event afterwards and therefore has no effect.

@Reedyn
Copy link
Owner

Reedyn commented Apr 29, 2015

Nice catch! Thanks :)

Reedyn pushed a commit that referenced this pull request Apr 29, 2015
Using initHighlighting on hljs, as it is more reliable
@Reedyn Reedyn merged commit 100957a into Reedyn:1.3-development Apr 29, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants