Skip to content

Commit f624b29

Browse files
authored
Adds @license JSDoc tag to license comments (#1102)
Adds @license JSDoc tag to license comments
1 parent 73638aa commit f624b29

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+48
-3
lines changed

gulpfile.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
/*!
2+
* @license
23
* Copyright 2017 Google Inc.
34
*
45
* Licensed under the Apache License, Version 2.0 (the "License");

src/auth/auth-api-request.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
/*!
2+
* @license
23
* Copyright 2017 Google Inc.
34
*
45
* Licensed under the Apache License, Version 2.0 (the "License");

src/auth/auth.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
/*!
2+
* @license
23
* Copyright 2017 Google Inc.
34
*
45
* Licensed under the Apache License, Version 2.0 (the "License");

src/auth/token-generator.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
/*!
2+
* @license
23
* Copyright 2017 Google Inc.
34
*
45
* Licensed under the Apache License, Version 2.0 (the "License");

src/auth/user-record.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
/*!
2+
* @license
23
* Copyright 2017 Google Inc.
34
*
45
* Licensed under the Apache License, Version 2.0 (the "License");

src/credential/credential.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
/*!
2+
* @license
23
* Copyright 2017 Google Inc.
34
*
45
* Licensed under the Apache License, Version 2.0 (the "License");

src/default-namespace.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
/*!
2+
* @license
23
* Copyright 2017 Google Inc.
34
*
45
* Licensed under the Apache License, Version 2.0 (the "License");

src/firebase-app.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
/*!
2+
* @license
23
* Copyright 2017 Google Inc.
34
*
45
* Licensed under the Apache License, Version 2.0 (the "License");

src/firebase-namespace.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
/*!
2+
* @license
23
* Copyright 2017 Google Inc.
34
*
45
* Licensed under the Apache License, Version 2.0 (the "License");

src/firebase-service.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
/*!
2+
* @license
23
* Copyright 2017 Google Inc.
34
*
45
* Licensed under the Apache License, Version 2.0 (the "License");

src/firestore/firestore-internal.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
/*!
2+
* @license
23
* Copyright 2017 Google Inc.
34
*
45
* Licensed under the Apache License, Version 2.0 (the "License");

src/index.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
/*!
2+
* @license
23
* Copyright 2017 Google Inc.
34
*
45
* Licensed under the Apache License, Version 2.0 (the "License");

src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
/*!
2+
* @license
23
* Copyright 2017 Google Inc.
34
*
45
* Licensed under the Apache License, Version 2.0 (the "License");

src/instance-id/instance-id-request-internal.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
/*!
2+
* @license
23
* Copyright 2017 Google Inc.
34
*
45
* Licensed under the Apache License, Version 2.0 (the "License");

src/messaging/messaging-api-request-internal.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
/*!
2+
* @license
23
* Copyright 2017 Google Inc.
34
*
45
* Licensed under the Apache License, Version 2.0 (the "License");

src/messaging/messaging.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
/*!
2+
* @license
23
* Copyright 2017 Google Inc.
34
*
45
* Licensed under the Apache License, Version 2.0 (the "License");

src/storage/storage.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
/*!
2+
* @license
23
* Copyright 2017 Google Inc.
34
*
45
* Licensed under the Apache License, Version 2.0 (the "License");

src/utils/api-request.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
/*!
2+
* @license
23
* Copyright 2017 Google Inc.
34
*
45
* Licensed under the Apache License, Version 2.0 (the "License");

src/utils/deep-copy.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
/*!
2+
* @license
23
* Copyright 2017 Google Inc.
34
*
45
* Licensed under the Apache License, Version 2.0 (the "License");

src/utils/error.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
/*!
2+
* @license
23
* Copyright 2017 Google Inc.
34
*
45
* Licensed under the Apache License, Version 2.0 (the "License");

src/utils/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
/*!
2+
* @license
23
* Copyright 2017 Google Inc.
34
*
45
* Licensed under the Apache License, Version 2.0 (the "License");

src/utils/validator.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
/*!
2+
* @license
23
* Copyright 2017 Google Inc.
34
*
45
* Licensed under the Apache License, Version 2.0 (the "License");

test/integration/typescript/src/example.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
/*!
2+
* @license
23
* Copyright 2017 Google Inc.
34
*
45
* Licensed under the Apache License, Version 2.0 (the "License");

test/integration/typescript/src/example.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
/*!
2+
* @license
23
* Copyright 2017 Google Inc.
34
*
45
* Licensed under the Apache License, Version 2.0 (the "License");

test/resources/mocks.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
/*!
2+
* @license
23
* Copyright 2017 Google Inc.
34
*
45
* Licensed under the Apache License, Version 2.0 (the "License");

test/unit/auth/auth-api-request.spec.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
/*!
2+
* @license
23
* Copyright 2017 Google Inc.
34
*
45
* Licensed under the Apache License, Version 2.0 (the "License");
@@ -934,7 +935,7 @@ AUTH_REQUEST_HANDLER_TESTS.forEach((handler) => {
934935
data,
935936
headers: expectedHeaders,
936937
timeout,
937-
});
938+
});
938939
});
939940
});
940941

@@ -954,7 +955,7 @@ AUTH_REQUEST_HANDLER_TESTS.forEach((handler) => {
954955
data,
955956
headers: expectedHeadersEmulator,
956957
timeout,
957-
});
958+
});
958959
});
959960
});
960961
});

test/unit/auth/auth.spec.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
/*!
2+
* @license
23
* Copyright 2017 Google Inc.
34
*
45
* Licensed under the Apache License, Version 2.0 (the "License");

test/unit/auth/token-generator.spec.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
/*!
2+
* @license
23
* Copyright 2017 Google Inc.
34
*
45
* Licensed under the Apache License, Version 2.0 (the "License");
@@ -311,7 +312,7 @@ describe('FirebaseTokenGenerator', () => {
311312
describe('Emulator', () => {
312313
const signer = new EmulatedSigner();
313314
const tokenGenerator = new FirebaseTokenGenerator(signer);
314-
315+
315316
it('should generate a valid unsigned token', async () => {
316317
const uid = 'uid123';
317318
const claims = { foo: 'bar' };

test/unit/auth/user-record.spec.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
/*!
2+
* @license
23
* Copyright 2017 Google Inc.
34
*
45
* Licensed under the Apache License, Version 2.0 (the "License");

test/unit/credential/credential.spec.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
/*!
2+
* @license
23
* Copyright 2017 Google Inc.
34
*
45
* Licensed under the Apache License, Version 2.0 (the "License");

test/unit/database/database.spec.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
/*!
2+
* @license
23
* Copyright 2017 Google Inc.
34
*
45
* Licensed under the Apache License, Version 2.0 (the "License");

test/unit/firebase-app.spec.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
/*!
2+
* @license
23
* Copyright 2017 Google Inc.
34
*
45
* Licensed under the Apache License, Version 2.0 (the "License");

test/unit/firebase-namespace.spec.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
/*!
2+
* @license
23
* Copyright 2017 Google Inc.
34
*
45
* Licensed under the Apache License, Version 2.0 (the "License");

test/unit/firebase.spec.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
/*!
2+
* @license
23
* Copyright 2017 Google Inc.
34
*
45
* Licensed under the Apache License, Version 2.0 (the "License");

test/unit/firestore/firestore.spec.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
/*!
2+
* @license
23
* Copyright 2017 Google Inc.
34
*
45
* Licensed under the Apache License, Version 2.0 (the "License");

test/unit/index.spec.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
/*!
2+
* @license
23
* Copyright 2017 Google Inc.
34
*
45
* Licensed under the Apache License, Version 2.0 (the "License");

test/unit/instance-id/instance-id-request.spec.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
/*!
2+
* @license
23
* Copyright 2017 Google Inc.
34
*
45
* Licensed under the Apache License, Version 2.0 (the "License");

test/unit/instance-id/instance-id.spec.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
/*!
2+
* @license
23
* Copyright 2017 Google Inc.
34
*
45
* Licensed under the Apache License, Version 2.0 (the "License");

test/unit/messaging/messaging.spec.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
/*!
2+
* @license
23
* Copyright 2017 Google Inc.
34
*
45
* Licensed under the Apache License, Version 2.0 (the "License");

test/unit/storage/storage.spec.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
/*!
2+
* @license
23
* Copyright 2017 Google Inc.
34
*
45
* Licensed under the Apache License, Version 2.0 (the "License");

test/unit/utils.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
/*!
2+
* @license
23
* Copyright 2017 Google Inc.
34
*
45
* Licensed under the Apache License, Version 2.0 (the "License");

test/unit/utils/api-request.spec.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
/*!
2+
* @license
23
* Copyright 2017 Google Inc.
34
*
45
* Licensed under the Apache License, Version 2.0 (the "License");

test/unit/utils/error.spec.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
/*!
2+
* @license
23
* Copyright 2017 Google Inc.
34
*
45
* Licensed under the Apache License, Version 2.0 (the "License");

test/unit/utils/index.spec.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
/*!
2+
* @license
23
* Copyright 2017 Google Inc.
34
*
45
* Licensed under the Apache License, Version 2.0 (the "License");

test/unit/utils/validator.spec.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
/*!
2+
* @license
23
* Copyright 2017 Google Inc.
34
*
45
* Licensed under the Apache License, Version 2.0 (the "License");

0 commit comments

Comments
 (0)