function _createImageView(file, pane) {
        var view = pane.getViewForPath(file.fullPath);

        if (view) {
            pane.showView(view);
        } else {
            view = new ImageView(file, pane.$content);
            pane.addView(view, true);
        }
        return new $.Deferred().resolve().promise();
    }
function _createImageView(file, pane) {
        var view = pane.getViewForPath(file.fullPath);

        if (view) {
            pane.showView(view);
        } else {
            view = new ImageView(file, pane.$content);
            pane.addView(view, true);
        }
        return new $.Deferred().resolve().promise();
    }
function _createImageView ( file , pane ) { var view = pane . getViewForPath ( file . fullPath ) ; if ( view ) { pane . showView ( view ) ; } else { view = new ImageView ( file , pane . $content ) ; pane . addView ( view , true ) ; } return new $ . Deferred ( ) . resolve ( ) . promise ( ) ; }
/*
Creates an image view object and adds it to the specified pane
@param {!File} file - the file to create an image of
@param {!Pane} pane - the pane in which to host the view
@return {jQuery.Promise}
/ * Creates an image view object and adds it to the specified pane
Create ImageView