Skip to content

Commit

Permalink
Add cloneEnvironment
Browse files Browse the repository at this point in the history
  • Loading branch information
Constellation committed Dec 30, 2014
1 parent 861caf8 commit 2d1179e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion estraverse.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
} else {
factory((root.estraverse = {}));
}
}(this, function (exports) {
}(this, function clone(exports) {
'use strict';

var Syntax,
Expand Down Expand Up @@ -836,5 +836,8 @@
exports.VisitorKeys = VisitorKeys;
exports.VisitorOption = VisitorOption;
exports.Controller = Controller;
exports.cloneEnvironment = function () { return clone({}); };

return exports;
}));
/* vim: set sw=4 ts=4 et tw=80 : */

0 comments on commit 2d1179e

Please sign in to comment.