Update compiler.js

This commit is contained in:
VoR0220 2015-10-25 14:11:49 -05:00 committed by Iuri Matias
parent a734eb2b7c
commit ce7693eca2
1 changed files with 1 additions and 1 deletions

View File

@ -84,7 +84,7 @@ Compiler.prototype.compile_serpent = function(contractFile) {
Compiler.prototype.compile = function(contractFiles) {
var solidity = [], serpent = [];
for (contract in contractFiles) {
for (var contractFile in contractFiles) {
var extension = contractFile.split('.')[1];
if (extension === 'sol') {
solidity.push(contractFile);