Skip to content

Commit

Permalink
Upgraded highlight.js and fixed bug in override_code_highlight_bg set…
Browse files Browse the repository at this point in the history
…ting.
  • Loading branch information
RyanHavoc committed Jun 2, 2017
1 parent bb45f84 commit b74b7f8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions _template/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@
.ndpl-c-brand-ca a:hover { color: {{ theme.brand_color }} !important; }
.ndpl-c-brand-cai a { color: {{ theme.brand_color }} !important; }
</style>
<link rel="stylesheet" v-if="theme.code_highlight_theme" :href="'https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.3.0/styles/' + theme.code_highlight_theme + '.min.css'">
<style v-if="theme.override_code_highlight_bg">.hljs { background: {{ theme.highlight_color }}} !important; }</style>
<link rel="stylesheet" v-if="theme.code_highlight_theme" :href="'https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/styles/' + theme.code_highlight_theme + '.min.css'">
<style v-if="theme.override_code_highlight_bg">.hljs { background: {{ theme.override_code_highlight_bg }}} !important; }</style>
<link rel="stylesheet" href="app/css/styles.min.css">

<!-- Font Libraries -->
Expand Down Expand Up @@ -300,7 +300,7 @@ <h3 class="ndpl-component__title">{{ component.title }}</h3>

<script src="https://cdnjs.cloudflare.com/ajax/libs/vue/1.0.25/vue.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/vue-resource/0.8.0/vue-resource.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.4.0/highlight.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/highlight.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/marked/0.3.5/marked.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/smooth-scroll/10.0.0/js/smooth-scroll.min.js"></script>
<script src="app/js/main.min.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "astrum",
"version": "1.9.3",
"version": "1.9.4",
"description": "A lightweight pattern library designed to be included with any web project.",
"main": "./manager/astrum.js",
"scripts": {
Expand Down

0 comments on commit b74b7f8

Please sign in to comment.