guardian/mobile-apps-article-templates — pull request #294 by jglueck (2014-10-06 12:53:10+00:00)
Title: Gia 3210 - Add font size attribute to content page body node

Added new data attribute data-font-size="__FONT_SIZE_INT__" to each articles template that already contained ___FONT_SIZE__ variable (the class name is inserted at runtime by native code on both iOS and Android). Created new variable __FONT_SIZE_INT__ as the value in this new data attribute (appears as above) and made changes to both native repos for iOS and Android to fill the value (integer only) at runtime. Also added to the fontResize function an additional attribute value change when text size is changed on either platform and tested on devices for both.