dojo / has

:rocket: Dojo 2 - feature detection library.
http://dojo.io
Other
3 stars 18 forks source link

README suggestions #66

Closed maier49 closed 6 years ago

maier49 commented 6 years ago
  1. make certain branches of code "dead" which can be elided

    Would be clearer as

    create "dead" code branches which can be elided

  2. The most common feature is branching in code based upon a feature flag

    Usage of features is a little ambigious, perhaps would be better written as

    The most common use case is...

  3. Provides a way to code path

    Should be

    Provides a way to create a code path

  4. just as if you were just directly importing

    Should be

    just as if you were directly importing

  5. how those features a subsequently

    Should be

    how those features are subsequently

  6. like when using a build tool Might be better phrased as for example when using a build tool

  7. it will still complete and not throw although if specified as function, the function will never be invoked.

    Could be cleaned up to say

    it will still complete and not throw. If specified as a function, the function will never be invoked.

  8. returns an map

    Should be

    returns a map

  9. projects package.json

    Should be

    project's package.json