jupyter-js-widgets
Advanced tools
Comparing version
@@ -31,3 +31,3 @@ import { DOMWidgetModel, DOMWidgetView } from './widget'; | ||
defaults(): any; | ||
initialize(): void; | ||
initialize(attributes: any, options: any): void; | ||
/** | ||
@@ -34,0 +34,0 @@ * Waits for a gamepad to be connected at the provided index. |
@@ -138,3 +138,4 @@ // Copyright (c) Jupyter Development Team. | ||
}; | ||
ControllerModel.prototype.initialize = function () { | ||
ControllerModel.prototype.initialize = function (attributes, options) { | ||
_super.prototype.initialize.call(this, attributes, options); | ||
if (navigator.getGamepads === void 0) { | ||
@@ -141,0 +142,0 @@ // Checks if the browser supports the gamepad API |
{ | ||
"name": "jupyter-js-widgets", | ||
"version": "2.0.0-dev.21", | ||
"version": "2.0.0-dev.22", | ||
"description": "Jupyter interactive widgets", | ||
@@ -5,0 +5,0 @@ "author": "Project Jupyter", |
@@ -142,3 +142,4 @@ // Copyright (c) Jupyter Development Team. | ||
initialize() { | ||
initialize(attributes, options) { | ||
super.initialize(attributes, options); | ||
if (navigator.getGamepads === void 0) { | ||
@@ -145,0 +146,0 @@ // Checks if the browser supports the gamepad API |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
66303
0.31%5237473
-0.04%