appcelerator/hyperloop-common — pull request #38 by sgtcoolguy (2014-06-30 19:37:52+00:00)
Title: enum_replace

A hacky fix to replace enumerated value references with the underlying integer value they represent in property assignment expressions.
This doesn't replace enum references everywhere (like in function call arguments), just assignments. This also is pretty specific to iOS.

The specific case I was trying to cover was that commonly used in the iOS example apps where we're setting textAlignment or linBreakMode on UILabels.