Metadata
- Source
- FLUID-3780
- Type
- Bug
- Priority
- Major
- Status
- Closed
- Resolution
- Fixed
- Assignee
- Anastasia Cheetham
- Reporter
- Anastasia Cheetham
- Created
2010-10-04T16:48:40.364-0400 - Updated
2011-10-14T16:09:52.081-0400 - Versions
-
- 1.2
- Fixed Versions
-
- 1.4
- Component
-
- Framework
Description
The fluid.expectFilledSelector() function is described in the in-line comment as "Expect that an output from the DOM binder has resulted in a non-empty set of results" i.e. it is described as examining an output of the DOM binder. The only place this function is actually used is inside fluid.initView, where it is used to examine the container parameter, before the DOM binder is even created.
The function seems to examine the container to ensure that if it is a jQuery, that it's not empty. That's a valid thing to check, but it doesn't seem to have much to do with the DOM binder.
I'm not sure if the comment is just wrong (in which case I'd be happy to update it) or if it's actually being used wrong in initView.