-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Fixed documentation. #2156
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
Fixed documentation. #2156
Conversation
There was a problem hiding this 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) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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
There was a problem hiding this comment.
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. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* @param {number} value Lineheight value. Default: 1.15. | |
* @param {number} value LineHeightFactor value. Default: 1.15. |
There was a problem hiding this comment.
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 ...
Hi @arasabbasi , applied all suggested changes. :) |
@silvioprog |
Thank you very much @arasabbasi ! 😃 |
No description provided.