Created
October 22, 2016 16:31
-
-
Save vaclavsvejcar/ac120f8b160ca776340d8bb4910c9e4e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import scala.scalajs.js | |
import scala.scalajs.js.annotation.JSName | |
package object highlightjs { | |
lazy val hljs: HighlightJs = js.Dynamic.global.hljs.asInstanceOf[HighlightJs] | |
@JSName("hljs") | |
@js.native | |
private[highlightjs] trait HighlightJs extends js.Object { | |
def initHighlighting(): Unit = js.native | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment