Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add license header to source files #3206

Merged
merged 2 commits into from
Feb 8, 2017
Merged

Conversation

hellochar
Copy link
Contributor

now that we release modules, all source files (that get compiled into
the /build folder) should have license headers.

now that we release modules, all source files (that get compiled into
the /build folder) should have license headers.
@@ -1,5 +1,5 @@
/*!
Plottable @VERSION (https://github.com/palantir/plottable)
Copyright 2014-2017 Palantir Technologies
Copyright 2014-present Palantir Technologies
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this correct?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah I think "present" is an acceptable thing to put here; @themadcreator @adidahiya ?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Facebook uses this style in their react headers: e.g. https://cdnjs.cloudflare.com/ajax/libs/react/15.4.2/react.js

@hellochar hellochar modified the milestone: v3.0.0 Feb 6, 2017
Copy link
Contributor

@themadcreator themadcreator left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I kind of wanted:

/**
 * Copyright ...
 */

but this is fine

Copy link
Contributor

@adidahiya adidahiya left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if we're making changes here, might as well do JSDoc license headers. http://usejsdoc.org/tags-license.html

@hellochar
Copy link
Contributor Author

@adidahiya @themadcreator how's that?

@blueprint-bot
Copy link

use jsdoc license headers

Demo: quicktests | fiddle

@hellochar hellochar merged commit 161aac5 into develop Feb 8, 2017
@hellochar hellochar deleted the xzhang/add-license-headers branch February 8, 2017 13:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants