Skip to content

Commit

Permalink
Hide goog & cljs object from console global watcher
Browse files Browse the repository at this point in the history
  • Loading branch information
princejwesley committed Mar 27, 2016
1 parent 3c2c51f commit 6dbc341
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/common/ReplContext.js
Original file line number Diff line number Diff line change
Expand Up @@ -183,5 +183,7 @@ let builtIns = () => {
return systemVariables;
};

const alphaNames = Object.getOwnPropertyNames(createContext());
// hiding cljs objects exposed
const alphaNames = Object.getOwnPropertyNames(createContext())
.concat(['goog', 'cljs']);
export default { createContext, getContext, builtIns, hookContext, alphaNames };

0 comments on commit 6dbc341

Please sign in to comment.