Daan Luttik
Daan Luttik

Reputation: 2855

How to convert alloy code tot classic titanium

I want to use alloy modules (modules written in alloy code) for my classic titanium project, now I saw posts of people saying that you can convert alloy to classic titanium code so that you can use it in your project. The problem is that I don't know how to do that. So if you have a idea on how to covert alloy code to classic titanium code that would be great.

Upvotes: 1

Views: 703

Answers (1)

developer82
developer82

Reputation: 13713

The alloy modules are just regular commonJS modules - you can find them in titanium source code on github.

if you do have an alloy project that you want the source for, all you need to do is run the project and then look inside the build folder of your project - alloy project is just a nice wrapper - which titanium translate to regular titanium code and then compile for you chosen environment.

Upvotes: 1

Related Questions