linkedin/dustjs — pull request #420 by kate2753 (2014-02-12 03:42:49+00:00)
Title: Back compatible compiler

In Dust 2.2.0 we've introduced backward incompatible change to the compiler (using `Context.prototype._get` instead of `Context.prototype.get` and `Context.prototype.getPath`). `_get` method was added to Dust 2.2.0 runtime. With that change, templates compiled in 2.2.0 and newer can not be rendered with Dust runtimes prior to 2.2.0.

This pull request makes sure that older Dust runtimes (before 2.2.0) can render templates compiled with Dust 2.2.6 and beyond and 2.3.4 and beyond.

I am switching compiler from `_get` to `get`. This way older runtimes will use old implementation of `get` method. Newer runtimes will use new implementation of `get` method which calls `_get` under the hood.

Patching 2.2.x and 2.3.x versions