Commit 31eaeb95 authored by Luke "Jared" Bennett's avatar Luke "Jared" Bennett

Add define and require to window in vs transform

parent 50267d13
...@@ -216,6 +216,7 @@ var config = { ...@@ -216,6 +216,7 @@ var config = {
return ( return (
'(function(){\n' + '(function(){\n' +
'var define = this.define, require = this.require;\n' + 'var define = this.define, require = this.require;\n' +
'window.define = define; window.require = require;\n' +
content + content +
'\n}.call(window.__monaco_context__ || (window.__monaco_context__ = {})));' '\n}.call(window.__monaco_context__ || (window.__monaco_context__ = {})));'
); );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment