Skip to content

Patterns not consistently used #107

@suspectpart

Description

@suspectpart

In explanations for certain patterns, other anti-patterns are often used. I.E. in the explanation code for the "Single var pattern", the patterns for "Function Declarations" and "Access to the Global Object" are both ignored:

function updateElement() {
var el = document.getElementById("result")
, style = el.style;
// do something with el and style...
}

Shouldn't all patterns be used consistently, with only changing the focus example by example?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions