This repository has been archived by the owner on Nov 25, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #53 from nfreear/48-swap-tool-page
swap tool page; JS so user can save a sharable HTML journey
- Loading branch information
Showing
30 changed files
with
4,705 additions
and
4,051 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"#": "JSDoc configuration.", | ||
"source": { | ||
"include": "./src/" | ||
}, | ||
"opts": { | ||
"encoding": "utf8", | ||
"destination": "./jsdoc/", | ||
"package": "./package.json", | ||
"readme": "./README.md", | ||
"recurse": false, | ||
"debug": true, | ||
"verbose": true | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,53 @@ | ||
<!DOCTYPE HTML> | ||
|
||
<meta charset="UTF-8"> | ||
<meta http-equiv="refresh" content="1; url=https://unpkg.com/our-journey/index.html"> | ||
|
||
<script> | ||
window.location.href = "https://unpkg.com/our-journey/index.html" | ||
</script> | ||
|
||
<title>Our Journey: Redirect</title> | ||
|
||
The Our Journey tool has moved. If you are not automatically redirected, <a href='https://unpkg.com/our-journey/index.html'>click here</a> | ||
<!doctype html> | ||
<html lang="en"> | ||
<head> | ||
<!-- Global site tag (gtag.js) - Google Analytics --> | ||
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-3845152-24"></script> | ||
<script> | ||
window.dataLayer = window.dataLayer || []; | ||
function gtag(){dataLayer.push(arguments);} | ||
gtag('js', new Date()); | ||
gtag('config', 'UA-3845152-24'); // Was: 'UA-124577463-1' | ||
</script> | ||
|
||
<meta charset="utf-8" /> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=0.9" /> | ||
|
||
<title>Our Journey: Journey creator</title> | ||
|
||
<meta name="description" content= | ||
"'Our Journeys' is an interactive activity to chart the highs and lows of your student learning journey. Developed in the Institute of Educational Technology (IET), at The Open University." /> | ||
<meta name="copyright" content="© 2018 The Open University (IET)." /> | ||
|
||
<link rel="stylesheet" href="https://unpkg.com/our-journey@^1/style/journeystyle.css" /> | ||
<link rel="icon" href="../assets/favicon.ico" type="image/x-icon" /> | ||
</head> | ||
<body> | ||
|
||
<div id="our-journey-tool"> | ||
<p class="no-js"> | ||
Sorry! | ||
This tool requires Javascript. | ||
Either your browser doesn't have Javascript enabled, or something has gone badly wrong. | ||
</p> | ||
<noscript>(Javascript disabled)</noscript> | ||
</div> | ||
|
||
<script src="https://unpkg.com/our-journey@^1/dist/our-journey.js"></script> | ||
|
||
<script> | ||
require('our-journey').app.run({ | ||
containerSelector: '#our-journey-tool', | ||
assetUrl: 'https://unpkg.com/our-journey@^1/assets' | ||
}) | ||
.then(function (value) { | ||
console.warn('our-journey. Loading complete:', value); | ||
}) | ||
.catch(function (error) { | ||
console.error('our-journey. Error:', error); | ||
}); | ||
</script> | ||
|
||
</body> | ||
</html> |
Oops, something went wrong.