Alex Dima 5 vuotta sitten
vanhempi
commit
ac6f4773fc
3 muutettua tiedostoa jossa 22 lisäystä ja 41 poistoa
  1. 12 31
      package-lock.json
  2. 3 3
      test/dev-setup.js
  3. 7 7
      test/index.html

+ 12 - 31
package-lock.json

@@ -1895,7 +1895,7 @@
     },
     "event-stream": {
       "version": "3.3.4",
-      "resolved": "http://registry.npmjs.org/event-stream/-/event-stream-3.3.4.tgz",
+      "resolved": "https://registry.npmjs.org/event-stream/-/event-stream-3.3.4.tgz",
       "integrity": "sha1-SrTJoPWlTbkzi0w02Gv86PSzVXE=",
       "dev": true,
       "requires": {
@@ -2351,8 +2351,7 @@
         "ansi-regex": {
           "version": "2.1.1",
           "bundled": true,
-          "dev": true,
-          "optional": true
+          "dev": true
         },
         "aproba": {
           "version": "1.2.0",
@@ -2373,14 +2372,12 @@
         "balanced-match": {
           "version": "1.0.0",
           "bundled": true,
-          "dev": true,
-          "optional": true
+          "dev": true
         },
         "brace-expansion": {
           "version": "1.1.11",
           "bundled": true,
           "dev": true,
-          "optional": true,
           "requires": {
             "balanced-match": "^1.0.0",
             "concat-map": "0.0.1"
@@ -2395,20 +2392,17 @@
         "code-point-at": {
           "version": "1.1.0",
           "bundled": true,
-          "dev": true,
-          "optional": true
+          "dev": true
         },
         "concat-map": {
           "version": "0.0.1",
           "bundled": true,
-          "dev": true,
-          "optional": true
+          "dev": true
         },
         "console-control-strings": {
           "version": "1.1.0",
           "bundled": true,
-          "dev": true,
-          "optional": true
+          "dev": true
         },
         "core-util-is": {
           "version": "1.0.2",
@@ -2525,8 +2519,7 @@
         "inherits": {
           "version": "2.0.3",
           "bundled": true,
-          "dev": true,
-          "optional": true
+          "dev": true
         },
         "ini": {
           "version": "1.3.5",
@@ -2538,7 +2531,6 @@
           "version": "1.0.0",
           "bundled": true,
           "dev": true,
-          "optional": true,
           "requires": {
             "number-is-nan": "^1.0.0"
           }
@@ -2553,7 +2545,6 @@
           "version": "3.0.4",
           "bundled": true,
           "dev": true,
-          "optional": true,
           "requires": {
             "brace-expansion": "^1.1.7"
           }
@@ -2561,14 +2552,12 @@
         "minimist": {
           "version": "0.0.8",
           "bundled": true,
-          "dev": true,
-          "optional": true
+          "dev": true
         },
         "minipass": {
           "version": "2.3.5",
           "bundled": true,
           "dev": true,
-          "optional": true,
           "requires": {
             "safe-buffer": "^5.1.2",
             "yallist": "^3.0.0"
@@ -2587,7 +2576,6 @@
           "version": "0.5.1",
           "bundled": true,
           "dev": true,
-          "optional": true,
           "requires": {
             "minimist": "0.0.8"
           }
@@ -2668,8 +2656,7 @@
         "number-is-nan": {
           "version": "1.0.1",
           "bundled": true,
-          "dev": true,
-          "optional": true
+          "dev": true
         },
         "object-assign": {
           "version": "4.1.1",
@@ -2681,7 +2668,6 @@
           "version": "1.4.0",
           "bundled": true,
           "dev": true,
-          "optional": true,
           "requires": {
             "wrappy": "1"
           }
@@ -2767,8 +2753,7 @@
         "safe-buffer": {
           "version": "5.1.2",
           "bundled": true,
-          "dev": true,
-          "optional": true
+          "dev": true
         },
         "safer-buffer": {
           "version": "2.1.2",
@@ -2804,7 +2789,6 @@
           "version": "1.0.2",
           "bundled": true,
           "dev": true,
-          "optional": true,
           "requires": {
             "code-point-at": "^1.0.0",
             "is-fullwidth-code-point": "^1.0.0",
@@ -2824,7 +2808,6 @@
           "version": "3.0.1",
           "bundled": true,
           "dev": true,
-          "optional": true,
           "requires": {
             "ansi-regex": "^2.0.0"
           }
@@ -2868,14 +2851,12 @@
         "wrappy": {
           "version": "1.0.2",
           "bundled": true,
-          "dev": true,
-          "optional": true
+          "dev": true
         },
         "yallist": {
           "version": "3.0.3",
           "bundled": true,
-          "dev": true,
-          "optional": true
+          "dev": true
         }
       }
     },

+ 3 - 3
test/dev-setup.js

@@ -88,19 +88,19 @@
 				return key + '=' + value;
 			}
 			return '';
-		}).filter(function(assignment) { return !!assignment; }).join('&');
+		}).filter(function(assignment) { return !!assignment; }).join('&');
 		if (search.length > 0) {
 			search = '?' + search;
 		}
 		return toHREF(search);
 	};
 	Component.prototype.renderLoadingOptions = function() {
-		return '<strong style="width:130px;display:inline-block;">' + this.name + '</strong>:&nbsp;&nbsp;&nbsp;' + Object.keys(this.paths).map(function(pathName) {
+		return '<strong style="width:130px;display:inline-block;">' + this.name + '</strong>:&#160;&#160;&#160;' + Object.keys(this.paths).map(function(pathName) {
 			if (pathName === this.selectedPath) {
 				return '<strong>' + pathName + '</strong>';
 			}
 			return '<a href="' + this.generateUrlForPath(pathName) + '">' + pathName + '</a>';
-		}.bind(this)).join('&nbsp;&nbsp;&nbsp;');
+		}.bind(this)).join('&#160;&#160;&#160;');
 	};
 
 

+ 7 - 7
test/index.html

@@ -9,19 +9,19 @@
 
 Jump to:
 <a class="loading-opts" href="./smoketest.html">[SMOKETEST]</a>
-&nbsp;|&nbsp;
+&#160;|&#160;
 <a class="loading-opts" href="./playground.generated/index.html">[PLAYGROUND]</a>
-&nbsp;|&nbsp;
+&#160;|&#160;
 <a class="loading-opts" href="./mouse-fixed.html">[fixed element]</a>
-&nbsp;|&nbsp;
+&#160;|&#160;
 <a class="loading-opts" href="./mouse-scrollable-body.html">[scrollable body]</a>
-&nbsp;|&nbsp;
+&#160;|&#160;
 <a class="loading-opts" href="./mouse-scrollable-element.html">[scrollable element]</a>
-&nbsp;|&nbsp;
+&#160;|&#160;
 <a class="loading-opts" href="./colorize.html">[colorize element]</a>
-&nbsp;|&nbsp;
+&#160;|&#160;
 <a class="loading-opts" href="./cross-origin-broken.html">[cross origin broken]</a>
-&nbsp;|&nbsp;
+&#160;|&#160;
 <a class="loading-opts" href="./cross-origin-good.html">[cross origin good]</a>
 <br/><br/>