)]}'
{"horizon/static/framework/widgets/action-list/actions.controller.js":[{"author":{"_account_id":14124,"name":"Matt Borland","email":"matt.borland@hpe.com","username":"mborland"},"change_message_id":"d699764630090fd2bb60185fed8278b56bbe3675","unresolved":false,"context_lines":[{"line_number":80,"context_line":"     *"},{"line_number":81,"context_line":"     * @param {function} service the service to call \u0027perform\u0027 when action is performed"},{"line_number":82,"context_line":"     * @param {integer} index unique index of the action"},{"line_number":83,"context_line":"     * @param {function} (optional) a handler function that is given the return value"},{"line_number":84,"context_line":"     *  from the perform function, ideally a promise that resolves to some data"},{"line_number":85,"context_line":"     *  on success"},{"line_number":86,"context_line":"     * @returns {string} the callback name to use"}],"source_content_type":"text/javascript","patch_set":1,"id":"5aef4532_78e44ae0","line":83,"range":{"start_line":83,"start_character":24,"end_line":83,"end_character":25},"updated":"2016-03-09 16:12:00.000000000","message":"place \u0027performHandler\u0027 here per jsdocs, with an optional dash between the name of the param and the description.","commit_id":"16ecd2e780ead148d566ae1d07a448ffeac04a7f"},{"author":{"_account_id":14124,"name":"Matt Borland","email":"matt.borland@hpe.com","username":"mborland"},"change_message_id":"d699764630090fd2bb60185fed8278b56bbe3675","unresolved":false,"context_lines":[{"line_number":88,"context_line":"     */"},{"line_number":89,"context_line":"    function generateDynamicCallback(service, index, performHandler) {"},{"line_number":90,"context_line":"      var dynCallbackName \u003d \"callback\" + index;"},{"line_number":91,"context_line":"      ctrl.passThroughCallbacks[dynCallbackName] \u003d function(item) {"},{"line_number":92,"context_line":"        if (performHandler) {"},{"line_number":93,"context_line":"          return performHandler(service.perform(item));"},{"line_number":94,"context_line":"        } else {"}],"source_content_type":"text/javascript","patch_set":1,"id":"5aef4532_58f06ec9","line":91,"updated":"2016-03-09 16:12:00.000000000","message":"Name function to aid in debugging","commit_id":"16ecd2e780ead148d566ae1d07a448ffeac04a7f"}],"horizon/static/framework/widgets/action-list/actions.directive.js":[{"author":{"_account_id":14124,"name":"Matt Borland","email":"matt.borland@hpe.com","username":"mborland"},"change_message_id":"d699764630090fd2bb60185fed8278b56bbe3675","unresolved":false,"context_lines":[{"line_number":44,"context_line":"   * @param {string\u003d} item"},{"line_number":45,"context_line":"   * The item to pass to the \u0027service\u0027 when using \u0027row\u0027 type."},{"line_number":46,"context_line":"   *"},{"line_number":47,"context_line":"   * @param {function} perform-handler"},{"line_number":48,"context_line":"   * (Optional) A function that will be given the return value from the action\u0027s perform function."},{"line_number":49,"context_line":"   * Ideally, an action perform function returns a promise that resolves to some data that"},{"line_number":50,"context_line":"   * indicates the affected items."}],"source_content_type":"text/javascript","patch_set":1,"id":"5aef4532_f83e9a26","line":47,"range":{"start_line":47,"start_character":23,"end_line":47,"end_character":38},"updated":"2016-03-09 16:12:00.000000000","message":"I like this name.","commit_id":"16ecd2e780ead148d566ae1d07a448ffeac04a7f"},{"author":{"_account_id":14124,"name":"Matt Borland","email":"matt.borland@hpe.com","username":"mborland"},"change_message_id":"d699764630090fd2bb60185fed8278b56bbe3675","unresolved":false,"context_lines":[{"line_number":229,"context_line":"    function link(scope, element, attrs, actionsController) {"},{"line_number":230,"context_line":"      var listType \u003d attrs.type;"},{"line_number":231,"context_line":"      var item \u003d attrs.item;"},{"line_number":232,"context_line":"      var performHandler \u003d $parse(attrs.performHandler)(scope);"},{"line_number":233,"context_line":"      var allowedActions;"},{"line_number":234,"context_line":"      var actionsParam \u003d $parse(attrs.allowed)(scope);"},{"line_number":235,"context_line":"      if (angular.isFunction(actionsParam)) {"}],"source_content_type":"text/javascript","patch_set":1,"id":"5aef4532_1870a60a","line":232,"range":{"start_line":232,"start_character":26,"end_line":232,"end_character":62},"updated":"2016-03-09 16:12:00.000000000","message":"can\u0027t we just use the scope param in the directive definition to assign this?","commit_id":"16ecd2e780ead148d566ae1d07a448ffeac04a7f"}],"openstack_dashboard/static/app/core/images/actions/delete-image.service.js":[{"author":{"_account_id":14124,"name":"Matt Borland","email":"matt.borland@hpe.com","username":"mborland"},"change_message_id":"d699764630090fd2bb60185fed8278b56bbe3675","unresolved":false,"context_lines":[{"line_number":103,"context_line":"      if (result.fail.length \u003e 0) {"},{"line_number":104,"context_line":"        toast.add(\u0027error\u0027, getMessage(notAllowedMessage, result.fail));"},{"line_number":105,"context_line":"        outcome \u003d $q.reject(result.fail);"},{"line_number":106,"context_line":"      }"},{"line_number":107,"context_line":"      if (result.pass.length \u003e 0) {"},{"line_number":108,"context_line":"        outcome \u003d deleteModal.open(scope, result.pass.map(getEntity), context);"},{"line_number":109,"context_line":"      }"},{"line_number":110,"context_line":"      return outcome;"}],"source_content_type":"text/javascript","patch_set":1,"id":"5aef4532_33730517","line":107,"range":{"start_line":106,"start_character":7,"end_line":107,"end_character":5},"updated":"2016-03-09 16:12:00.000000000","message":"confused by the structure here; it seems that we could have a logical condition where we set the outcome to reject and then to the result of the deleteModal.  If you think that\u0027s not true, this should be structured as an else-if.  I know you didn\u0027t structure the original logic, but this makes less sense now.","commit_id":"16ecd2e780ead148d566ae1d07a448ffeac04a7f"},{"author":{"_account_id":14124,"name":"Matt Borland","email":"matt.borland@hpe.com","username":"mborland"},"change_message_id":"d699764630090fd2bb60185fed8278b56bbe3675","unresolved":false,"context_lines":[{"line_number":107,"context_line":"      if (result.pass.length \u003e 0) {"},{"line_number":108,"context_line":"        outcome \u003d deleteModal.open(scope, result.pass.map(getEntity), context);"},{"line_number":109,"context_line":"      }"},{"line_number":110,"context_line":"      return outcome;"},{"line_number":111,"context_line":"    }"},{"line_number":112,"context_line":""},{"line_number":113,"context_line":"    function labelize(count) {"}],"source_content_type":"text/javascript","patch_set":1,"id":"5aef4532_f3c99d5a","line":110,"updated":"2016-03-09 16:12:00.000000000","message":"is it OK to pass back an undefined outcome?","commit_id":"16ecd2e780ead148d566ae1d07a448ffeac04a7f"}],"openstack_dashboard/static/app/core/images/table/images.controller.js":[{"author":{"_account_id":14124,"name":"Matt Borland","email":"matt.borland@hpe.com","username":"mborland"},"change_message_id":"d699764630090fd2bb60185fed8278b56bbe3675","unresolved":false,"context_lines":[{"line_number":70,"context_line":""},{"line_number":71,"context_line":"    ////////////////////////////////"},{"line_number":72,"context_line":""},{"line_number":73,"context_line":"    function loadImages() {"},{"line_number":74,"context_line":"      $q.all("},{"line_number":75,"context_line":"        {"},{"line_number":76,"context_line":"          images: glance.getImages(),"}],"source_content_type":"text/javascript","patch_set":1,"id":"5aef4532_b3d435bd","line":73,"range":{"start_line":73,"start_character":13,"end_line":73,"end_character":23},"updated":"2016-03-09 16:12:00.000000000","message":"good cleanup","commit_id":"16ecd2e780ead148d566ae1d07a448ffeac04a7f"},{"author":{"_account_id":14124,"name":"Matt Borland","email":"matt.borland@hpe.com","username":"mborland"},"change_message_id":"d699764630090fd2bb60185fed8278b56bbe3675","unresolved":false,"context_lines":[{"line_number":80,"context_line":"    }"},{"line_number":81,"context_line":""},{"line_number":82,"context_line":"    function onInitialized(d) {"},{"line_number":83,"context_line":"      ctrl.imagesSrc \u003d [];"},{"line_number":84,"context_line":"      angular.forEach(d.images.data.items, function itemFilter (image) {"},{"line_number":85,"context_line":"        //This sets up data expected by the table for display or sorting."},{"line_number":86,"context_line":"        image.filtered_visibility \u003d imageVisibilityFilter(image, d.session.project_id);"}],"source_content_type":"text/javascript","patch_set":1,"id":"5aef4532_939779eb","line":83,"range":{"start_line":83,"start_character":20,"end_line":83,"end_character":25},"updated":"2016-03-09 16:12:00.000000000","message":"-1.  There\u0027s a reason it did the previous approach; it doesn\u0027t create a new pointer.  This change could cause trouble.  Setting length to zero is legitimate.","commit_id":"16ecd2e780ead148d566ae1d07a448ffeac04a7f"}]}
