Carets -- Lauren Cardella & Victoria Sawchuk#18
Open
vsawchuk wants to merge 32 commits intoAda-C8:masterfrom
Open
Carets -- Lauren Cardella & Victoria Sawchuk#18vsawchuk wants to merge 32 commits intoAda-C8:masterfrom
vsawchuk wants to merge 32 commits intoAda-C8:masterfrom
Conversation
…to reset the URL with the query parameter added.
…l form in movie view. Form is not showing in the right place.
…lt speed. Add hide function to remove the other div if displayed when the button is clicked.
…change product cards from a ul to a section
…tional movie model attributes in initialize
…ntory through form
…omer list and list view in app.js. Customer list renders in the browser.
…ear, and condense address.
…t for the rental list view
|
I'm not sure I can edit the original pull request comment, so I am adding my answer to the comprehension question here. Victoria helped me better understand the flow of events through Backbone Models, Collections and Views. |
Video Store ConsumerWhat We're Looking For
|
CheezItMan
reviewed
Jan 1, 2018
|
|
||
| const MovieList = Backbone.Collection.extend({ | ||
| model: Movie, | ||
| url: 'http://localhost:3000/movies/', |
There was a problem hiding this comment.
You can also make url a function like:
url() {
return query ? `http://localhost:3000/movies/${query}`: 'http://localhost:3000/movies/';
}
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Video Store Consumer
Congratulations! You're submitting your assignment!
Comprehension Questions