Skip to content

Conversation

silvioprog
Copy link
Contributor

No description provided.

Copy link
Collaborator

@Uzlopak Uzlopak left a comment

Choose a reason for hiding this comment

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

Can you please consider these changes?

src/jspdf.js Outdated
* @name setProperties
* @name setDocumentProperties
*/
var setDocumentProperties = API.__private__.setDocumentProperties = API.setProperties = function (properties) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
var setDocumentProperties = API.__private__.setDocumentProperties = API.setProperties = function (properties) {
var setDocumentProperties = API.__private__.setDocumentProperties = API.setProperties = API.setDocumentProperties = function (properties) {

Well better to add this additional methodname and keep "setProperties" for backwards compatibility

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Hi @arasabbasi , thanks for answering! :-) I totally agree with you. I'm going to do it right now ...

src/jspdf.js Outdated
* Sets the LineHeightFactor of proportion.
*
* @param {number} value of proportion. default: 1.15
* @param {number} value Lineheight value. Default: 1.15.
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
* @param {number} value Lineheight value. Default: 1.15.
* @param {number} value LineHeightFactor value. Default: 1.15.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Indeed. I'm going to send a new PR ...

@silvioprog
Copy link
Contributor Author

Hi @arasabbasi , applied all suggested changes. :)

@Uzlopak Uzlopak merged commit 65bba3c into parallax:master Dec 19, 2018
@Uzlopak
Copy link
Collaborator

Uzlopak commented Dec 19, 2018

@silvioprog
thank you :)

@silvioprog
Copy link
Contributor Author

Thank you very much @arasabbasi ! 😃

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.

2 participants