Created
January 13, 2012 05:03
-
-
Save rhyolight/1604766 to your computer and use it in GitHub Desktop.
what not to do
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
| do { | |
| if (parts[pathIndex + 2]) { | |
| id = parts[pathIndex + 2]; | |
| type = parts[pathIndex + 1]; | |
| } else if (parts[pathIndex + 1]) { | |
| // there is no id | |
| type = parts[pathIndex + 1]; | |
| } | |
| pathIndex += 2; | |
| } while(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment