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 6373 #795

Closed
wants to merge 4 commits into from
Closed

Timob 6373 #795

wants to merge 4 commits into from

Conversation

nebrius
Copy link
Contributor

@nebrius nebrius commented Nov 30, 2011

No description provided.

…. It was ignoring all passed-in parameters. Created an alternate method to avoid potentially breaking things.
…t anything in the constructor, not just the official API properties of the object.
Ti._5.presetUserArguments = function(obj,args) {
if(!args){
return;
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You don't need this if(!args) check... if args is null/undefined, the for-in will just ignore it. :)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hah! That's what I get for copying and pasting :).

@cb1kenobi
Copy link
Contributor

Bryan found a better way to solve this, so we're gonna kill this pull request! See ticket http://jira.appcelerator.org/browse/TIMOB-6398.

@cb1kenobi cb1kenobi closed this Dec 1, 2011
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