Skip to content

Make string path shorthands consistent and opt-in #233

Description

@jgonggrijp

Following up on #231, jashkenas/underscore#2877 and #220 (stage 4):

  • Turn the internal keysFromPath function into a public function that can optionally be used to override the new _.toPath function in the upcoming core Underscore 1.12.
  • In all functions that work with paths, use the new _.get from core Underscore 1.12.
  • Update the documentation to reflect that path behavior is configurable from a single point of truth.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    after modulesThis should be postponed until after modularization (temporary label, see #220)docsenhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions