diff --git a/mustache.js b/mustache.js index af48fd1..cfb25e6 100644 --- a/mustache.js +++ b/mustache.js @@ -127,7 +127,7 @@ }; function Context(view, parent) { - this.view = view; + this.view = view || {}; this.parent = parent; this._cache = {}; }