Skip to content

Commit

Permalink
[DOC beta] view.nearestOfType() is a method not a property
Browse files Browse the repository at this point in the history
  • Loading branch information
MajorBreakfast committed Feb 18, 2014
1 parent 01f3f32 commit 57d9799
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/ember-views/lib/views/view.js
Original file line number Diff line number Diff line change
Expand Up @@ -1078,7 +1078,7 @@ Ember.View = Ember.CoreView.extend({
Return the nearest ancestor that is an instance of the provided
class.
@property nearestInstanceOf
@method nearestInstanceOf
@param {Class} klass Subclass of Ember.View (or Ember.View itself)
@return Ember.View
@deprecated
Expand All @@ -1097,7 +1097,7 @@ Ember.View = Ember.CoreView.extend({
Return the nearest ancestor that is an instance of the provided
class or mixin.
@property nearestOfType
@method nearestOfType
@param {Class,Mixin} klass Subclass of Ember.View (or Ember.View itself),
or an instance of Ember.Mixin.
@return Ember.View
Expand Down

0 comments on commit 57d9799

Please sign in to comment.