Skip to content

Aliased class name bindings in templates - #242

Merged
ebryn merged 3 commits into
masterfrom
aliased-class-name-bindings-in-templates
Dec 12, 2011
Merged

ebryn merged 3 commits into
masterfrom
aliased-class-name-bindings-in-templates

Conversation

@ebryn

@ebryn ebryn commented Dec 11, 2011

Copy link
Copy Markdown
Member

No description provided.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Why not

var split = property.split(':'),
    className = split[1],
    property = split[0];

?

@wagenet

wagenet commented Dec 11, 2011

Copy link
Copy Markdown
Member

Seems good, other than the formatting suggestion by James. I assume all tests pass on all major browsers?

@ebryn

ebryn commented Dec 11, 2011

Copy link
Copy Markdown
Member Author

The tests are passing in Chrome. All I've done is copy over code from sproutcore-views into sproutcore-handlebars. There is duplicate code that should probably get unified.

@ebryn

ebryn commented Dec 11, 2011

Copy link
Copy Markdown
Member Author

ebryn added a commit that referenced this pull request Dec 12, 2011
…emplates

Aliased class name bindings in templates
@ebryn
ebryn merged commit f486aaf into master Dec 12, 2011
sandstrom pushed a commit to sandstrom/ember.js that referenced this pull request Jun 17, 2021
…rn/ember-cli-htmlbars-inline-precompile-2.1.0

Bump ember-cli-htmlbars-inline-precompile from 2.0.0 to 2.1.0
mansona pushed a commit to mansona/ember.js that referenced this pull request Mar 10, 2026
Prevent context matching if the oldContext is null
lifeart added a commit to lifeart/ember.js that referenced this pull request Jul 2, 2026
0.0.71 ships the four bridge-deletion host seams: emberjs#239 (emission flags
surfaced on compileTemplate's return), emberjs#240 (normalizeAttrValue attr-coercion
hook, WITH_EMBER_INTEGRATION-gated), emberjs#241 ($_dc carries splat $fw natively),
emberjs#242 (onComponentContextCreated — the component twin of onRowContextCreated).

Full --baseline gate with the follow-up consumption commit: baseline ok — no
green->red, 10233/10234 across 922 modules (lone non-pass = the known
custom-plugins DEBUG non-bug).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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.

3 participants