aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/gamepadbuttonlist.rs
Commit message (Collapse)AuthorAgeFilesLines
* Remove WebVRAlan Jeffrey2020-04-081-20/+4
|
* Add trait DomObjectWrap to provide WRAP functionYUAN LYU2020-03-201-6/+1
|
* Simplify RootedReference and make it specifically about slicesIt's now ↵Anthony Ramine2019-03-111-1/+1
| | | | called DomSlice<T>.
* Update MPL license to https (part 3)Jan Andre Ikenmeyer2018-11-191-1/+1
|
* Reorder importsPyfisch2018-11-061-1/+1
|
* `cargo fix --edition`Simon Sapin2018-11-061-6/+6
|
* Format script componentchansuke2018-09-191-6/+13
|
* Used the zip function to iterate over both vectors simultaneously instead of anMaximilianDauner2018-03-231-4/+2
| | | | index variable and unwrapping the result.
* Remove use of unstable box syntax.Simon Sapin2017-10-161-1/+1
| | | | | | | | | | | | | | | | | | | | http://www.robohornet.org gives a score of 101.36 on master, and 102.68 with this PR. The latter is slightly better, but probably within noise level. So it looks like this PR does not affect DOM performance. This is expected since `Box::new` is defined as: ```rust impl<T> Box<T> { #[inline(always)] pub fn new(x: T) -> Box<T> { box x } } ``` With inlining, it should compile to the same as box syntax.
* Rename Root<T> to DomRoot<T>Anthony Ramine2017-09-261-5/+5
| | | | | | | In a later PR, DomRoot<T> will become a type alias of Root<Dom<T>>, where Root<T> will be able to handle all the things that need to be rooted that have a stable traceable address that doesn't move for the whole lifetime of the root. Stay tuned.
* Rename JS<T> to Dom<T>Anthony Ramine2017-09-261-3/+3
|
* Rename dom::bindings::js to dom::bindings::rootAnthony Ramine2017-09-261-1/+1
|
* Implement Gamepad APIImanol Fernandez2017-04-121-0/+63