Skip to content

Instantly share code, notes, and snippets.

@FokkeZB
Created January 21, 2014 18:13

Revisions

  1. FokkeZB created this gist Jan 21, 2014.
    5 changes: 5 additions & 0 deletions index.xml
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,5 @@
    <Alloy>
    <Window module="xp.ui">
    <Label>Hello World</Label>
    </Window>
    </Alloy>
    3 changes: 3 additions & 0 deletions xp.ui.js
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,3 @@
    exports.createWindow = function(args) {
    return Ti.UI[OS_IOS ? 'createWindow' : 'createView'](args);
    };