Skip to content

Commit

Permalink
Merge pull request #87 from MajorBreakfast/patch-1
Browse files Browse the repository at this point in the history
Webpack support
  • Loading branch information
e111077 authored Feb 23, 2018
2 parents 8f9f611 + e9f315e commit 9eb8320
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions marked-import.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,10 @@
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
-->
<script src='../marked/lib/marked.js'></script>
<script>
if (!window.marked) {
// For webpack support for the Polymer 3 version created by the Polymer Modulizer
// More info: https://github.com/PolymerElements/marked-element/issues/81
window.marked = require('../../marked/lib/marked.js');
}
</script>

0 comments on commit 9eb8320

Please sign in to comment.