Skip to content

Commit

Permalink
Remove unnecessary type attribute in documentation (slab#1087)
Browse files Browse the repository at this point in the history
"If this attribute [type] is absent, the script is treated as JavaScript."
Source: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/script
  • Loading branch information
kaelig authored and Tim McClure committed Dec 12, 2016
1 parent dc4d373 commit bb2a145
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
6 changes: 3 additions & 3 deletions docs/docs/download.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,16 @@ A globally distributed and available CDN is provided, backed by [Amazon Cloudfro

```html
<!-- Main Quill library -->
<script src="//cdn.quilljs.com/{{site.version}}/quill.js" type="text/javascript"></script>
<script src="//cdn.quilljs.com/{{site.version}}/quill.min.js" type="text/javascript"></script>
<script src="//cdn.quilljs.com/{{site.version}}/quill.js"></script>
<script src="//cdn.quilljs.com/{{site.version}}/quill.min.js"></script>

<!-- Theme included stylesheets -->
<link href="//cdn.quilljs.com/{{site.version}}/quill.snow.css" rel="stylesheet">
<link href="//cdn.quilljs.com/{{site.version}}/quill.bubble.css" rel="stylesheet">

<!-- Core build with no theme, formatting, non-essential modules -->
<link href="//cdn.quilljs.com/{{site.version}}/quill.core.css" rel="stylesheet">
<script src="//cdn.quilljs.com/{{site.version}}/quill.core.js" type="text/javascript"></script>
<script src="//cdn.quilljs.com/{{site.version}}/quill.core.js"></script>
```


Expand Down
2 changes: 1 addition & 1 deletion docs/docs/quickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ The best way to get started is try a simple example. Quill is initialized with a
<script src="https://cdn.quilljs.com/{{site.version}}/quill.js"></script>

<!-- Initialize Quill editor -->
<script type="text/javascript">
<script>
var quill = new Quill('#editor', {
theme: 'snow'
});
Expand Down
12 changes: 6 additions & 6 deletions docs/docs/themes.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ Themes allow you to easily make your editor look good with minimal effort. Quill
<!-- Add the theme's stylesheet -->
<link rel="stylesheet" href="{{site.cdn}}{{site.version}}/quill.bubble.css">

<script type="text/javascript" src="{{site.cdn}}{{site.version}}/quill.js"></script>
<script type="text/javascript">
<script src="{{site.cdn}}{{site.version}}/quill.js"></script>
<script>
var quill = new Quill('#editor', {
theme: 'bubble' // Specify theme in configuration
});
Expand Down Expand Up @@ -64,10 +64,10 @@ Many other customizations can be done through the respective modules. For exampl


<!-- script -->
<script type="text/javascript" src="{{site.katex}}/katex.min.js"></script>
<script type="text/javascript" src="{{site.highlightjs}}/highlight.min.js"></script>
<script type="text/javascript" src="{{site.cdn}}{{site.version}}/{{site.quill}}"></script>
<script type="text/javascript">
<script src="{{site.katex}}/katex.min.js"></script>
<script src="{{site.highlightjs}}/highlight.min.js"></script>
<script src="{{site.cdn}}{{site.version}}/{{site.quill}}"></script>
<script>
var snowQuill = new Quill('#snow-container', {
placeholder: 'Compose an epic...',
modules: {
Expand Down

0 comments on commit bb2a145

Please sign in to comment.