Skip to content

Commit

Permalink
Update license headers (#9191)
Browse files Browse the repository at this point in the history
  • Loading branch information
Pessimistress authored Sep 27, 2024
1 parent 20b82de commit eac6f42
Show file tree
Hide file tree
Showing 1,095 changed files with 4,196 additions and 3,952 deletions.
4 changes: 4 additions & 0 deletions examples/experimental/bezier/src/app.jsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// deck.gl
// SPDX-License-Identifier: MIT
// Copyright (c) vis.gl contributors

import React from 'react';
import {createRoot} from 'react-dom/client';
import DeckGL from '@deck.gl/react';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,22 +1,6 @@
// Copyright (c) 2015 - 2017 Uber Technologies, Inc.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
// deck.gl
// SPDX-License-Identifier: MIT
// Copyright (c) vis.gl contributors

export default `\
#version 300 es
Expand Down
Original file line number Diff line number Diff line change
@@ -1,22 +1,6 @@
// Copyright (c) 2015 - 2017 Uber Technologies, Inc.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
// deck.gl
// SPDX-License-Identifier: MIT
// Copyright (c) vis.gl contributors

export default `\
#version 300 es
Expand Down
Original file line number Diff line number Diff line change
@@ -1,22 +1,6 @@
// Copyright (c) 2015 - 2017 Uber Technologies, Inc.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
// deck.gl
// SPDX-License-Identifier: MIT
// Copyright (c) vis.gl contributors

import {Layer, fp64LowPart, picking} from '@deck.gl/core';
import {Model, Geometry} from '@luma.gl/core';
Expand Down
4 changes: 4 additions & 0 deletions examples/experimental/bezier/src/bezier-graph-layer.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// deck.gl
// SPDX-License-Identifier: MIT
// Copyright (c) vis.gl contributors

import {COORDINATE_SYSTEM, CompositeLayer} from '@deck.gl/core';
import {ScatterplotLayer} from '@deck.gl/layers';
import BezierCurveLayer from './bezier-curve-layer/bezier-curve-layer';
Expand Down
4 changes: 4 additions & 0 deletions examples/experimental/h3-grid/src/app.jsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// deck.gl
// SPDX-License-Identifier: MIT
// Copyright (c) vis.gl contributors

import React, {useState} from 'react';
import {createRoot} from 'react-dom/client';
import DeckGL from '@deck.gl/react';
Expand Down
4 changes: 4 additions & 0 deletions examples/experimental/h3-grid/src/h3-grid-layer.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// deck.gl
// SPDX-License-Identifier: MIT
// Copyright (c) vis.gl contributors

import {CompositeLayer} from '@deck.gl/core';
import {TileLayer, H3HexagonLayer} from '@deck.gl/geo-layers';

Expand Down
4 changes: 4 additions & 0 deletions examples/experimental/h3-grid/src/h3-utils.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// deck.gl
// SPDX-License-Identifier: MIT
// Copyright (c) vis.gl contributors

import {polygonToCells, getRes0Cells, getIcosahedronFaces, latLngToCell} from 'h3-js';

// Number of hexagons at resolution 10 in tile x:497 y:505 z:10
Expand Down
4 changes: 4 additions & 0 deletions examples/experimental/interleaved-buffer/app.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// deck.gl
// SPDX-License-Identifier: MIT
// Copyright (c) vis.gl contributors

import {Deck, OrthographicView} from '@deck.gl/core';
import {ScatterplotLayer, PathLayer, SolidPolygonLayer} from '@deck.gl/layers';

Expand Down
4 changes: 4 additions & 0 deletions examples/experimental/interleaved-buffer/data.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// deck.gl
// SPDX-License-Identifier: MIT
// Copyright (c) vis.gl contributors

const data = [
{
color: [180, 50, 0],
Expand Down
4 changes: 4 additions & 0 deletions examples/experimental/tfjs/src/demo-histogram.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// deck.gl
// SPDX-License-Identifier: MIT
// Copyright (c) vis.gl contributors

/* global document,window */
import {Deck, OrthographicView} from '@deck.gl/core';
import {HistogramLayer} from './layers/histogram-layer';
Expand Down
4 changes: 4 additions & 0 deletions examples/experimental/tfjs/src/demo-spectrogram.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// deck.gl
// SPDX-License-Identifier: MIT
// Copyright (c) vis.gl contributors

/* global document */
import {Deck, OrthographicView} from '@deck.gl/core';
import {SpectrogramLayer, SpectrogramSettings} from './layers/spectrogram-layer';
Expand Down
4 changes: 4 additions & 0 deletions examples/experimental/tfjs/src/layers/histogram-layer.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// deck.gl
// SPDX-License-Identifier: MIT
// Copyright (c) vis.gl contributors

/* global console */
/* eslint-disable no-console */
import * as tf from '@tensorflow/tfjs';
Expand Down
4 changes: 4 additions & 0 deletions examples/experimental/tfjs/src/layers/spectrogram-layer.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// deck.gl
// SPDX-License-Identifier: MIT
// Copyright (c) vis.gl contributors

import * as tf from '@tensorflow/tfjs';

import {UpdateParameters, Layer, CompositeLayer, LayersList} from '@deck.gl/core';
Expand Down
4 changes: 4 additions & 0 deletions examples/experimental/tfjs/src/layers/tensor-2d-layer.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// deck.gl
// SPDX-License-Identifier: MIT
// Copyright (c) vis.gl contributors

import {BitmapLayer} from '@deck.gl/layers';
import type {GetPickingInfoParams, TextureSource} from '@deck.gl/core';
import type {Texture2D} from '@luma.gl/webgl';
Expand Down
4 changes: 4 additions & 0 deletions examples/experimental/tfjs/src/tf-utils/tensor-data.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// deck.gl
// SPDX-License-Identifier: MIT
// Copyright (c) vis.gl contributors

import {Texture2D, Texture2DProps, Buffer, readPixelsToBuffer} from '@luma.gl/webgl';
import {isWebGL2} from '@luma.gl/gltools';
import * as tf from '@tensorflow/tfjs';
Expand Down
4 changes: 4 additions & 0 deletions examples/experimental/tfjs/src/tf-utils/tf-context.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// deck.gl
// SPDX-License-Identifier: MIT
// Copyright (c) vis.gl contributors

import {pushContextState, popContextState, getParameters, setParameters} from '@luma.gl/gltools';
import * as tf from '@tensorflow/tfjs';
import * as tfgl from '@tensorflow/tfjs-backend-webgl';
Expand Down
4 changes: 4 additions & 0 deletions examples/gallery/build-tools/build.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// deck.gl
// SPDX-License-Identifier: MIT
// Copyright (c) vis.gl contributors

const utils = require('./utils');
const path = require('path');
const fs = require('fs');
Expand Down
4 changes: 4 additions & 0 deletions examples/gallery/build-tools/constants.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// deck.gl
// SPDX-License-Identifier: MIT
// Copyright (c) vis.gl contributors

const path = require('path');

const PORT = 3000;
Expand Down
4 changes: 4 additions & 0 deletions examples/gallery/build-tools/serve.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// deck.gl
// SPDX-License-Identifier: MIT
// Copyright (c) vis.gl contributors

const express = require('express');
const path = require('path');
const fs = require('fs');
Expand Down
4 changes: 4 additions & 0 deletions examples/gallery/build-tools/utils.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// deck.gl
// SPDX-License-Identifier: MIT
// Copyright (c) vis.gl contributors

const fs = require('fs');
const path = require('path');
const Mustache = require('mustache');
Expand Down
4 changes: 4 additions & 0 deletions examples/get-started/pure-js/apple-maps/app.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// deck.gl
// SPDX-License-Identifier: MIT
// Copyright (c) vis.gl contributors

/* global mapkit, window */
import {Deck, WebMercatorViewport} from '@deck.gl/core';
import {ScatterplotLayer} from '@deck.gl/layers';
Expand Down
4 changes: 4 additions & 0 deletions examples/get-started/pure-js/arcgis/app.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// deck.gl
// SPDX-License-Identifier: MIT
// Copyright (c) vis.gl contributors

import {DeckLayer} from '@deck.gl/arcgis';
import {GeoJsonLayer, ArcLayer} from '@deck.gl/layers';
import ArcGISMap from '@arcgis/core/Map';
Expand Down
4 changes: 4 additions & 0 deletions examples/get-started/pure-js/basic/app.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// deck.gl
// SPDX-License-Identifier: MIT
// Copyright (c) vis.gl contributors

import {Deck} from '@deck.gl/core';
import {GeoJsonLayer, ArcLayer} from '@deck.gl/layers';

Expand Down
4 changes: 4 additions & 0 deletions examples/get-started/pure-js/carto/app.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// deck.gl
// SPDX-License-Identifier: MIT
// Copyright (c) vis.gl contributors

import maplibregl from 'maplibre-gl';
import {Deck} from '@deck.gl/core';
import {fetchMap} from '@deck.gl/carto';
Expand Down
4 changes: 4 additions & 0 deletions examples/get-started/pure-js/globe/app.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// deck.gl
// SPDX-License-Identifier: MIT
// Copyright (c) vis.gl contributors

import {Deck, _GlobeView as GlobeView} from '@deck.gl/core';
import {SolidPolygonLayer, GeoJsonLayer, ArcLayer} from '@deck.gl/layers';

Expand Down
4 changes: 4 additions & 0 deletions examples/get-started/pure-js/google-maps/app.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// deck.gl
// SPDX-License-Identifier: MIT
// Copyright (c) vis.gl contributors

/* global document */
import {GoogleMapsOverlay as DeckOverlay} from '@deck.gl/google-maps';
import {GeoJsonLayer, ArcLayer} from '@deck.gl/layers';
Expand Down
4 changes: 4 additions & 0 deletions examples/get-started/pure-js/google-maps/vite.config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// deck.gl
// SPDX-License-Identifier: MIT
// Copyright (c) vis.gl contributors

export default {
define: {
'process.env.GoogleMapsAPIKey': JSON.stringify(process.env.GoogleMapsAPIKey),
Expand Down
4 changes: 4 additions & 0 deletions examples/get-started/pure-js/harp.gl/app.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// deck.gl
// SPDX-License-Identifier: MIT
// Copyright (c) vis.gl contributors

/* global document */
import {Deck} from '@deck.gl/core';
import {GeoJsonLayer, ArcLayer} from '@deck.gl/layers';
Expand Down
4 changes: 4 additions & 0 deletions examples/get-started/pure-js/harp.gl/decoder.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// deck.gl
// SPDX-License-Identifier: MIT
// Copyright (c) vis.gl contributors

/*
* Copyright (C) 2017-2019 HERE Europe B.V.
* Licensed under Apache 2.0, see full license in LICENSE
Expand Down
4 changes: 4 additions & 0 deletions examples/get-started/pure-js/harp.gl/webpack.config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// deck.gl
// SPDX-License-Identifier: MIT
// Copyright (c) vis.gl contributors

// NOTE: To use this example standalone (e.g. outside of deck.gl repo)
// delete the local development overrides at the bottom of this file

Expand Down
4 changes: 4 additions & 0 deletions examples/get-started/pure-js/leaflet/app.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// deck.gl
// SPDX-License-Identifier: MIT
// Copyright (c) vis.gl contributors

/* eslint-disable */
import * as L from 'leaflet';
import {LeafletLayer} from 'deck.gl-leaflet';
Expand Down
4 changes: 4 additions & 0 deletions examples/get-started/pure-js/mapbox/app.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// deck.gl
// SPDX-License-Identifier: MIT
// Copyright (c) vis.gl contributors

import {MapboxOverlay as DeckOverlay} from '@deck.gl/mapbox';
import {GeoJsonLayer, ArcLayer} from '@deck.gl/layers';
import mapboxgl from 'mapbox-gl';
Expand Down
4 changes: 4 additions & 0 deletions examples/get-started/pure-js/mapbox/vite.config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// deck.gl
// SPDX-License-Identifier: MIT
// Copyright (c) vis.gl contributors

export default {
define: {
'process.env.MapboxAccessToken': JSON.stringify(process.env.MapboxAccessToken)
Expand Down
4 changes: 4 additions & 0 deletions examples/get-started/pure-js/maplibre/app.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// deck.gl
// SPDX-License-Identifier: MIT
// Copyright (c) vis.gl contributors

import {MapboxOverlay as DeckOverlay} from '@deck.gl/mapbox';
import {GeoJsonLayer, ArcLayer} from '@deck.gl/layers';
import maplibregl from 'maplibre-gl';
Expand Down
4 changes: 4 additions & 0 deletions examples/get-started/pure-js/openlayers/app.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// deck.gl
// SPDX-License-Identifier: MIT
// Copyright (c) vis.gl contributors

// OL
import Map from 'ol/Map';
import {OSM} from 'ol/source';
Expand Down
4 changes: 4 additions & 0 deletions examples/get-started/pure-js/widgets/app.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// deck.gl
// SPDX-License-Identifier: MIT
// Copyright (c) vis.gl contributors

import {Deck} from '@deck.gl/core';
import {GeoJsonLayer, ArcLayer} from '@deck.gl/layers';
import {
Expand Down
4 changes: 4 additions & 0 deletions examples/get-started/react/arcgis/app.jsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// deck.gl
// SPDX-License-Identifier: MIT
// Copyright (c) vis.gl contributors

import React, {useEffect, useState} from 'react';
import {createRoot} from 'react-dom/client';

Expand Down
4 changes: 4 additions & 0 deletions examples/get-started/react/basic/app.jsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// deck.gl
// SPDX-License-Identifier: MIT
// Copyright (c) vis.gl contributors

import React from 'react';
import {createRoot} from 'react-dom/client';
import DeckGL, {GeoJsonLayer, ArcLayer} from 'deck.gl';
Expand Down
4 changes: 4 additions & 0 deletions examples/get-started/react/google-maps/app.jsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// deck.gl
// SPDX-License-Identifier: MIT
// Copyright (c) vis.gl contributors

import React, {useMemo, useEffect} from 'react';
import {createRoot} from 'react-dom/client';
import {APIProvider, Map, useMap} from '@vis.gl/react-google-maps';
Expand Down
4 changes: 4 additions & 0 deletions examples/get-started/react/google-maps/vite.config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// deck.gl
// SPDX-License-Identifier: MIT
// Copyright (c) vis.gl contributors

export default {
define: {
'process.env.GoogleMapsAPIKey': JSON.stringify(process.env.GoogleMapsAPIKey),
Expand Down
4 changes: 4 additions & 0 deletions examples/get-started/react/mapbox/app.jsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// deck.gl
// SPDX-License-Identifier: MIT
// Copyright (c) vis.gl contributors

import React, {useState} from 'react';
import {createRoot} from 'react-dom/client';
import {Map, NavigationControl, Popup, useControl} from 'react-map-gl';
Expand Down
4 changes: 4 additions & 0 deletions examples/get-started/react/mapbox/vite.config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// deck.gl
// SPDX-License-Identifier: MIT
// Copyright (c) vis.gl contributors

export default {
define: {
'process.env.MapboxAccessToken': JSON.stringify(process.env.MapboxAccessToken)
Expand Down
Loading

0 comments on commit eac6f42

Please sign in to comment.