adapt-authoring-ui 1.5.0 → 1.5.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2,28 +2,28 @@
2
2
  font-family: 'Open Sans';
3
3
  font-style: normal;
4
4
  font-weight: 400;
5
- src: url('./OpenSans-400.woff2') format('woff2');
5
+ src: url('/fonts/OpenSans-400.woff2') format('woff2');
6
6
  }
7
7
 
8
8
  @font-face {
9
9
  font-family: 'Open Sans';
10
10
  font-style: normal;
11
11
  font-weight: 700;
12
- src: url('./OpenSans-700.woff2') format('woff2');
12
+ src: url('/fonts/OpenSans-700.woff2') format('woff2');
13
13
  }
14
14
 
15
15
  @font-face {
16
16
  font-family: 'Raleway';
17
17
  font-style: normal;
18
18
  font-weight: 400;
19
- src: url('./Raleway-400.woff2') format('woff2');
19
+ src: url('/fonts/Raleway-400.woff2') format('woff2');
20
20
  }
21
21
 
22
22
  @font-face {
23
23
  font-family: 'Raleway';
24
24
  font-style: normal;
25
25
  font-weight: 700;
26
- src: url('./Raleway-700.woff2') format('woff2');
26
+ src: url('/fonts/Raleway-700.woff2') format('woff2');
27
27
  }
28
28
 
29
29
  @font-title: 'Raleway', sans-serif;
@@ -25,7 +25,7 @@ define(function(require) {
25
25
  if(location.indexOf('reset') === 0) { // hack fix this
26
26
  $('body').removeClass(`location-${location}`);
27
27
  try {
28
- query = parseQueryString(location);
28
+ query = parseQueryString(window.location.href);
29
29
  } catch(e) {}
30
30
  location = 'reset';
31
31
  $('body').addClass(`location-${location}`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "adapt-authoring-ui",
3
- "version": "1.5.0",
3
+ "version": "1.5.2",
4
4
  "description": "Front-end application for the Adapt authoring tool",
5
5
  "homepage": "https://github.com/adapt-security/adapt-authoring-ui",
6
6
  "license": "GPL-3.0",
@@ -1,11 +0,0 @@
1
- <!DOCTYPE html>
2
- <html lang=en>
3
- <meta charset=utf-8>
4
- <meta name=viewport content="initial-scale=1, minimum-scale=1, width=device-width">
5
- <title>Error 404 (Not Found)!!1</title>
6
- <style>
7
- *{margin:0;padding:0}html,code{font:15px/22px arial,sans-serif}html{background:#fff;color:#222;padding:15px}body{margin:7% auto 0;max-width:390px;min-height:180px;padding:30px 0 15px}* > body{background:url(//www.google.com/images/errors/robot.png) 100% 5px no-repeat;padding-right:205px}p{margin:11px 0 22px;overflow:hidden}ins{color:#777;text-decoration:none}a img{border:0}@media screen and (max-width:772px){body{background:none;margin-top:0;max-width:none;padding-right:0}}#logo{background:url(//www.google.com/images/branding/googlelogo/1x/googlelogo_color_150x54dp.png) no-repeat;margin-left:-5px}@media only screen and (min-resolution:192dpi){#logo{background:url(//www.google.com/images/branding/googlelogo/2x/googlelogo_color_150x54dp.png) no-repeat 0% 0%/100% 100%;-moz-border-image:url(//www.google.com/images/branding/googlelogo/2x/googlelogo_color_150x54dp.png) 0}}@media only screen and (-webkit-min-device-pixel-ratio:2){#logo{background:url(//www.google.com/images/branding/googlelogo/2x/googlelogo_color_150x54dp.png) no-repeat;-webkit-background-size:100% 100%}}#logo{display:inline-block;height:54px;width:150px}
8
- </style>
9
- <a href=//www.google.com/><span id=logo aria-label=Google></span></a>
10
- <p><b>404.</b> <ins>That’s an error.</ins>
11
- <p>The requested URL <code>/s/raleway/v37/1Ptxg8zYS_SKggPN4iEgvnHyvveLxVvaorCIPrEVIT9Gbwu.woff2</code> was not found on this server. <ins>That’s all we know.</ins>
@@ -1,11 +0,0 @@
1
- <!DOCTYPE html>
2
- <html lang=en>
3
- <meta charset=utf-8>
4
- <meta name=viewport content="initial-scale=1, minimum-scale=1, width=device-width">
5
- <title>Error 404 (Not Found)!!1</title>
6
- <style>
7
- *{margin:0;padding:0}html,code{font:15px/22px arial,sans-serif}html{background:#fff;color:#222;padding:15px}body{margin:7% auto 0;max-width:390px;min-height:180px;padding:30px 0 15px}* > body{background:url(//www.google.com/images/errors/robot.png) 100% 5px no-repeat;padding-right:205px}p{margin:11px 0 22px;overflow:hidden}ins{color:#777;text-decoration:none}a img{border:0}@media screen and (max-width:772px){body{background:none;margin-top:0;max-width:none;padding-right:0}}#logo{background:url(//www.google.com/images/branding/googlelogo/1x/googlelogo_color_150x54dp.png) no-repeat;margin-left:-5px}@media only screen and (min-resolution:192dpi){#logo{background:url(//www.google.com/images/branding/googlelogo/2x/googlelogo_color_150x54dp.png) no-repeat 0% 0%/100% 100%;-moz-border-image:url(//www.google.com/images/branding/googlelogo/2x/googlelogo_color_150x54dp.png) 0}}@media only screen and (-webkit-min-device-pixel-ratio:2){#logo{background:url(//www.google.com/images/branding/googlelogo/2x/googlelogo_color_150x54dp.png) no-repeat;-webkit-background-size:100% 100%}}#logo{display:inline-block;height:54px;width:150px}
8
- </style>
9
- <a href=//www.google.com/><span id=logo aria-label=Google></span></a>
10
- <p><b>404.</b> <ins>That’s an error.</ins>
11
- <p>The requested URL <code>/s/raleway/v37/1Ptxg8zYS_SKggPN4iEgvnHyvveLxVs9pbCIPrEVIT9Gbwu.woff2</code> was not found on this server. <ins>That’s all we know.</ins>