- bump to mocha 1.21.5 in order to remove "*" version-range on the
"debug"-dependency
- explicit use of "dot"-reporter for mocha 1.21.5, fixes failing tests
of console.log output
- fix tests running in the browser: assign variable "global" with
global "this", backport from master-branch
- sync saucelab config with master branch:
- Remove Safari 6 and 7 that are not supported by saucelabs anymore
and cause timeouts when running the saucelabs tests.
- Add Safari 8 and Safari 9
- Note: The tests fail with Safari 9 and 10 because in these versions
the "column"-property of "Error" is read-only
(see https://github.com/jquery/esprima/issues/1290)
- Firefox needs explicit platform specifier
Converts the tool chain to use babel, eslint, and webpack vs. the previous proprietary solutions.
Additionally begins enforcing additional linting concerns as well as updates the code to reflect these rules.
Fixes#855Fixes#993
This allows us to avoid creating unnecessary AST nodes and avoids things like isHelper.
Side effect of these changes is that @data functions can now have data parameters passed to them.
Causes templates to throw when lookup fields are not defined within the context. Strict mode will throw when any field is omitted. assumeObjects mode maintains the existing behavior of outputting an empty response when fields are not defined but allows for performance/size optimizations by not doing safety checks for intermediate objects in the lookup chain.
Strict mode effectively disables the helperMissing and inverse handling for blockHelperMissing as templates will throw rather than call those features for missing data fields.
Fixes#651Fixes#805
Fixes a very specific error case where deduped children won’t receive the depths object due to it being omitted by the caller when optimizing.
Fixes#926
Rather than keeping state in the AST, which requires some gymnastics, we create a separate visitor flow which does the top down iteration necessary to calculate all of the state needed for proper whitespace control evaluation.
This is a breaking change for string mode users as there is no longer a distinct type for data parameters. Instead data consumers should look for the @ prefix value.