emberjs/ember.js — pull request #1904 by crofty (2013-01-28 14:59:37+00:00)
Title: Property names that clash with Evented

What should the solution be to property names that clash with Ember Evented?

The attached test fails because the view has a property named `one` and the `one` function is provided by the Evented mixin.

```.js
test("class names can be bound to properties named 'one'", function() {
var view = Ember.View.create({
one: 'james',
classNameBindings: ['one']
});

Ember.run(function() {
view.createElement();
});

ok(view.$().hasClass('james'), "adds the class of the one property");
});
```

Does the Ember Evented `one` function need to be part of the public API of the view?