Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix import order in tutorials. #728

Merged
merged 1 commit into from
Aug 7, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions tutorials/basic/index.pug
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ block mainTutorial
<!DOCTYPE html>
<html>
<head>
<script type="text/javascript" src="../../built/geo.min.js"></script>
<script type="text/javascript" src="../../built/geo.ext.min.js"></script>
<script type="text/javascript" src="../../built/geo.min.js"></script>
</head>
<body>
<div id="map"></div>
Expand All @@ -19,7 +19,8 @@ block mainTutorial

:markdown-it
The second script, ``geo.ext.min.js``, is optional. It adds support
for svg elements and touch interaction.
for svg elements and touch interaction. It needs to be added before
``geo.min.js``.

Some CSS will make our map fill the page:

Expand Down
2 changes: 1 addition & 1 deletion tutorials/common/tutorials.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ var processBlockInfo = {
/* We could also load from the CDN:
* https://cdnjs.cloudflare.com/ajax/libs/geojs/0.12.2/geo.min.js
* or the non-minified versions to make debug easier. */
' <script type="text/javascript" src="../../built/geo.min.js"></script>\n' +
' <script type="text/javascript" src="../../built/geo.ext.min.js"></script>\n' +
' <script type="text/javascript" src="../../built/geo.min.js"></script>\n' +
'</head>\n' +
'<body>\n' +
' <div id="map"></div>\n' +
Expand Down