-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support async loading + clean up a little
- Loading branch information
Showing
5 changed files
with
77 additions
and
26 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
<!DOCTYPE html> | ||
<html lang="en-us" class="ts-docs" spellcheck="false"> | ||
|
||
<head> | ||
<title>Testing</title> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width"> | ||
<script src="//d5wfroyti11sa.cloudfront.net/prod/client/ts-9.3.13.min.js"></script> | ||
<script src="/dist/assets/dox.min.js"></script> | ||
<script src="/dist/assets/mark.min.js"></script> | ||
<script src="/dist/assets/jquery-2.2.4.min.js"></script> | ||
<link rel="stylesheet" href="//d5wfroyti11sa.cloudfront.net/prod/client/ts-9.3.13.min.css"> | ||
<link rel="stylesheet" href="/dist/assets/dox.css"> | ||
<script> | ||
var script = document.createElement('script'); | ||
script.src = '//172.31.98.151:10111/dist/ts.js'; | ||
setTimeout(function() { | ||
document.head.appendChild(script); | ||
console.log('Did it work?'); | ||
}, 1000); | ||
</script> | ||
</head> | ||
|
||
<body> | ||
<button data-ts="Button" class="ts-primary">Hell World</button> | ||
<aside data-ts="Note" class="sticky ts-bg-yellow"> | ||
<p>If you find a bug or need a feature…</p> | ||
<menu class="ts-buttons"> | ||
<li> | ||
<a data-ts="Button" target="_blank" href="https://github.com/Tradeshift/tradeshift-ui/issues/new" title="Submit new issue" class="ts-secondary"> | ||
<span>Create GitHub Issue…</span> | ||
</a> | ||
</li> | ||
</menu> | ||
</aside> | ||
</body> | ||
|
||
</html> |
Large diffs are not rendered by default.
Oops, something went wrong.
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,17 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<title>Testing</title> | ||
<script> | ||
var script = document.createElement('script'); | ||
script.src = '//172.31.98.151:10111/dist/ts.js'; | ||
setTimeout(function() { | ||
document.head.appendChild(script); | ||
console.log('Did it work?'); | ||
}, 1000); | ||
</script> | ||
</head> | ||
<body> | ||
<button data-ts="Button" class="ts-primary">Hell World</button> | ||
</body> | ||
</html> |
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