From c04fa2fcaaa754eef52e40b3f136a6340544d76b Mon Sep 17 00:00:00 2001 From: Jordan Morgan Date: Wed, 30 May 2018 11:45:37 -0700 Subject: [PATCH] Add correct comment syntax for Remodel Summary: Using "//" causing a parsing issue with Remodel, whereas "#" appears to be the correct syntax. This pull simply updates the code sample using the correct syntax. - [x] All tests pass. Demo project builds and runs. - [x] I added tests, an experiment, or detailed why my change isn't tested. - [ ] I added an entry to the `CHANGELOG.md` for any breaking changes, enhancements, or bug fixes. - [x] I have reviewed the [contributing guide](https://github.com/Instagram/IGListKit/blob/master/.github/CONTRIBUTING.md) Closes https://github.com/Instagram/IGListKit/pull/1169 Differential Revision: D8204551 Pulled By: rnystrom fbshipit-source-id: 3c77bb943cf2b99e1c48f74f72560c56601c026d --- Guides/Generating your models.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Guides/Generating your models.md b/Guides/Generating your models.md index eef8b688..28200d33 100644 --- a/Guides/Generating your models.md +++ b/Guides/Generating your models.md @@ -64,7 +64,7 @@ This is especially useful if you plan to change/extend the plugin in any way. Now you are ready to generate your `IGListDiffable` conforming models! To generate a model, create a new `.value` file. Here's an example: ``` -// PersonModel.value +# PersonModel.value PersonModel includes(IGListDiffable) { NSString *firstName NSString *lastName @@ -164,4 +164,4 @@ and ## Documentation -Please see the main remodel repository for [additional documentation](https://github.com/facebook/remodel) \ No newline at end of file +Please see the main remodel repository for [additional documentation](https://github.com/facebook/remodel)