From da87982ad06e15c1430419b4ac01de5ae7fd9bfe Mon Sep 17 00:00:00 2001 From: Gil Date: Wed, 27 Sep 2017 18:15:27 -0700 Subject: [PATCH] Add licenses to files that are missing them (#172) --- .cz-config.js | 16 ++++++++++++++++ integration/browserify/karma.conf.js | 16 ++++++++++++++++ integration/browserify/namespace.test.js | 16 ++++++++++++++++ integration/browserify/runner.sh | 14 ++++++++++++++ integration/messaging/download-browsers.js | 16 ++++++++++++++++ integration/messaging/runner.sh | 14 ++++++++++++++ integration/messaging/test/send-receive-msg.js | 16 ++++++++++++++++ .../messaging/test/static/manual-test-server.js | 16 ++++++++++++++++ .../messaging/test/static/shared-files/app.js | 16 ++++++++++++++++ .../static/shared-files/firebase-messaging-sw.js | 16 ++++++++++++++++ integration/messaging/test/static/test-server.js | 16 ++++++++++++++++ integration/quickstart/karma.conf.js | 16 ++++++++++++++++ integration/quickstart/runner.sh | 15 +++++++++++++++ integration/quickstart/src/database.test.ts | 16 ++++++++++++++++ integration/quickstart/src/storage.test.ts | 16 ++++++++++++++++ integration/quickstart/wdio.conf.js | 16 ++++++++++++++++ integration/serviceWorker/karma.conf.js | 16 ++++++++++++++++ integration/serviceWorker/runner.sh | 14 ++++++++++++++ integration/serviceWorker/webpack.config.js | 16 ++++++++++++++++ integration/shared/validator.js | 16 ++++++++++++++++ integration/typescript/karma.conf.js | 16 ++++++++++++++++ integration/typescript/runner.sh | 14 ++++++++++++++ integration/typescript/src/namespace.test.ts | 16 ++++++++++++++++ integration/typescript/src/typings.d.ts | 16 ++++++++++++++++ integration/webpack/karma.conf.js | 16 ++++++++++++++++ integration/webpack/namespace.test.js | 16 ++++++++++++++++ integration/webpack/runner.sh | 14 ++++++++++++++ integration/webpack/webpack.config.js | 16 ++++++++++++++++ src/utils/shims.ts | 16 ++++++++++++++++ 29 files changed, 453 insertions(+) diff --git a/.cz-config.js b/.cz-config.js index 68f1c34f320..0f9b0078659 100644 --- a/.cz-config.js +++ b/.cz-config.js @@ -1,3 +1,19 @@ +/** + * Copyright 2017 Google Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + module.exports = { types: [ {value: 'feat', name: 'feat: A new feature'}, diff --git a/integration/browserify/karma.conf.js b/integration/browserify/karma.conf.js index 5347527df1f..ca22b87178a 100644 --- a/integration/browserify/karma.conf.js +++ b/integration/browserify/karma.conf.js @@ -1,3 +1,19 @@ +/** + * Copyright 2017 Google Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + // Karma configuration module.exports = function(config) { config.set({ diff --git a/integration/browserify/namespace.test.js b/integration/browserify/namespace.test.js index 4edb37fbae2..ae821bfbc59 100644 --- a/integration/browserify/namespace.test.js +++ b/integration/browserify/namespace.test.js @@ -1,3 +1,19 @@ +/** + * Copyright 2017 Google Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + const firebase = require('firebase'); const namespaceDefinition = require('./namespaceDefinition'); const validateNamespace = require('./validator'); diff --git a/integration/browserify/runner.sh b/integration/browserify/runner.sh index 7869453c07e..af47ca46db0 100755 --- a/integration/browserify/runner.sh +++ b/integration/browserify/runner.sh @@ -1,5 +1,19 @@ #!/bin/bash +# Copyright 2017 Google Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + # Variables ROOT="$( cd "$( dirname "${BASH_SOURCE[0]}" )/../.." && pwd )" GULP_CLI="$ROOT/node_modules/.bin/gulp" diff --git a/integration/messaging/download-browsers.js b/integration/messaging/download-browsers.js index 96ce79033db..bdac0b3e9e0 100644 --- a/integration/messaging/download-browsers.js +++ b/integration/messaging/download-browsers.js @@ -1,3 +1,19 @@ +/** + * Copyright 2017 Google Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + const seleniumAssistant = require('selenium-assistant'); console.log('Starting browser download - this may take some time.'); diff --git a/integration/messaging/runner.sh b/integration/messaging/runner.sh index 2ba864bb01d..1575a6ddcde 100755 --- a/integration/messaging/runner.sh +++ b/integration/messaging/runner.sh @@ -1,5 +1,19 @@ #!/bin/bash +# Copyright 2017 Google Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + set -ev # Variables diff --git a/integration/messaging/test/send-receive-msg.js b/integration/messaging/test/send-receive-msg.js index 627a2ffeab4..c21ec37dd9a 100644 --- a/integration/messaging/test/send-receive-msg.js +++ b/integration/messaging/test/send-receive-msg.js @@ -1,3 +1,19 @@ +/** + * Copyright 2017 Google Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + const seleniumAssistant = require('selenium-assistant'); const seleniumFirefox = require('selenium-webdriver/firefox'); const seleniumChrome = require('selenium-webdriver/chrome'); diff --git a/integration/messaging/test/static/manual-test-server.js b/integration/messaging/test/static/manual-test-server.js index 6248ebaae7b..7c646fa02af 100644 --- a/integration/messaging/test/static/manual-test-server.js +++ b/integration/messaging/test/static/manual-test-server.js @@ -1,2 +1,18 @@ +/** + * Copyright 2017 Google Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + const testServer = require('./test-server'); testServer.start(); diff --git a/integration/messaging/test/static/shared-files/app.js b/integration/messaging/test/static/shared-files/app.js index af5c70a1264..2fe24c9357e 100644 --- a/integration/messaging/test/static/shared-files/app.js +++ b/integration/messaging/test/static/shared-files/app.js @@ -1,3 +1,19 @@ +/** + * Copyright 2017 Google Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + 'use strict'; /** diff --git a/integration/messaging/test/static/shared-files/firebase-messaging-sw.js b/integration/messaging/test/static/shared-files/firebase-messaging-sw.js index 52521e2efeb..64bbdbdbf81 100644 --- a/integration/messaging/test/static/shared-files/firebase-messaging-sw.js +++ b/integration/messaging/test/static/shared-files/firebase-messaging-sw.js @@ -1,3 +1,19 @@ +/** + * Copyright 2017 Google Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + importScripts('/node_modules/firebase/firebase-app.js'); importScripts('/node_modules/firebase/firebase-messaging.js'); diff --git a/integration/messaging/test/static/test-server.js b/integration/messaging/test/static/test-server.js index d890a30a819..cf1600dc740 100644 --- a/integration/messaging/test/static/test-server.js +++ b/integration/messaging/test/static/test-server.js @@ -1,3 +1,19 @@ +/** + * Copyright 2017 Google Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + const express = require('express'); const path = require('path'); diff --git a/integration/quickstart/karma.conf.js b/integration/quickstart/karma.conf.js index 18bd1b41c41..1605914e945 100644 --- a/integration/quickstart/karma.conf.js +++ b/integration/quickstart/karma.conf.js @@ -1,3 +1,19 @@ +/** + * Copyright 2017 Google Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + const path = require('path'); // Karma configuration diff --git a/integration/quickstart/runner.sh b/integration/quickstart/runner.sh index fa01390223b..dd79c997ed3 100755 --- a/integration/quickstart/runner.sh +++ b/integration/quickstart/runner.sh @@ -1,4 +1,19 @@ #!/bin/bash + +# Copyright 2017 Google Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + set -ev # Variables diff --git a/integration/quickstart/src/database.test.ts b/integration/quickstart/src/database.test.ts index 5b171f5657c..cbf56f00c7a 100644 --- a/integration/quickstart/src/database.test.ts +++ b/integration/quickstart/src/database.test.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017 Google Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + declare var $: any; declare var $$: any; declare var browser: any; diff --git a/integration/quickstart/src/storage.test.ts b/integration/quickstart/src/storage.test.ts index 94bffb70caa..23e7b441b5f 100644 --- a/integration/quickstart/src/storage.test.ts +++ b/integration/quickstart/src/storage.test.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017 Google Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + declare var browser: any; declare var window: any; diff --git a/integration/quickstart/wdio.conf.js b/integration/quickstart/wdio.conf.js index 9acc98f318a..f3c3b70cf4c 100644 --- a/integration/quickstart/wdio.conf.js +++ b/integration/quickstart/wdio.conf.js @@ -1,3 +1,19 @@ +/** + * Copyright 2017 Google Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + exports.config = { user: process.env.SAUCE_USERNAME, key: process.env.SAUCE_ACCESS_KEY, diff --git a/integration/serviceWorker/karma.conf.js b/integration/serviceWorker/karma.conf.js index 8fb5a4e895c..45d8fc0ebe1 100644 --- a/integration/serviceWorker/karma.conf.js +++ b/integration/serviceWorker/karma.conf.js @@ -1,3 +1,19 @@ +/** + * Copyright 2017 Google Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + // Karma configuration module.exports = function(config) { config.set({ diff --git a/integration/serviceWorker/runner.sh b/integration/serviceWorker/runner.sh index 47e3c82cfdf..c265f4b0f8d 100755 --- a/integration/serviceWorker/runner.sh +++ b/integration/serviceWorker/runner.sh @@ -1,5 +1,19 @@ #!/bin/bash +# Copyright 2017 Google Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + # Variables ROOT="$( cd "$( dirname "${BASH_SOURCE[0]}" )/../.." && pwd )" GULP_CLI="$ROOT/node_modules/.bin/gulp" diff --git a/integration/serviceWorker/webpack.config.js b/integration/serviceWorker/webpack.config.js index 500e1354909..43687b7de13 100644 --- a/integration/serviceWorker/webpack.config.js +++ b/integration/serviceWorker/webpack.config.js @@ -1,3 +1,19 @@ +/** + * Copyright 2017 Google Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + const path = require('path'); module.exports = { diff --git a/integration/shared/validator.js b/integration/shared/validator.js index 850d4374fc2..d364034ee74 100644 --- a/integration/shared/validator.js +++ b/integration/shared/validator.js @@ -1,3 +1,19 @@ +/** + * Copyright 2017 Google Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + function validateNamespace(definition, candidate) { const __expect = require('chai').expect; const keys = Object.keys(definition).filter(key => !~key.indexOf('__')); diff --git a/integration/typescript/karma.conf.js b/integration/typescript/karma.conf.js index 18bd1b41c41..1605914e945 100644 --- a/integration/typescript/karma.conf.js +++ b/integration/typescript/karma.conf.js @@ -1,3 +1,19 @@ +/** + * Copyright 2017 Google Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + const path = require('path'); // Karma configuration diff --git a/integration/typescript/runner.sh b/integration/typescript/runner.sh index c01c37c0ccd..44015c4360b 100755 --- a/integration/typescript/runner.sh +++ b/integration/typescript/runner.sh @@ -1,5 +1,19 @@ #!/bin/bash +# Copyright 2017 Google Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + # Variables ROOT="$( cd "$( dirname "${BASH_SOURCE[0]}" )/../.." && pwd )" GULP_CLI="$ROOT/node_modules/.bin/gulp" diff --git a/integration/typescript/src/namespace.test.ts b/integration/typescript/src/namespace.test.ts index 89d2965516e..f472022ee6a 100644 --- a/integration/typescript/src/namespace.test.ts +++ b/integration/typescript/src/namespace.test.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017 Google Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + import * as firebase from 'firebase'; import * as namespaceDefinition from './namespaceDefinition.json'; import * as validateNamespace from './validator'; diff --git a/integration/typescript/src/typings.d.ts b/integration/typescript/src/typings.d.ts index bbab69d2fb0..e75231845c8 100644 --- a/integration/typescript/src/typings.d.ts +++ b/integration/typescript/src/typings.d.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017 Google Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + declare module '*.json' { const value: any; export default value; diff --git a/integration/webpack/karma.conf.js b/integration/webpack/karma.conf.js index 5347527df1f..ca22b87178a 100644 --- a/integration/webpack/karma.conf.js +++ b/integration/webpack/karma.conf.js @@ -1,3 +1,19 @@ +/** + * Copyright 2017 Google Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + // Karma configuration module.exports = function(config) { config.set({ diff --git a/integration/webpack/namespace.test.js b/integration/webpack/namespace.test.js index 4edb37fbae2..ae821bfbc59 100644 --- a/integration/webpack/namespace.test.js +++ b/integration/webpack/namespace.test.js @@ -1,3 +1,19 @@ +/** + * Copyright 2017 Google Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + const firebase = require('firebase'); const namespaceDefinition = require('./namespaceDefinition'); const validateNamespace = require('./validator'); diff --git a/integration/webpack/runner.sh b/integration/webpack/runner.sh index bcc8b8c00fd..7b6e61a66ce 100755 --- a/integration/webpack/runner.sh +++ b/integration/webpack/runner.sh @@ -1,5 +1,19 @@ #!/bin/bash +# Copyright 2017 Google Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + # Variables ROOT="$( cd "$( dirname "${BASH_SOURCE[0]}" )/../.." && pwd )" GULP_CLI="$ROOT/node_modules/.bin/gulp" diff --git a/integration/webpack/webpack.config.js b/integration/webpack/webpack.config.js index 13e7ad402cb..3aca48345f1 100644 --- a/integration/webpack/webpack.config.js +++ b/integration/webpack/webpack.config.js @@ -1,3 +1,19 @@ +/** + * Copyright 2017 Google Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + const path = require('path'); module.exports = { diff --git a/src/utils/shims.ts b/src/utils/shims.ts index 88a7b188444..4cc251238d0 100644 --- a/src/utils/shims.ts +++ b/src/utils/shims.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2017 Google Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /** * This is the Array.prototype.findIndex polyfill from MDN * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/findIndex