Skip to content

Commit

Permalink
[CLEANUP beta] Remove bind-attr
Browse files Browse the repository at this point in the history
  • Loading branch information
mmun committed Jun 29, 2015
1 parent 39d6ef7 commit 172002f
Show file tree
Hide file tree
Showing 16 changed files with 9 additions and 1,121 deletions.
22 changes: 0 additions & 22 deletions packages/ember-htmlbars/lib/helpers/-bind-attr-class.js

This file was deleted.

142 changes: 0 additions & 142 deletions packages/ember-htmlbars/lib/helpers/bind-attr.js

This file was deleted.

2 changes: 0 additions & 2 deletions packages/ember-htmlbars/lib/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ import locHelper from 'ember-htmlbars/helpers/loc';
import logHelper from 'ember-htmlbars/helpers/log';
import eachHelper from 'ember-htmlbars/helpers/each';
import eachInHelper from 'ember-htmlbars/helpers/each-in';
import bindAttrClassHelper from 'ember-htmlbars/helpers/-bind-attr-class';
import normalizeClassHelper from 'ember-htmlbars/helpers/-normalize-class';
import concatHelper from 'ember-htmlbars/helpers/-concat';
import joinClassesHelper from 'ember-htmlbars/helpers/-join-classes';
Expand Down Expand Up @@ -51,7 +50,6 @@ registerHelper('each', eachHelper);
if (isEnabled('ember-htmlbars-each-in')) {
registerHelper('each-in', eachInHelper);
}
registerHelper('-bind-attr-class', bindAttrClassHelper);
registerHelper('-normalize-class', normalizeClassHelper);
registerHelper('concat', concatHelper);
registerHelper('-join-classes', joinClassesHelper);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ QUnit.test('should update bound helpers in a subexpression when properties chang
ignoreDeprecation(function() {
view = EmberView.create({
controller: { prop: 'isThing' },
template: compile('<div {{bind-attr data-foo=(dasherize prop)}}>{{prop}}</div>')
template: compile('<div data-foo="{{dasherize prop}}">{{prop}}</div>')
});
});

Expand Down
Loading

0 comments on commit 172002f

Please sign in to comment.