Last active
November 17, 2015 15:20
-
-
Save aj07mm/ced48a900cbb91745168 to your computer and use it in GitHub Desktop.
closure forinforin
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//agora vai | |
for(id_pontoreferencia in obj_diff){ | |
for(id_linha in obj_diff[id_pontoreferencia]){ | |
diff = this.getDiff(obj_diff[id_pontoreferencia][id_linha]); | |
this.update(id_pontoreferencia, id_linha, diff.max()/60); | |
//zera diff de cada linha do ponto | |
diff = []; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment