Created
October 13, 2010 03:48
-
-
Save destroytoday/623393 to your computer and use it in GitHub Desktop.
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
protected function commitProperties():void | |
{ | |
if (dirtyDataFlag && data) | |
{ | |
// do something | |
if (data.name.search(/[^a-z ]/i > -1 && email) | |
{ | |
// do something with data | |
} | |
else if (data.name.search(/[^a-z ]/i > -1) | |
{ | |
// do something else with data | |
} | |
} | |
dirtyDataFlag = false; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment