Show More
@@ -7,7 +7,7 b'' | |||||
7 | * Code distributed by Google as part of the polymer project is also |
|
7 | * Code distributed by Google as part of the polymer project is also | |
8 | * subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt |
|
8 | * subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt | |
9 | */ |
|
9 | */ | |
10 |
// @version 0.7.2 |
|
10 | // @version 0.7.24 | |
11 | (function() { |
|
11 | (function() { | |
12 | window.WebComponents = window.WebComponents || { |
|
12 | window.WebComponents = window.WebComponents || { | |
13 | flags: {} |
|
13 | flags: {} | |
@@ -165,7 +165,7 b'' | |||||
165 | this._fragment = "#"; |
|
165 | this._fragment = "#"; | |
166 | state = "fragment"; |
|
166 | state = "fragment"; | |
167 | } else { |
|
167 | } else { | |
168 |
if (EOF != c && " |
|
168 | if (EOF != c && "\t" != c && "\n" != c && "\r" != c) { | |
169 | this._schemeData += percentEscape(c); |
|
169 | this._schemeData += percentEscape(c); | |
170 | } |
|
170 | } | |
171 | } |
|
171 | } | |
@@ -296,7 +296,7 b'' | |||||
296 | seenAt = true; |
|
296 | seenAt = true; | |
297 | for (var i = 0; i < buffer.length; i++) { |
|
297 | for (var i = 0; i < buffer.length; i++) { | |
298 | var cp = buffer[i]; |
|
298 | var cp = buffer[i]; | |
299 |
if (" |
|
299 | if ("\t" == cp || "\n" == cp || "\r" == cp) { | |
300 | err("Invalid whitespace in authority."); |
|
300 | err("Invalid whitespace in authority."); | |
301 | continue; |
|
301 | continue; | |
302 | } |
|
302 | } | |
@@ -330,7 +330,7 b'' | |||||
330 | state = "relative path start"; |
|
330 | state = "relative path start"; | |
331 | } |
|
331 | } | |
332 | continue; |
|
332 | continue; | |
333 |
} else if (" |
|
333 | } else if ("\t" == c || "\n" == c || "\r" == c) { | |
334 | err("Invalid whitespace in file host."); |
|
334 | err("Invalid whitespace in file host."); | |
335 | } else { |
|
335 | } else { | |
336 | buffer += c; |
|
336 | buffer += c; | |
@@ -354,7 +354,7 b'' | |||||
354 | break loop; |
|
354 | break loop; | |
355 | } |
|
355 | } | |
356 | continue; |
|
356 | continue; | |
357 |
} else if (" |
|
357 | } else if ("\t" != c && "\n" != c && "\r" != c) { | |
358 | if ("[" == c) { |
|
358 | if ("[" == c) { | |
359 | seenBracket = true; |
|
359 | seenBracket = true; | |
360 | } else if ("]" == c) { |
|
360 | } else if ("]" == c) { | |
@@ -382,7 +382,7 b'' | |||||
382 | } |
|
382 | } | |
383 | state = "relative path start"; |
|
383 | state = "relative path start"; | |
384 | continue; |
|
384 | continue; | |
385 |
} else if (" |
|
385 | } else if ("\t" == c || "\n" == c || "\r" == c) { | |
386 | err("Invalid code point in port: " + c); |
|
386 | err("Invalid code point in port: " + c); | |
387 | } else { |
|
387 | } else { | |
388 | invalid.call(this); |
|
388 | invalid.call(this); | |
@@ -427,7 +427,7 b'' | |||||
427 | this._fragment = "#"; |
|
427 | this._fragment = "#"; | |
428 | state = "fragment"; |
|
428 | state = "fragment"; | |
429 | } |
|
429 | } | |
430 |
} else if (" |
|
430 | } else if ("\t" != c && "\n" != c && "\r" != c) { | |
431 | buffer += percentEscape(c); |
|
431 | buffer += percentEscape(c); | |
432 | } |
|
432 | } | |
433 | break; |
|
433 | break; | |
@@ -436,13 +436,13 b'' | |||||
436 | if (!stateOverride && "#" == c) { |
|
436 | if (!stateOverride && "#" == c) { | |
437 | this._fragment = "#"; |
|
437 | this._fragment = "#"; | |
438 | state = "fragment"; |
|
438 | state = "fragment"; | |
439 |
} else if (EOF != c && " |
|
439 | } else if (EOF != c && "\t" != c && "\n" != c && "\r" != c) { | |
440 | this._query += percentEscapeQuery(c); |
|
440 | this._query += percentEscapeQuery(c); | |
441 | } |
|
441 | } | |
442 | break; |
|
442 | break; | |
443 |
|
443 | |||
444 | case "fragment": |
|
444 | case "fragment": | |
445 |
if (EOF != c && " |
|
445 | if (EOF != c && "\t" != c && "\n" != c && "\r" != c) { | |
446 | this._fragment += c; |
|
446 | this._fragment += c; | |
447 | } |
|
447 | } | |
448 | break; |
|
448 | break; | |
@@ -1085,7 +1085,7 b' if (typeof WeakMap === "undefined") {' | |||||
1085 |
|
1085 | |||
1086 | (function(scope) { |
|
1086 | (function(scope) { | |
1087 | "use strict"; |
|
1087 | "use strict"; | |
1088 | if (!window.performance) { |
|
1088 | if (!(window.performance && window.performance.now)) { | |
1089 | var start = Date.now(); |
|
1089 | var start = Date.now(); | |
1090 | window.performance = { |
|
1090 | window.performance = { | |
1091 | now: function() { |
|
1091 | now: function() { |
General Comments 0
You need to be logged in to leave comments.
Login now