env: fix environment.

This commit is contained in:
Christopher Jeffrey 2017-06-26 17:45:15 -07:00
parent 19f236f740
commit 7ab6818210
No known key found for this signature in database
GPG Key ID: 8962AB9DE6666BBD

View File

@ -302,7 +302,7 @@ Environment.prototype.cache = function cache() {
* Cache all necessary modules.
*/
Evironment.prototype.require = function _require(name, path) {
Environment.prototype.require = function _require(name, path) {
var cache;
this.__defineGetter__(name, function() {
if (!cache)