src/project/WorkingSetView.js
function _viewFromEl($el) {
        if (!$el.hasClass("working-set-view")) {
            $el = $el.parents(".working-set-view");
        }

        var id = $el.attr("id").match(/working\-set\-list\-([\w]+[\w\d\-\.\:\_]*)/).pop();
        return _views[id];
    }
function _viewFromEl($el) {
        if (!$el.hasClass("working-set-view")) {
            $el = $el.parents(".working-set-view");
        }

        var id = $el.attr("id").match(/working\-set\-list\-([\w]+[\w\d\-\.\:\_]*)/).pop();
        return _views[id];
    }
function _viewFromEl ( $el ) { if ( ! $el . hasClass ( "working-set-view" ) ) { $el = $el . parents ( ".working-set-view" ) ; } var id = $el . attr ( "id" ) . match ( / working\-set\-list\-([\w]+[\w\d\-\.\:\_]*) / ) . pop ( ) ; return _views [ id ] ; }
Finds the WorkingSetView object for the specified element
@private
@param {jQuery} $el - the element to find the view for
@return {View} view object
Finds the WorkingSetView object for the specified element