This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Window (Internet Explorer 6 - 7, Opera 11.6, Safari 4 - 5) | |
(this.Window = this.constructor = function Window() {}).prototype = this; | |
// Window.chrome (Chrome 14-18, Safari 5.1) | |
this.Window = this.constructor; | |
// HTMLDocument (Internet Explorer 6 - 7) | |
(this.HTMLDocument = this.Document = this.document.constructor = function HTMLDocument() {}).prototype = this.document; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const nsTime = (hrtime) => hrtime[0] * 1e9 + hrtime[1]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@function prefix($property, $prefixes: (webkit moz o ms)) { | |
$vendor-prefixed-properties: transform background-clip background-size; | |
$result: (); | |
@each $prefix in $prefixes { | |
@if index($vendor-prefixed-properties, $property) { | |
$property: -#{$prefix}-#{$property} | |
} | |
$result: append($result, $property); | |
} | |
@return $result; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* XDomainRequest polyfill for HTML4 browsers (IE7, IE6, etc.) v0.1.0 | |
* | |
* Required: jClass 1.4.0+ | |
* | |
* Copyright 2012-2014, Dmitriy Pakhtinov ( spb.piksel@gmail.com ) | |
* | |
* http://spb-piksel.ru/ - https://github.com/devote | |
* | |
* Dual licensed under the MIT and GPL licenses: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* VueRouteData plugin for vue-router@2.0 and vue@1or2, | |
* implemented according to https://github.com/vuejs/vue-router/issues/296#issuecomment-235481643 | |
* | |
* This plugin looks for `$options.fetchRouteData`, | |
* and watches `$route` using `$options.fetchRouteData` as handler. | |
* | |
* Before `fetchRouteData` executes, this plugin sets 'loadingRouteData' to true, | |
* and when it finishes executing, the plugin sets 'loadingRouteData' to false, | |
* so `fetchRouteData` can either be normal functions or async functions. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* List of ES3 Incompatibilities introduced by ES5. | |
* | |
*/ | |
/* | |
* From Annex E: | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Property prefix hacks | |
*/ | |
/* IE6 only - any combination of these characters */ | |
_ - £ ¬ ¦ | |
/* IE6/7 only - any combination of these characters */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This list was moved to https://letstalkaboutwebperf.com/en/gzip-brotli-server-config/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
interface AesGcmEncryptResult { | |
readonly attribute ArrayBuffer ciphertext; | |
readonly attribute ArrayBuffer tag; | |
}; | |
interface BookmarkCollection { | |
readonly attribute long length; | |
any item(unsigned long index); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
input[type="text"] { | |
/* */ | |
} | |
input[type="submit"]{ | |
/* */ | |
} | |
input[type=button]{ | |
/* */ | |
} |
OlderNewer