Skip to content

Instantly share code, notes, and snippets.

@llimllib
Created October 13, 2010 16:38
Show Gist options
  • Save llimllib/624410 to your computer and use it in GitHub Desktop.
Save llimllib/624410 to your computer and use it in GitHub Desktop.
protected function commitProperties():void
{
if (dirtyDataFlag && data && data.name.search(/[^a-z ]/i > -1))
{
foo(data);
if(email)
{
bar(data);
}
}
dirtyDataFlag = false;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment