Skip to content

Commit

Permalink
Merge pull request #1 from facebook/runtime-style-tweaks
Browse files Browse the repository at this point in the history
Counter pull request!
  • Loading branch information
cpojer committed Oct 24, 2013
2 parents 8e3c0a5 + fc25eea commit d414a29
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
8 changes: 3 additions & 5 deletions runtime/dev.js
Expand Up @@ -125,12 +125,10 @@

// Pre-initialize at least 20 temporary variables to enable hidden
// class optimizations for simple generators.
var tempIndex = 0;
var tempName;
while ((tempName = "t" + tempIndex) &&
(tempIndex < 20 || hasOwn.call(this, tempName))) {
for (var tempIndex = 0, tempName;
hasOwn.call(this, tempName = "t" + tempIndex) || tempIndex < 20;
++tempIndex) {
this[tempName] = null;
++tempIndex;
}
},

Expand Down
3 changes: 1 addition & 2 deletions runtime/min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit d414a29

Please sign in to comment.