Skip to content

Instantly share code, notes, and snippets.

@lucassmagal
Created July 4, 2013 14:18
Show Gist options
  • Save lucassmagal/5928161 to your computer and use it in GitHub Desktop.
Save lucassmagal/5928161 to your computer and use it in GitHub Desktop.
if(!FOO.resources)
if(FOO.resources.fundos)
if(FOO.fragments)
if(FOO.fragments.legend_item)
if(FOO.state)
if(Object.keys(FOO.benchmarks).length == FOO.preloadable.benchmarks.length) {
return;
}
if (!(FOO.resources && FOO.resources.fundos
&& FOO.fragments && FOO.fragments.legend_item && FOO.state
&& Object.keys(FOO.benchmarks).length == FOO.preloadable.benchmarks.length)) return;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment