core/Repository.js
function getViewsOf(model) {
        return getRefsTo(model, function (ref) {
            return (ref instanceof Core.View) && (ref.model === model);
        });
    }
function getViewsOf(model) {
        return getRefsTo(model, function (ref) {
            return (ref instanceof Core.View) && (ref.model === model);
        });
    }
function getViewsOf ( model ) { return getRefsTo ( model , function ( ref ) { return ( ref instanceof Core . View ) && ( ref . model === model ) ; } ) ; }
Return all views associated with the given model.
@param {Core.Model} model Model element.
@return {Array<Core.View>} View elements associated with.
Return all views associated with the given model .