Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/dbankier/globalrequire

Android Titanium require replacement for require parity
https://github.com/dbankier/globalrequire

Last synced: about 2 months ago
JSON representation

Android Titanium require replacement for require parity

Awesome Lists containing this project

README

        

## GlobalRequire

See this [blog post](http://www.yydigital.com/blog/2013/1/13/Achieving_Require_Parity) to understand what is going on over here.

## Usage

Add the `lib/require.js` file to your project.

Add the following lines the _beginning_ of your `app.js` file.

```
if (Ti.Platform.osname==="android") {
Ti.include("/lib/require.js");
}
```