IjzerenHein / famous-flex

Animatable layouts, FlexScrollView & widgets for famo.us.
MIT License
279 stars 44 forks source link

Correction in documentation #129

Closed atgillette closed 8 years ago

atgillette commented 8 years ago

Hi,

I came across this:

function _createSection() {
    var surface = new Surface({..});
    surface.isSection = true;
    var renderNode = new RenderNode(new Modifier({
        transform: Transform.infront
    }));
    renderNode.add(surface);
    return renderNode;
}

It should be this:

function _createSection() {
    var surface = new Surface({..});
    var renderNode = new RenderNode(new Modifier({
        transform: Transform.inFront
    }));
    renderNode.add(surface);
    renderNode.isSection = true;
    return renderNode;
}
IjzerenHein commented 8 years ago

Ah thank you very much. I've updated the docs. Cheers

atgillette commented 8 years ago

Thanks for making the correction