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-7224] Added the TextBox base class and the TextArea and Textfield implementations #1216

Merged
merged 5 commits into from Jan 21, 2012
Merged

Conversation

cb1kenobi
Copy link
Contributor

No description provided.

type: Number
- autocorrect
Copy link
Contributor

Choose a reason for hiding this comment

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

Should be "- name: autocorrect"

value: UI.INPUT_BORDERSTYLE_NONE,
set: function(value, oldValue) {
var n = this.domNode,
s = "TiUITextFieldBorderStyle";
Copy link
Contributor

Choose a reason for hiding this comment

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

We can move these in the if statement for performance reasons.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It won't affect performance. If you move the var inside the if, it still allocates the variables. Touching the DOM is what's affects the performance.

@nebrius
Copy link
Contributor

nebrius commented Jan 20, 2012

Code reviewed and tested. Request accepted

@arthurevans
Copy link
Contributor

Reviewed doc, validated & ran docgen. APPROVED.

nebrius added a commit that referenced this pull request Jan 21, 2012
[TIMOB-7224] Added the TextBox base class and the TextArea and Textfield implementations
@nebrius nebrius merged commit a185d8f into tidev:master Jan 21, 2012
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

3 participants