Skip to content

Conversation

@anmol678
Copy link
Member

Created Page controller based on showController.ts
#22

@anmol678 anmol678 requested a review from binerys February 28, 2018 10:18
/**
* Creates a page with the given attribues
*
* @param attributes
Copy link
Member

Choose a reason for hiding this comment

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

Add types to your JSDoc comments!

@nathanmsmith
Copy link
Member

Looks good once you add some tests, too @anmol678! See @tanzeelak's PR (#27) for reference.

* Deletes a page. Returns true if the page was successfully deleted, false otherwise.
*
* @param id
* @param {numebr} id
Copy link
Member

Choose a reason for hiding this comment

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

number

/**
* Creates a page with the given attribues
*
* @param {PageLinkAttributes} attributes
Copy link
Member

Choose a reason for hiding this comment

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

Can each JSDoc comment have the following properties:

@tanzeelak is also working on this for her PR (#27)!

@nathanmsmith
Copy link
Member

Also it looks like some of your tests are failing! Could you see what's happening there @anmol678?

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.

3 participants