[TIMOB-6780] MobileWeb: JSS Implementation
GitHub Issue | n/a |
---|---|
Type | New Feature |
Priority | Low |
Status | Closed |
Resolution | Won't Fix |
Resolution Date | 2017-05-01T22:31:19.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | MobileWeb |
Labels | linvalid |
Reporter | Chris Barber |
Assignee | Chris Barber |
Created | 2011-12-19T17:43:18.000+0000 |
Updated | 2018-04-04T23:20:28.000+0000 |
Description
Add support for JSS. Requires both a parser and integration with the Styleable class so that JSS styles are applied at object creation time.
Dawson has already written a JSS parser for Titanium that would be trivial to port to a pure JS implementation. https://github.com/dawsontoth/Appcelerator-Titanium-Redux/blob/master/redux.js#L195 https://github.com/dawsontoth/Appcelerator-Titanium-Redux/blob/master/test/Resources/rjss/common.rjss
JSS may get deprecated sometime in 2.X. If we do implement JSS, make sure it can easily be removed. Perhaps add comments in non-JSS specific files so that it's easier to find and remove the JSS code.
What will be the replacement/alternative for JSS? Should we use a styles.js like in Tweetanium?
Dário, there will be no replacement for JSS in the foreseeable future. You can use styles.js or whatever alternative that works.
Thanks Chris.
Resolving ticket as "Won't Fix" as MobileWeb is no longer supported.
Closing as will not fix.