Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: janl/mustache.js Loading
base: v2.3.2
Choose a base ref
...
head repository: janl/mustache.js Loading
compare: v3.0.0
Choose a head ref
  • 7 commits
  • 11 files changed
  • 3 contributors

Commits on Aug 25, 2018

  1. Reintroduce pull requests #643 and #664, and update description for

    parse method
    raymond-lam authored and phillipj committed Aug 25, 2018
    Configuration menu
    Copy the full SHA
    7845848 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8e45409 View commit details
    Browse the repository at this point in the history
  3. Add tags parameter to .render()

    raymond-lam authored and phillipj committed Aug 25, 2018
    Configuration menu
    Copy the full SHA
    efdeb55 View commit details
    Browse the repository at this point in the history
  4. Allow rendering properties of primitive types that are not objects (#618

    )
    
    * prevent value from being returned by Context.prototype.lookup if lookupHit is false
    
    * add test for renderability of Array.length via dot notation
    
    * Remove `typeof obj === 'object'` constraint in prop lookup
    
    Allows rendering properties of primitive types that are not objects, such as a string.
    
    * pop lookup needs to use hasOwnProperty for non-objs
    
    * re-add  constraint in prop lookup, but make property lookups for primitives possible through dot notation
    
    * add test to address #589 specifically
    
    * enhance readability of primitiveHasOwnProperty and add comments to explain why it is used in one case but not the other
    raymond-lam authored and phillipj committed Aug 25, 2018
    Configuration menu
    Copy the full SHA
    a2699e4 View commit details
    Browse the repository at this point in the history

Commits on Sep 16, 2018

  1. Changelog for v3.0.0 (#674)

    Added changelog for about to be published version with migration guides
    for changes that might be considered unexpected.
    phillipj committed Sep 16, 2018
    Configuration menu
    Copy the full SHA
    8ee916a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f452acb View commit details
    Browse the repository at this point in the history
  3. 🚢 bump to version 3.0.0

    phillipj committed Sep 16, 2018
    Configuration menu
    Copy the full SHA
    17510f0 View commit details
    Browse the repository at this point in the history
Loading