Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #277 from qgustavor/patch-1

Fix HTTPS and some no-script cases
  • Loading branch information...
commit cf8449b3da9c37c954f093b9b28e4819fb43cab8 2 parents bc91847 + d0f0722
@peterbraden authored
Showing with 8 additions and 4 deletions.
  1. +8 −4 index.html
View
12 index.html
@@ -2,10 +2,14 @@
<html>
<head>
<title></title>
- <script type="text/javascript" src="http://cdnjs.cloudflare.com/ajax/libs/documentup/latest.min.js"></script>
+ <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/documentup/0.1.1/documentup.min.js"></script>
<script type="text/javascript">
- DocumentUp.document("peterbraden/node-opencv");
+ if (typeof DocumentUp == 'undefined') {
+ alert('Some resources failed loading: try reloading the page.');
+ } else {
+ DocumentUp.document("peterbraden/node-opencv");
+ }
</script>
</head>
- <body></body>
-</html>
+ <body><noscript>This page requires JavaScript.</noscript></body>
+</html>
Please sign in to comment.
Something went wrong with that request. Please try again.