Merge branch 'release/2.0.0-beta2' into production

This commit is contained in:
Raymond Feng 2014-07-17 09:05:46 -07:00
commit 85c40c635a
1 changed files with 4 additions and 0 deletions

View File

@ -68,6 +68,10 @@ function createBrowserLikeContext() {
// used by `debug` module
document: { documentElement: { style: {} } },
// used by crypto-browserify & friends
Int32Array: Int32Array,
DataView: DataView,
// allow the browserified code to log messages
// call `printContextLogs(context)` to print the accumulated messages
console: {