Skip to content

Commit

Permalink
made the loading of the local copy of jquery more consistent, do not …
Browse files Browse the repository at this point in the history
…try the CDN version
  • Loading branch information
robertoostenveld committed Feb 18, 2019
1 parent ea76645 commit 6e4ae51
Show file tree
Hide file tree
Showing 13 changed files with 13 additions and 40 deletions.
2 changes: 1 addition & 1 deletion esp8266_ad8232_ecg/data/monitor.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<title>Monitor</title>
<meta charset="utf-8">
<link href="style.css" rel="stylesheet" type="text/css">
<script src="jquery-3.1.1.min.js"></script>
<script language="javascript" type="text/javascript" src="jquery-3.1.1.min.js"></script>
</head>

<body>
Expand Down
2 changes: 1 addition & 1 deletion esp8266_ad8232_ecg/data/settings.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<title>Settings</title>
<meta charset="utf-8">
<link href="style.css" rel="stylesheet" type="text/css">
<script src="jquery-3.1.1.min.js"></script>
<script language="javascript" type="text/javascript" src="jquery-3.1.1.min.js"></script>
</head>

<body>
Expand Down
7 changes: 1 addition & 6 deletions esp8266_artnet_dmx512/data/monitor.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,7 @@
<title>Monitor</title>
<meta charset="utf-8">
<link href="style.css" rel="stylesheet" type="text/css">
<!--try to load jQuery from google CDN-->
<script src="//ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
<!--fall back to a local copy when not connected to internet-->
<script>
window.jQuery || document.write('<script language="javascript" type="text/javascript" src="jquery-3.1.1.min.js"><\/script>');
</script>
<script language="javascript" type="text/javascript" src="jquery-3.1.1.min.js"></script>
</head>

<body>
Expand Down
7 changes: 1 addition & 6 deletions esp8266_artnet_dmx512/data/settings.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,7 @@
<title>Settings</title>
<meta charset="utf-8">
<link href="style.css" rel="stylesheet" type="text/css">
<!--try to load jQuery from google CDN-->
<script src="//ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
<!--fall back to a local copy when not connected to internet-->
<script>
window.jQuery || document.write('<script language="javascript" type="text/javascript" src="jquery-3.1.1.min.js"><\/script>');
</script>
<script language="javascript" type="text/javascript" src="jquery-3.1.1.min.js"></script>
</head>

<body>
Expand Down
7 changes: 1 addition & 6 deletions esp8266_artnet_neopixel/data/monitor.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,7 @@
<title>Monitor</title>
<meta charset="utf-8">
<link href="style.css" rel="stylesheet" type="text/css">
<!--try to load jQuery from google CDN-->
<script src="//ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
<!--fall back to a local copy when not connected to internet-->
<script>
window.jQuery || document.write('<script language="javascript" type="text/javascript" src="jquery-3.1.1.min.js"><\/script>');
</script>
<script language="javascript" type="text/javascript" src="jquery-3.1.1.min.js"></script>
</head>

<body>
Expand Down
7 changes: 1 addition & 6 deletions esp8266_artnet_neopixel/data/settings.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,7 @@
<title>Settings</title>
<meta charset="utf-8">
<link href="style.css" rel="stylesheet" type="text/css">
<!--try to load jQuery from google CDN-->
<script src="//ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
<!--fall back to a local copy when not connected to internet-->
<script>
window.jQuery || document.write('<script language="javascript" type="text/javascript" src="jquery-3.1.1.min.js"><\/script>');
</script>
<script language="javascript" type="text/javascript" src="jquery-3.1.1.min.js"></script>
</head>

<body>
Expand Down
9 changes: 1 addition & 8 deletions esp8266_config_ota/data/settings.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,7 @@
<title>Settings</title>
<meta charset="utf-8">
<link href="style.css" rel="stylesheet" type="text/css">

<!--try to load jQuery from google CDN-->
<script src="//ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
<!--fall back to a local copy when not connected to internet-->
<script>
window.jQuery || document.write('<script language="javascript" type="text/javascript" src="jquery-3.1.1.min.js"><\/script>');
</script>

<script language="javascript" type="text/javascript" src="jquery-3.1.1.min.js"></script>
</head>

<body>
Expand Down
2 changes: 1 addition & 1 deletion esp8266_imu_osc/data/monitor.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<title>Monitor</title>
<meta charset="utf-8">
<link href="style.css" rel="stylesheet" type="text/css">
<script src="jquery-3.1.1.min.js"></script>
<script language="javascript" type="text/javascript" src="jquery-3.1.1.min.js"></script>
</head>

<body>
Expand Down
2 changes: 1 addition & 1 deletion esp8266_imu_osc/data/settings.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<title>Settings</title>
<meta charset="utf-8">
<link href="style.css" rel="stylesheet" type="text/css">
<script src="jquery-3.1.1.min.js"></script>
<script language="javascript" type="text/javascript" src="jquery-3.1.1.min.js"></script>
</head>

<body>
Expand Down
2 changes: 1 addition & 1 deletion esp8266_polar_wearlink/data/monitor.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<title>Monitor</title>
<meta charset="utf-8">
<link href="style.css" rel="stylesheet" type="text/css">
<script src="jquery-3.1.1.min.js"></script>
<script language="javascript" type="text/javascript" src="jquery-3.1.1.min.js"></script>
</head>

<body>
Expand Down
2 changes: 1 addition & 1 deletion esp8266_polar_wearlink/data/settings.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<title>Settings</title>
<meta charset="utf-8">
<link href="style.css" rel="stylesheet" type="text/css">
<script src="jquery-3.1.1.min.js"></script>
<script language="javascript" type="text/javascript" src="jquery-3.1.1.min.js"></script>
</head>

<body>
Expand Down
2 changes: 1 addition & 1 deletion esp8266_pulse_sensor/data/monitor.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<title>Monitor</title>
<meta charset="utf-8">
<link href="style.css" rel="stylesheet" type="text/css">
<script src="jquery-3.1.1.min.js"></script>
<script language="javascript" type="text/javascript" src="jquery-3.1.1.min.js"></script>
</head>

<body>
Expand Down
2 changes: 1 addition & 1 deletion esp8266_pulse_sensor/data/settings.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<title>Settings</title>
<meta charset="utf-8">
<link href="style.css" rel="stylesheet" type="text/css">
<script src="jquery-3.1.1.min.js"></script>
<script language="javascript" type="text/javascript" src="jquery-3.1.1.min.js"></script>
</head>

<body>
Expand Down

0 comments on commit 6e4ae51

Please sign in to comment.