Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TIMOB-16251] Added "deployType" to Ti.App #204

Merged
merged 1 commit into from Feb 11, 2014

Conversation

pec1985
Copy link
Contributor

@pec1985 pec1985 commented Feb 10, 2014

Details in jira

@vishalduggal
Copy link
Contributor

Code Reviewed. ACCEPTED

@pec1985
Copy link
Contributor Author

pec1985 commented Feb 11, 2014

Attached the built version of the SDK:
https://www.dropbox.com/s/607kot22lrrlxd4/blackberry.zip

Uncompress and copy it to:
/Users/_you_/Library/Application Support/Titanium/mobilesdk/osx/3.2.X
This will replace the current blackberry folder in the SDK.

To test, build and app and alert the deployType. It will not be undefined anymore:

var win = Ti.UI.createWindow();
var btn = Ti.UI.createButton({
    title: 'button'
});
win.add(btn);
btn.addEventListener('click', function(){
    alert(Ti.App.deployType);
});
win.open();

@vishalduggal
Copy link
Contributor

FR Passed. APPROVED

vishalduggal added a commit that referenced this pull request Feb 11, 2014
[TIMOB-16251] Added "deployType" to Ti.App
@vishalduggal vishalduggal merged commit ebda113 into appcelerator-archive:master Feb 11, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants