This file contains hidden or 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
Fixes https://www.w3.org/Bugs/Public/show_bug.cgi?id=29450. | |
<!-- | |
This comment and the below content is programatically generated. | |
You may add a comma-separated list of anchors you'd like a | |
direct link to below (e.g. #idl-serializers, #idl-sequence): | |
Don't remove this comment or modify anything below this line. | |
--> |
This file contains hidden or 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
1. If |F| corresponds to an attribute, operation or stringifier, then return | |
the global environment associated with the | |
[=interface=] that definition appears on. | |
1. Otherwise, if |F| corresponds to an indexed or named property, then return | |
the global environment associated with the interface that | |
the indexed or named property getter, setter or deleter was defined on. |
This file contains hidden or 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
Primarily by grouping types into larger categories, but also by recategorizing callback interfaces as more like dictionaries than normal interfaces. | |
Fixes #50 and #59. | |
<!-- | |
This comment and the below content is programatically generated. | |
You may add a comma-separated list of anchors you'd like a | |
direct link to below (e.g. #idl-serializers, #idl-sequence): | |
#dfn-distinguishable |
This file contains hidden or 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
<h1>Foo</h1> | |
<pre class=metadata> | |
Group: test | |
Shortname: foo | |
Level: 1 | |
Status: ED | |
Group: dap | |
ED: http://example.com/foo | |
Abstract: Abstract content. |
This file contains hidden or 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
<h4 oldids="dom-sequence" id="idl-sequence" interface="" dfn="" lt="sequence|sequence<T>">Sequences — sequence<|T|></h4> | |
<p> | |
The {{sequence<T>}} | |
type is a parameterized type whose values are (possibly zero-length) sequences of | |
values of type |T|. | |
</p> |
This file contains hidden or 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
// Trying to find the formula to determine the frequency | |
// at which to sample GPS coordinates of a moving vehicle | |
// in order to have the maximum precision but not to store | |
// more data than necessary. | |
let precision = 1; // The precision of the GPS in meters | |
let max_speed = 180 / 3.6 // 180km/h converted to m/s = 50m/s | |
let max_frequency = max_speed / precision; | |
// Nyquist–Shannon sampling theorem[1] tells us a |
This file contains hidden or 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
module.exports = { | |
_id: "_design/xxx", | |
views: { | |
by_date: { | |
map: function(doc) { | |
var parts = doc._id.split(":"); | |
emit(parts, { shortname: parts[0], date: parts[1] }); | |
} | |
}, | |
updates_by_date: { |
This file contains hidden or 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 uniq(sortedArray) { | |
var output = []; | |
sortedArray.reduce(function(previous, current) { | |
if (current != previous) { | |
output.push(current); | |
} | |
return current; | |
}, null); | |
return output; | |
} |
This file contains hidden or 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
{ | |
"html5": { | |
"authors": [ | |
"Ian Hickson", | |
"Robin Berjon", | |
"Steve Faulkner", | |
"Travis Leithead", | |
"Erika Doyle Navara", | |
"Edward O'Connor", | |
"Silvia Pfeiffer" |