Skip to content
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

Remove scrolling in FOAM Example #551

Closed
wants to merge 4 commits into from

Conversation

bartonhammond
Copy link
Contributor

Allow display of entire code/example w/o scrolling
Increase display size

Changed to:
screen shot 2016-03-30 at 10 33 50 am

From:
screen shot 2016-03-30 at 10 33 35 am

@bartonhammond
Copy link
Contributor Author

Person Model was displayed twice

@bartonhammond
Copy link
Contributor Author

The following code has no effect on display. Either display is wrong or this code is irrelevant.

      // Format table cells that contain children: List first names.
      tableFormatter: function(children) {
        if ( ! children ) return '';
        return children.map(function(c) { return c.firstName; }).join(', ');
      }

@kgrgreer
Copy link
Contributor

@bartonhammond

Person Model was displayed twice

What do you mean? There are two people: Jaden and Willow, which is why there are two Persons shown. Is that what you mean?

@bartonhammond
Copy link
Contributor Author

The definition/declaration was twice - I removed the unnecessary duplicate:

        <code-snippet ref="Person" title="Person Model" />

@kgrgreer
Copy link
Contributor

@bartonhammond

The following code has no effect on display. Either display is wrong or this code is irrelevant.

The data in the third-column appears as:
Jaden, Willow

Which is the result of this tableFormatter.

It affects the output in example 1.3.11, but it doesn't have any change in 1.3.10, which isn't a table. Is that what you mean?

@kgrgreer
Copy link
Contributor

I see. Thx

On 31 March 2016 at 16:49, Barton Hammond notifications@github.com wrote:

The definition/declaration was twice - I removed the unnecessary duplicate:

    <code-snippet ref="Person" title="Person Model" />


You are receiving this because you commented.
Reply to this email directly or view it on GitHub
#551 (comment)

@bartonhammond
Copy link
Contributor Author

... it doesn't have any change in 1.3.10, which isn't a table. Is that what you mean?

Yes

@kgrgreer
Copy link
Contributor

It's the same Model referenced from both examples (and another one as well), which is why the tableFormatter appears. I've added a comment to explain this.

@kgrgreer
Copy link
Contributor

kgrgreer commented Apr 5, 2016

All suggestions have been addressed, one way or another. Thank you very much.

@kgrgreer kgrgreer closed this Apr 5, 2016
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.

None yet

2 participants