Skip to content

Commit

Permalink
Protected Contexts Guide: compatibility note
Browse files Browse the repository at this point in the history
  • Loading branch information
groue committed Oct 30, 2012
1 parent b81a6d5 commit dbae016
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Guides/protected_contexts.md
Expand Up @@ -59,4 +59,13 @@ template.baseContext = [template.baseContext contextByAddingProtectedObject:prot
Now the `safe` key can not be shadowed: it will always evaluate to the `important` value.
Compatibility with other Mustache implementations
-------------------------------------------------
The [Mustache specification](https://github.com/mustache/spec) does not have any concept of "protected objects".
**If your goal is to design templates that remain compatible with [other Mustache implementations](https://github.com/defunkt/mustache/wiki/Other-Mustache-implementations), use protected objects with great care.**
[up](../../../../GRMustache#documentation), [next](../../../tree/master/Guides/sample_code)

0 comments on commit dbae016

Please sign in to comment.