Skip to content
This repository has been archived by the owner on Oct 1, 2019. It is now read-only.

Commit

Permalink
fix invalid script type (#589)
Browse files Browse the repository at this point in the history
* fix invalid script type

* moar changes
  • Loading branch information
gvonkoss authored Jul 27, 2018
1 parent 82b2309 commit 3f9ba9b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/developer-guide/quick-start-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ https://www.ft.com/__origami/service/build/v2/bundles/js?modules=o-buttons
Instead of using a `<link ...>` tag, use a `<script ...>` tag.

```
<script async type="javascript" src="https://www.ft.com/__origami/service/build/v2/bundles/js?modules=o-buttons"></script>
<script src="https://www.ft.com/__origami/service/build/v2/bundles/js?modules=o-buttons"></script>
```

## 5. Putting it all together
Expand All @@ -90,7 +90,7 @@ Instead of using a `<link ...>` tag, use a `<script ...>` tag.
<html>
<head>
<!-- build service links and scripts here -->
<script async type="javascript" src="https://www.ft.com/__origami/service/build/v2/bundles/js?modules=o-buttons"></script>
<script src="https://www.ft.com/__origami/service/build/v2/bundles/js?modules=o-buttons"></script>
<link rel="stylesheet" href="https://www.ft.com/__origami/service/build/v2/bundles/css?modules=o-buttons" />
</head>
<body>
Expand Down

0 comments on commit 3f9ba9b

Please sign in to comment.