Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/dbankier/globalrequire
- Owner: dbankier
- License: mit
- Created: 2013-01-13T11:02:25.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2013-01-13T11:22:38.000Z (almost 12 years ago)
- Last Synced: 2024-04-08T16:42:26.800Z (9 months ago)
- Language: JavaScript
- Size: 3.38 MB
- Stars: 10
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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");
}
```