Skip to content

Commit

Permalink
Abstract copyright statement (#257)
Browse files Browse the repository at this point in the history
* Update and recompile all child elements to include LICENSE dynamically

* Add a quick way to update the license across the repo

* Clean up the rhelement copyright functionality

* Add extra newline for better clarity

* updating license references to 2019
  • Loading branch information
castastrophe authored and kylebuch8 committed Jan 10, 2019
1 parent 2f8eebf commit b3c347d
Show file tree
Hide file tree
Showing 61 changed files with 601 additions and 373 deletions.
2 changes: 1 addition & 1 deletion LICENSE.txt
@@ -1,4 +1,4 @@
Copyright 2018 Red Hat, Inc.
Copyright 2019 Red Hat, 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
Expand Down
2 changes: 1 addition & 1 deletion elements/pfe-accordion/LICENSE.txt
@@ -1,4 +1,4 @@
Copyright 2018 Red Hat, Inc.
Copyright 2019 Red Hat, 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
Expand Down
11 changes: 6 additions & 5 deletions elements/pfe-accordion/pfe-accordion.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion elements/pfe-accordion/pfe-accordion.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion elements/pfe-accordion/pfe-accordion.umd.js.map

Large diffs are not rendered by default.

22 changes: 0 additions & 22 deletions elements/pfe-accordion/src/pfe-accordion.js
@@ -1,25 +1,3 @@
/*
* Copyright 2018 Red Hat, 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.
*/

import PFElement from "../pfelement/pfelement.js";

// https://tc39.github.io/ecma262/#sec-array.prototype.findIndex
Expand Down
2 changes: 1 addition & 1 deletion elements/pfe-card/LICENSE.txt
@@ -1,4 +1,4 @@
Copyright 2018 Red Hat, Inc.
Copyright 2019 Red Hat, 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
Expand Down
11 changes: 6 additions & 5 deletions elements/pfe-card/pfe-card.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion elements/pfe-card/pfe-card.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion elements/pfe-card/pfe-card.umd.js.map

Large diffs are not rendered by default.

22 changes: 0 additions & 22 deletions elements/pfe-card/src/pfe-card.js
@@ -1,25 +1,3 @@
/*
* Copyright 2018 Red Hat, 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.
*/

import PFElement from "../pfelement/pfelement.js";

class PfeCard extends PFElement {
Expand Down
2 changes: 1 addition & 1 deletion elements/pfe-cta/LICENSE.txt
@@ -1,4 +1,4 @@
Copyright 2018 Red Hat, Inc.
Copyright 2019 Red Hat, 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
Expand Down
11 changes: 6 additions & 5 deletions elements/pfe-cta/pfe-cta.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion elements/pfe-cta/pfe-cta.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion elements/pfe-cta/pfe-cta.umd.js.map

Large diffs are not rendered by default.

22 changes: 0 additions & 22 deletions elements/pfe-cta/src/pfe-cta.js
@@ -1,25 +1,3 @@
/*
* Copyright 2018 Red Hat, 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.
*/

import PFElement from "../pfelement/pfelement.js";

class PfeCta extends PFElement {
Expand Down
2 changes: 1 addition & 1 deletion elements/pfe-datetime/LICENSE.txt
@@ -1,4 +1,4 @@
Copyright 2018 Red Hat, Inc.
Copyright 2019 Red Hat, 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
Expand Down
11 changes: 6 additions & 5 deletions elements/pfe-datetime/pfe-datetime.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion elements/pfe-datetime/pfe-datetime.js.map

Large diffs are not rendered by default.

0 comments on commit b3c347d

Please sign in to comment.