Replace google closure syntax = with brackets around name
This commit is contained in:
@@ -75,8 +75,8 @@ describe('ol.interaction.Draw', function () {
|
||||
* @param {string} type Event type.
|
||||
* @param {number} x Horizontal offset from map center.
|
||||
* @param {number} y Vertical offset from map center.
|
||||
* @param {boolean=} opt_shiftKey Shift key is pressed.
|
||||
* @param {boolean=} opt_pointerId Pointer id.
|
||||
* @param {boolean} [opt_shiftKey] Shift key is pressed.
|
||||
* @param {boolean} [opt_pointerId] Pointer id.
|
||||
* @return {module:ol/MapBrowserEvent} The simulated event.
|
||||
*/
|
||||
function simulateEvent(type, x, y, opt_shiftKey, opt_pointerId = 0) {
|
||||
|
||||
@@ -41,7 +41,7 @@ describe('ol.interaction.Extent', function () {
|
||||
* @param {string} type Event type.
|
||||
* @param {number} x Horizontal offset from map center.
|
||||
* @param {number} y Vertical offset from map center.
|
||||
* @param {boolean=} opt_shiftKey Shift key is pressed.
|
||||
* @param {boolean} [opt_shiftKey] Shift key is pressed.
|
||||
* @param {number} button The mouse button.
|
||||
*/
|
||||
function simulateEvent(type, x, y, opt_shiftKey, button) {
|
||||
|
||||
@@ -92,7 +92,7 @@ describe('ol.interaction.Select', function () {
|
||||
* @param {string} type Event type.
|
||||
* @param {number} x Horizontal offset from map center.
|
||||
* @param {number} y Vertical offset from map center.
|
||||
* @param {boolean=} opt_shiftKey Shift key is pressed.
|
||||
* @param {boolean} [opt_shiftKey] Shift key is pressed.
|
||||
*/
|
||||
function simulateEvent(type, x, y, opt_shiftKey) {
|
||||
const viewport = map.getViewport();
|
||||
|
||||
@@ -62,7 +62,7 @@ describe('ol.interaction.Translate', function () {
|
||||
* @param {string} type Event type.
|
||||
* @param {number} x Horizontal offset from map center.
|
||||
* @param {number} y Vertical offset from map center.
|
||||
* @param {boolean=} opt_shiftKey Shift key is pressed.
|
||||
* @param {boolean} [opt_shiftKey] Shift key is pressed.
|
||||
*/
|
||||
function simulateEvent(type, x, y, opt_shiftKey) {
|
||||
const viewport = map.getViewport();
|
||||
|
||||
@@ -29,8 +29,8 @@ describe('ol.render.canvas.BuilderGroup', function () {
|
||||
|
||||
/**
|
||||
* @param {BuilderGroup} builder The builder to get instructions from.
|
||||
* @param {number=} pixelRatio The pixel ratio.
|
||||
* @param {boolean=} overlaps Whether there is overlaps.
|
||||
* @param {number} [pixelRatio] The pixel ratio.
|
||||
* @param {boolean} [overlaps] Whether there is overlaps.
|
||||
*/
|
||||
function execute(builder, pixelRatio, overlaps) {
|
||||
const executor = new ExecutorGroup(
|
||||
|
||||
Reference in New Issue
Block a user