Skip to content
This repository has been archived by the owner on Apr 22, 2020. It is now read-only.

Commit

Permalink
make window an alias for global scope when interpreting JS
Browse files Browse the repository at this point in the history
  • Loading branch information
[email protected] committed Mar 4, 2013
1 parent d8c7a78 commit abb06d9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tools/lang-handler-aliases.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ for JS in "$LANG_DIR"/lang-*.js; do
("$JS_INTERPRETER" \
<(echo '
var window = this;
var PR = {
registerLangHandler: function (_, exts) {
for (var i = 0, n = exts.length; i < n; ++i) {
Expand Down

0 comments on commit abb06d9

Please sign in to comment.