)]}'
{"horizon/static/framework/widgets/table/basic-table.constants.js":[{"author":{"_account_id":9622,"name":"Cindy Lu","email":"clu@us.ibm.com","username":"clu14"},"change_message_id":"36442d3d8ffb921635bf0131c2edad41a9eb35fa","unresolved":false,"context_lines":[{"line_number":17,"context_line":""},{"line_number":18,"context_line":"  angular"},{"line_number":19,"context_line":"    .module(\u0027horizon.framework.widgets.table\u0027)"},{"line_number":20,"context_line":"    .constant(\u0027horizon.framework.widgets.table.filterPlaceholderText\u0027,"},{"line_number":21,"context_line":"      gettext(\u0027Filter\u0027)"},{"line_number":22,"context_line":"    );"},{"line_number":23,"context_line":"}());"}],"source_content_type":"text/javascript","patch_set":2,"id":"fa32b979_fa99666f","line":20,"updated":"2015-06-15 23:01:26.000000000","message":"i think we are keeping constants in the module file, https://review.openstack.org/#/c/188998/","commit_id":"6cc59869068cb8107b21f442666f249b8b0791f6"},{"author":{"_account_id":11881,"name":"Aaron Sahlin","email":"asahlin@us.ibm.com","username":"asahlin"},"change_message_id":"3b67c09d41e795ed9e3954666123c4d4d42b8d1a","unresolved":false,"context_lines":[{"line_number":17,"context_line":""},{"line_number":18,"context_line":"  angular"},{"line_number":19,"context_line":"    .module(\u0027horizon.framework.widgets.table\u0027)"},{"line_number":20,"context_line":"    .constant(\u0027horizon.framework.widgets.table.filterPlaceholderText\u0027,"},{"line_number":21,"context_line":"      gettext(\u0027Filter\u0027)"},{"line_number":22,"context_line":"    );"},{"line_number":23,"context_line":"}());"}],"source_content_type":"text/javascript","patch_set":2,"id":"fa32b979_427403ce","line":20,"in_reply_to":"fa32b979_fa99666f","updated":"2015-06-16 19:33:38.000000000","message":"OK, yeah I was wondering about that.  I made a note to follow up if we wanted to separate out constants or not.","commit_id":"6cc59869068cb8107b21f442666f249b8b0791f6"},{"author":{"_account_id":13785,"name":"Kelly Domico","email":"kelly.domico@hp.com","username":"kdomico"},"change_message_id":"675b6f79b586c9841c61e6e02a491f1a83dea761","unresolved":false,"context_lines":[{"line_number":17,"context_line":""},{"line_number":18,"context_line":"  angular"},{"line_number":19,"context_line":"    .module(\u0027horizon.framework.widgets.table\u0027)"},{"line_number":20,"context_line":"    .constant(\u0027horizon.framework.widgets.table.filterPlaceholderText\u0027,"},{"line_number":21,"context_line":"      gettext(\u0027Filter\u0027)"},{"line_number":22,"context_line":"    );"},{"line_number":23,"context_line":"}());"}],"source_content_type":"text/javascript","patch_set":2,"id":"fa32b979_171e5863","line":20,"in_reply_to":"fa32b979_fa99666f","updated":"2015-06-16 05:58:10.000000000","message":"Yeah, the constants and filters should be in the module file.","commit_id":"6cc59869068cb8107b21f442666f249b8b0791f6"}],"horizon/static/framework/widgets/table/basic-table.spec.js":[{"author":{"_account_id":17013,"name":"Rajat Vig","email":"rajatv@thoughtworks.com","username":"rajatvig"},"change_message_id":"af2bd0a0c562b3a21a3d565078cb851a80b2fc8b","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":10,"id":"ba3cc151_8700a135","updated":"2015-07-08 17:24:35.000000000","message":"This file needs to be renamed to what it is now testing. The name is misleading","commit_id":"fefa5c313f9468e147f5162a3773660943720013"},{"author":{"_account_id":11881,"name":"Aaron Sahlin","email":"asahlin@us.ibm.com","username":"asahlin"},"change_message_id":"9105774d9b192f08fc2c575c7aec2356fd95e759","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":10,"id":"9a41bdd9_18541451","in_reply_to":"ba3cc151_8700a135","updated":"2015-07-14 21:02:42.000000000","message":"Changed name to search-bar.spec","commit_id":"fefa5c313f9468e147f5162a3773660943720013"}],"horizon/static/framework/widgets/table/hz-expand-detail.directive.js":[{"author":{"_account_id":13805,"name":"Shaoquan Chen","email":"sean.chen2@hp.com","username":"SeanChen"},"change_message_id":"522ba2d57f53bc1e7efcba8bc474234c94ff29d6","unresolved":false,"context_lines":[{"line_number":49,"context_line":"   *"},{"line_number":50,"context_line":"   */"},{"line_number":51,"context_line":"  angular"},{"line_number":52,"context_line":"    .module(\u0027horizon.framework.widgets.table\u0027)"},{"line_number":53,"context_line":"    .directive(\u0027hzExpandDetail\u0027, hzExpandDetail);"},{"line_number":54,"context_line":""},{"line_number":55,"context_line":"  hzExpandDetail.$inject \u003d [\u0027horizon.framework.widgets.table.expandSettings\u0027];"}],"source_content_type":"text/javascript","patch_set":11,"id":"9a41bdd9_4d988e78","line":52,"updated":"2015-07-14 21:59:49.000000000","message":"Shouldn\u0027t the above ngdoc come to here?","commit_id":"f494a85115b31c7f6bfb7ea3e45eaddebcc67694"},{"author":{"_account_id":13785,"name":"Kelly Domico","email":"kelly.domico@hp.com","username":"kdomico"},"change_message_id":"c85b85af631a5c75e480fa41aa59d128f92208ee","unresolved":false,"context_lines":[{"line_number":49,"context_line":"   *"},{"line_number":50,"context_line":"   */"},{"line_number":51,"context_line":"  angular"},{"line_number":52,"context_line":"    .module(\u0027horizon.framework.widgets.table\u0027)"},{"line_number":53,"context_line":"    .directive(\u0027hzExpandDetail\u0027, hzExpandDetail);"},{"line_number":54,"context_line":""},{"line_number":55,"context_line":"  hzExpandDetail.$inject \u003d [\u0027horizon.framework.widgets.table.expandSettings\u0027];"}],"source_content_type":"text/javascript","patch_set":11,"id":"9a41bdd9_8b7679d5","line":52,"in_reply_to":"9a41bdd9_0b6589b3","updated":"2015-07-15 01:03:59.000000000","message":"I\u0027ve been putting them above \u0027angular\u0027","commit_id":"f494a85115b31c7f6bfb7ea3e45eaddebcc67694"},{"author":{"_account_id":7665,"name":"Travis Tripp","email":"os.travis.tripp@gmail.com","username":"travis.tripp"},"change_message_id":"af6de272465cb79eab759fcc8a499ad95ff44413","unresolved":false,"context_lines":[{"line_number":49,"context_line":"   *"},{"line_number":50,"context_line":"   */"},{"line_number":51,"context_line":"  angular"},{"line_number":52,"context_line":"    .module(\u0027horizon.framework.widgets.table\u0027)"},{"line_number":53,"context_line":"    .directive(\u0027hzExpandDetail\u0027, hzExpandDetail);"},{"line_number":54,"context_line":""},{"line_number":55,"context_line":"  hzExpandDetail.$inject \u003d [\u0027horizon.framework.widgets.table.expandSettings\u0027];"}],"source_content_type":"text/javascript","patch_set":11,"id":"9a41bdd9_0b6589b3","line":52,"in_reply_to":"9a41bdd9_4d988e78","updated":"2015-07-15 00:43:12.000000000","message":"Cindy is leaving some comments in other patches saying opposite I think.  You guys should confer.","commit_id":"f494a85115b31c7f6bfb7ea3e45eaddebcc67694"},{"author":{"_account_id":11881,"name":"Aaron Sahlin","email":"asahlin@us.ibm.com","username":"asahlin"},"change_message_id":"c7d53411f27842e93f9933365898a212c7c807b5","unresolved":false,"context_lines":[{"line_number":49,"context_line":"   *"},{"line_number":50,"context_line":"   */"},{"line_number":51,"context_line":"  angular"},{"line_number":52,"context_line":"    .module(\u0027horizon.framework.widgets.table\u0027)"},{"line_number":53,"context_line":"    .directive(\u0027hzExpandDetail\u0027, hzExpandDetail);"},{"line_number":54,"context_line":""},{"line_number":55,"context_line":"  hzExpandDetail.$inject \u003d [\u0027horizon.framework.widgets.table.expandSettings\u0027];"}],"source_content_type":"text/javascript","patch_set":11,"id":"9a41bdd9_26c89ba5","line":52,"in_reply_to":"9a41bdd9_8b7679d5","updated":"2015-07-15 19:54:38.000000000","message":"In all other JP cleanup work I have been putting them above \u0027angular\u0027 as well.","commit_id":"f494a85115b31c7f6bfb7ea3e45eaddebcc67694"},{"author":{"_account_id":13805,"name":"Shaoquan Chen","email":"sean.chen2@hp.com","username":"SeanChen"},"change_message_id":"522ba2d57f53bc1e7efcba8bc474234c94ff29d6","unresolved":false,"context_lines":[{"line_number":68,"context_line":"    ////////////////////"},{"line_number":69,"context_line":""},{"line_number":70,"context_line":"    function link(scope, element) {"},{"line_number":71,"context_line":"      element.on(\u0027click\u0027, function() {"},{"line_number":72,"context_line":"        var iconClasses \u003d scope.icons || settings.expandIconClasses;"},{"line_number":73,"context_line":"        element.toggleClass(iconClasses);"},{"line_number":74,"context_line":""}],"source_content_type":"text/javascript","patch_set":11,"id":"9a41bdd9_6dca3250","line":71,"updated":"2015-07-14 21:59:49.000000000","message":"Can we declare function onClick() { ... } ? like this:\n\nelement.on(\u0027click\u0027, onClick);\n\nfunction onClick() { \n   ... \n}","commit_id":"f494a85115b31c7f6bfb7ea3e45eaddebcc67694"},{"author":{"_account_id":7665,"name":"Travis Tripp","email":"os.travis.tripp@gmail.com","username":"travis.tripp"},"change_message_id":"af6de272465cb79eab759fcc8a499ad95ff44413","unresolved":false,"context_lines":[{"line_number":68,"context_line":"    ////////////////////"},{"line_number":69,"context_line":""},{"line_number":70,"context_line":"    function link(scope, element) {"},{"line_number":71,"context_line":"      element.on(\u0027click\u0027, function() {"},{"line_number":72,"context_line":"        var iconClasses \u003d scope.icons || settings.expandIconClasses;"},{"line_number":73,"context_line":"        element.toggleClass(iconClasses);"},{"line_number":74,"context_line":""}],"source_content_type":"text/javascript","patch_set":11,"id":"9a41bdd9_8b719978","line":71,"in_reply_to":"9a41bdd9_6dca3250","updated":"2015-07-15 00:43:12.000000000","message":"+1 because this is anonymous function.  Should be named at the least.","commit_id":"f494a85115b31c7f6bfb7ea3e45eaddebcc67694"},{"author":{"_account_id":11881,"name":"Aaron Sahlin","email":"asahlin@us.ibm.com","username":"asahlin"},"change_message_id":"c7d53411f27842e93f9933365898a212c7c807b5","unresolved":false,"context_lines":[{"line_number":68,"context_line":"    ////////////////////"},{"line_number":69,"context_line":""},{"line_number":70,"context_line":"    function link(scope, element) {"},{"line_number":71,"context_line":"      element.on(\u0027click\u0027, function() {"},{"line_number":72,"context_line":"        var iconClasses \u003d scope.icons || settings.expandIconClasses;"},{"line_number":73,"context_line":"        element.toggleClass(iconClasses);"},{"line_number":74,"context_line":""}],"source_content_type":"text/javascript","patch_set":11,"id":"9a41bdd9_a63a6b97","line":71,"in_reply_to":"9a41bdd9_6dca3250","updated":"2015-07-15 19:54:38.000000000","message":"Yep, good catch Sean.","commit_id":"f494a85115b31c7f6bfb7ea3e45eaddebcc67694"},{"author":{"_account_id":13785,"name":"Kelly Domico","email":"kelly.domico@hp.com","username":"kdomico"},"change_message_id":"c85b85af631a5c75e480fa41aa59d128f92208ee","unresolved":false,"context_lines":[{"line_number":68,"context_line":"    ////////////////////"},{"line_number":69,"context_line":""},{"line_number":70,"context_line":"    function link(scope, element) {"},{"line_number":71,"context_line":"      element.on(\u0027click\u0027, function() {"},{"line_number":72,"context_line":"        var iconClasses \u003d scope.icons || settings.expandIconClasses;"},{"line_number":73,"context_line":"        element.toggleClass(iconClasses);"},{"line_number":74,"context_line":""}],"source_content_type":"text/javascript","patch_set":11,"id":"9a41bdd9_0b510936","line":71,"in_reply_to":"9a41bdd9_8b719978","updated":"2015-07-15 01:03:59.000000000","message":"+1","commit_id":"f494a85115b31c7f6bfb7ea3e45eaddebcc67694"}],"horizon/static/framework/widgets/table/hz-search-bar.directive.js":[{"author":{"_account_id":13805,"name":"Shaoquan Chen","email":"sean.chen2@hp.com","username":"SeanChen"},"change_message_id":"522ba2d57f53bc1e7efcba8bc474234c94ff29d6","unresolved":false,"context_lines":[{"line_number":42,"context_line":"   * ```"},{"line_number":43,"context_line":"   */"},{"line_number":44,"context_line":"  angular"},{"line_number":45,"context_line":"    .module(\u0027horizon.framework.widgets.table\u0027)"},{"line_number":46,"context_line":"    .directive(\u0027hzSearchBar\u0027, hzSearchBar);"},{"line_number":47,"context_line":""},{"line_number":48,"context_line":"  hzSearchBar.$inject \u003d ["}],"source_content_type":"text/javascript","patch_set":11,"id":"9a41bdd9_6dd1d2f9","line":45,"updated":"2015-07-14 21:59:49.000000000","message":"same here. can we move the ngdoc down to here, since here is the definition of the directive.","commit_id":"f494a85115b31c7f6bfb7ea3e45eaddebcc67694"},{"author":{"_account_id":13805,"name":"Shaoquan Chen","email":"sean.chen2@hp.com","username":"SeanChen"},"change_message_id":"522ba2d57f53bc1e7efcba8bc474234c94ff29d6","unresolved":false,"context_lines":[{"line_number":50,"context_line":"    \u0027horizon.framework.widgets.basePath\u0027"},{"line_number":51,"context_line":"  ];"},{"line_number":52,"context_line":""},{"line_number":53,"context_line":"  function hzSearchBar(FILTER_PLACEHOLDER_TEXT, path) {"},{"line_number":54,"context_line":""},{"line_number":55,"context_line":"    var directive \u003d {"},{"line_number":56,"context_line":"      restrict: \u0027E\u0027,"}],"source_content_type":"text/javascript","patch_set":11,"id":"9a41bdd9_ed32c25e","line":53,"updated":"2015-07-14 21:59:49.000000000","message":"now we use `basePath` rather then `path` in our code base as our convention.","commit_id":"f494a85115b31c7f6bfb7ea3e45eaddebcc67694"},{"author":{"_account_id":11881,"name":"Aaron Sahlin","email":"asahlin@us.ibm.com","username":"asahlin"},"change_message_id":"c7d53411f27842e93f9933365898a212c7c807b5","unresolved":false,"context_lines":[{"line_number":50,"context_line":"    \u0027horizon.framework.widgets.basePath\u0027"},{"line_number":51,"context_line":"  ];"},{"line_number":52,"context_line":""},{"line_number":53,"context_line":"  function hzSearchBar(FILTER_PLACEHOLDER_TEXT, path) {"},{"line_number":54,"context_line":""},{"line_number":55,"context_line":"    var directive \u003d {"},{"line_number":56,"context_line":"      restrict: \u0027E\u0027,"}],"source_content_type":"text/javascript","patch_set":11,"id":"9a41bdd9_46f83fc3","line":53,"in_reply_to":"9a41bdd9_ed32c25e","updated":"2015-07-15 19:54:38.000000000","message":"Done","commit_id":"f494a85115b31c7f6bfb7ea3e45eaddebcc67694"},{"author":{"_account_id":13805,"name":"Shaoquan Chen","email":"sean.chen2@hp.com","username":"SeanChen"},"change_message_id":"522ba2d57f53bc1e7efcba8bc474234c94ff29d6","unresolved":false,"context_lines":[{"line_number":62,"context_line":""},{"line_number":63,"context_line":"    ////////////////////"},{"line_number":64,"context_line":""},{"line_number":65,"context_line":"    function link (scope, element, attrs, ctrl, transclude) {"},{"line_number":66,"context_line":"      if (angular.isDefined(attrs.groupClasses)) {"},{"line_number":67,"context_line":"        element.find(\u0027.input-group\u0027).addClass(attrs.groupClasses);"},{"line_number":68,"context_line":"      }"}],"source_content_type":"text/javascript","patch_set":11,"id":"9a41bdd9_4d296ee5","line":65,"updated":"2015-07-14 21:59:49.000000000","message":"for named function, there is no whitespace between function name and `(`. it should look like:\n\nfunction link(scope, ...) {\n  ...\n}","commit_id":"f494a85115b31c7f6bfb7ea3e45eaddebcc67694"},{"author":{"_account_id":11881,"name":"Aaron Sahlin","email":"asahlin@us.ibm.com","username":"asahlin"},"change_message_id":"c7d53411f27842e93f9933365898a212c7c807b5","unresolved":false,"context_lines":[{"line_number":62,"context_line":""},{"line_number":63,"context_line":"    ////////////////////"},{"line_number":64,"context_line":""},{"line_number":65,"context_line":"    function link (scope, element, attrs, ctrl, transclude) {"},{"line_number":66,"context_line":"      if (angular.isDefined(attrs.groupClasses)) {"},{"line_number":67,"context_line":"        element.find(\u0027.input-group\u0027).addClass(attrs.groupClasses);"},{"line_number":68,"context_line":"      }"}],"source_content_type":"text/javascript","patch_set":11,"id":"9a41bdd9_c6d9af58","line":65,"in_reply_to":"9a41bdd9_4d296ee5","updated":"2015-07-15 19:54:38.000000000","message":"Done","commit_id":"f494a85115b31c7f6bfb7ea3e45eaddebcc67694"}],"horizon/static/framework/widgets/table/hz-select-all.directive.js":[{"author":{"_account_id":9622,"name":"Cindy Lu","email":"clu@us.ibm.com","username":"clu14"},"change_message_id":"d4e1e3ab3729126ac70b1ecffe1a0884924dd682","unresolved":false,"context_lines":[{"line_number":76,"context_line":"      var stTableCtrl \u003d ctrls[1];"},{"line_number":77,"context_line":""},{"line_number":78,"context_line":"      // select or unselect all"},{"line_number":79,"context_line":"      function clickHandler() {"},{"line_number":80,"context_line":"        scope.$apply(function() {"},{"line_number":81,"context_line":"          scope.$evalAsync(function() {"},{"line_number":82,"context_line":"            var checkedState \u003d element.prop(\u0027checked\u0027);"}],"source_content_type":"text/javascript","patch_set":4,"id":"fa32b979_5791d9ef","line":79,"updated":"2015-06-25 20:59:07.000000000","message":"do we want to move functions to the bottom?","commit_id":"393f71616e4ee1692f28a8f7122f6c7518fc0f6f"},{"author":{"_account_id":11881,"name":"Aaron Sahlin","email":"asahlin@us.ibm.com","username":"asahlin"},"change_message_id":"4f6ec22dc1826190146323f2478d04302e52c911","unresolved":false,"context_lines":[{"line_number":76,"context_line":"      var stTableCtrl \u003d ctrls[1];"},{"line_number":77,"context_line":""},{"line_number":78,"context_line":"      // select or unselect all"},{"line_number":79,"context_line":"      function clickHandler() {"},{"line_number":80,"context_line":"        scope.$apply(function() {"},{"line_number":81,"context_line":"          scope.$evalAsync(function() {"},{"line_number":82,"context_line":"            var checkedState \u003d element.prop(\u0027checked\u0027);"}],"source_content_type":"text/javascript","patch_set":4,"id":"fa32b979_de3d962d","line":79,"in_reply_to":"fa32b979_5791d9ef","updated":"2015-06-26 15:37:40.000000000","message":"Done","commit_id":"393f71616e4ee1692f28a8f7122f6c7518fc0f6f"},{"author":{"_account_id":7665,"name":"Travis Tripp","email":"os.travis.tripp@gmail.com","username":"travis.tripp"},"change_message_id":"68938d89311b2e523f7354ed60739c8d98fd8d02","unresolved":false,"context_lines":[{"line_number":100,"context_line":"        var checkedCnt \u003d visibleRows.filter(hzTableCtrl.isSelected).length;"},{"line_number":101,"context_line":"        element.prop(\u0027checked\u0027, numVisibleRows \u003e 0 \u0026\u0026 numVisibleRows \u003d\u003d\u003d checkedCnt);"},{"line_number":102,"context_line":"      }"},{"line_number":103,"context_line":""},{"line_number":104,"context_line":"      element.click(clickHandler);"},{"line_number":105,"context_line":""},{"line_number":106,"context_line":"      /*"}],"source_content_type":"text/javascript","patch_set":4,"id":"fa32b979_e97ec669","line":103,"updated":"2015-06-25 21:56:11.000000000","message":"I agree with Cindy.  I think this code would be more readable if the functions were moved down below the rest of these statements.","commit_id":"393f71616e4ee1692f28a8f7122f6c7518fc0f6f"},{"author":{"_account_id":11881,"name":"Aaron Sahlin","email":"asahlin@us.ibm.com","username":"asahlin"},"change_message_id":"4f6ec22dc1826190146323f2478d04302e52c911","unresolved":false,"context_lines":[{"line_number":100,"context_line":"        var checkedCnt \u003d visibleRows.filter(hzTableCtrl.isSelected).length;"},{"line_number":101,"context_line":"        element.prop(\u0027checked\u0027, numVisibleRows \u003e 0 \u0026\u0026 numVisibleRows \u003d\u003d\u003d checkedCnt);"},{"line_number":102,"context_line":"      }"},{"line_number":103,"context_line":""},{"line_number":104,"context_line":"      element.click(clickHandler);"},{"line_number":105,"context_line":""},{"line_number":106,"context_line":"      /*"}],"source_content_type":"text/javascript","patch_set":4,"id":"fa32b979_fe3ada33","line":103,"in_reply_to":"fa32b979_e97ec669","updated":"2015-06-26 15:37:40.000000000","message":"Done","commit_id":"393f71616e4ee1692f28a8f7122f6c7518fc0f6f"},{"author":{"_account_id":13805,"name":"Shaoquan Chen","email":"sean.chen2@hp.com","username":"SeanChen"},"change_message_id":"522ba2d57f53bc1e7efcba8bc474234c94ff29d6","unresolved":false,"context_lines":[{"line_number":55,"context_line":"   *"},{"line_number":56,"context_line":"   */"},{"line_number":57,"context_line":"  angular"},{"line_number":58,"context_line":"    .module(\u0027horizon.framework.widgets.table\u0027)"},{"line_number":59,"context_line":"    .directive(\u0027hzSelectAll\u0027, hzSelectAll);"},{"line_number":60,"context_line":""},{"line_number":61,"context_line":"  function hzSelectAll() {"}],"source_content_type":"text/javascript","patch_set":11,"id":"9a41bdd9_cd7b3ef4","line":58,"updated":"2015-07-14 21:59:49.000000000","message":"The same for nddoc position.","commit_id":"f494a85115b31c7f6bfb7ea3e45eaddebcc67694"}],"horizon/static/framework/widgets/table/hz-select.directive.js":[{"author":{"_account_id":13805,"name":"Shaoquan Chen","email":"sean.chen2@hp.com","username":"SeanChen"},"change_message_id":"44c075a3f8b51b2c4ff4ecb1f0b7e28e90ca07c6","unresolved":false,"context_lines":[{"line_number":54,"context_line":""},{"line_number":55,"context_line":"    ////////////////////"},{"line_number":56,"context_line":""},{"line_number":57,"context_line":"    function link (scope, element, attrs, hzTableCtrl) {"},{"line_number":58,"context_line":"      // select or unselect row"},{"line_number":59,"context_line":"      function clickHandler() {"},{"line_number":60,"context_line":"        scope.$apply(function() {"}],"source_content_type":"text/javascript","patch_set":3,"id":"fa32b979_0857e058","line":57,"updated":"2015-06-17 05:36:50.000000000","message":"shouldn\u0027t have whitespace between `link` and `(`.","commit_id":"85754b66e51e8f6e9759f7c00061858a0eac37a8"},{"author":{"_account_id":11881,"name":"Aaron Sahlin","email":"asahlin@us.ibm.com","username":"asahlin"},"change_message_id":"63ecc66c15c2b06bf0c552b15f874a1ccb1eddb4","unresolved":false,"context_lines":[{"line_number":54,"context_line":""},{"line_number":55,"context_line":"    ////////////////////"},{"line_number":56,"context_line":""},{"line_number":57,"context_line":"    function link (scope, element, attrs, hzTableCtrl) {"},{"line_number":58,"context_line":"      // select or unselect row"},{"line_number":59,"context_line":"      function clickHandler() {"},{"line_number":60,"context_line":"        scope.$apply(function() {"}],"source_content_type":"text/javascript","patch_set":3,"id":"fa32b979_5827dec9","line":57,"in_reply_to":"fa32b979_0857e058","updated":"2015-06-17 18:40:07.000000000","message":"Done","commit_id":"85754b66e51e8f6e9759f7c00061858a0eac37a8"},{"author":{"_account_id":9622,"name":"Cindy Lu","email":"clu@us.ibm.com","username":"clu14"},"change_message_id":"d4e1e3ab3729126ac70b1ecffe1a0884924dd682","unresolved":false,"context_lines":[{"line_number":56,"context_line":""},{"line_number":57,"context_line":"    function link(scope, element, attrs, hzTableCtrl) {"},{"line_number":58,"context_line":"      // select or unselect row"},{"line_number":59,"context_line":"      function clickHandler() {"},{"line_number":60,"context_line":"        scope.$apply(function() {"},{"line_number":61,"context_line":"          scope.$evalAsync(function() {"},{"line_number":62,"context_line":"            var checkedState \u003d element.prop(\u0027checked\u0027);"}],"source_content_type":"text/javascript","patch_set":4,"id":"fa32b979_fc7f6967","line":59,"updated":"2015-06-25 20:59:07.000000000","message":"move function to bottom","commit_id":"393f71616e4ee1692f28a8f7122f6c7518fc0f6f"},{"author":{"_account_id":11881,"name":"Aaron Sahlin","email":"asahlin@us.ibm.com","username":"asahlin"},"change_message_id":"4f6ec22dc1826190146323f2478d04302e52c911","unresolved":false,"context_lines":[{"line_number":56,"context_line":""},{"line_number":57,"context_line":"    function link(scope, element, attrs, hzTableCtrl) {"},{"line_number":58,"context_line":"      // select or unselect row"},{"line_number":59,"context_line":"      function clickHandler() {"},{"line_number":60,"context_line":"        scope.$apply(function() {"},{"line_number":61,"context_line":"          scope.$evalAsync(function() {"},{"line_number":62,"context_line":"            var checkedState \u003d element.prop(\u0027checked\u0027);"}],"source_content_type":"text/javascript","patch_set":4,"id":"fa32b979_be721210","line":59,"in_reply_to":"fa32b979_fc7f6967","updated":"2015-06-26 15:37:40.000000000","message":"Done","commit_id":"393f71616e4ee1692f28a8f7122f6c7518fc0f6f"},{"author":{"_account_id":13805,"name":"Shaoquan Chen","email":"sean.chen2@hp.com","username":"SeanChen"},"change_message_id":"522ba2d57f53bc1e7efcba8bc474234c94ff29d6","unresolved":false,"context_lines":[{"line_number":38,"context_line":"   *"},{"line_number":39,"context_line":"   */"},{"line_number":40,"context_line":"  angular"},{"line_number":41,"context_line":"    .module(\u0027horizon.framework.widgets.table\u0027)"},{"line_number":42,"context_line":"    .directive(\u0027hzSelect\u0027, hzSelect);"},{"line_number":43,"context_line":""},{"line_number":44,"context_line":"  function hzSelect() {"}],"source_content_type":"text/javascript","patch_set":11,"id":"9a41bdd9_ed67224b","line":41,"updated":"2015-07-14 21:59:49.000000000","message":"The same for ngdoc position.","commit_id":"f494a85115b31c7f6bfb7ea3e45eaddebcc67694"}],"horizon/static/framework/widgets/table/hz-table.controller.js":[{"author":{"_account_id":13805,"name":"Shaoquan Chen","email":"sean.chen2@hp.com","username":"SeanChen"},"change_message_id":"44c075a3f8b51b2c4ff4ecb1f0b7e28e90ca07c6","unresolved":false,"context_lines":[{"line_number":23,"context_line":"   */"},{"line_number":24,"context_line":"  angular"},{"line_number":25,"context_line":"    .module(\u0027horizon.framework.widgets.table\u0027)"},{"line_number":26,"context_line":"    .controller(\u0027HzTableController\u0027, HzTableController);"},{"line_number":27,"context_line":""},{"line_number":28,"context_line":"  HzTableController.$inject \u003d [\u0027$scope\u0027];"},{"line_number":29,"context_line":""}],"source_content_type":"text/javascript","patch_set":3,"id":"fa32b979_48e648b1","line":26,"updated":"2015-06-17 05:36:50.000000000","message":"I think only directives have `Hz` prefix, not controllers. Am I missing anything?","commit_id":"85754b66e51e8f6e9759f7c00061858a0eac37a8"},{"author":{"_account_id":11881,"name":"Aaron Sahlin","email":"asahlin@us.ibm.com","username":"asahlin"},"change_message_id":"63ecc66c15c2b06bf0c552b15f874a1ccb1eddb4","unresolved":false,"context_lines":[{"line_number":23,"context_line":"   */"},{"line_number":24,"context_line":"  angular"},{"line_number":25,"context_line":"    .module(\u0027horizon.framework.widgets.table\u0027)"},{"line_number":26,"context_line":"    .controller(\u0027HzTableController\u0027, HzTableController);"},{"line_number":27,"context_line":""},{"line_number":28,"context_line":"  HzTableController.$inject \u003d [\u0027$scope\u0027];"},{"line_number":29,"context_line":""}],"source_content_type":"text/javascript","patch_set":3,"id":"fa32b979_4b3ce6c7","line":26,"in_reply_to":"fa32b979_48e648b1","updated":"2015-06-17 18:40:07.000000000","message":"Nope, you are correct.   This was a relic, renaming to TableController.","commit_id":"85754b66e51e8f6e9759f7c00061858a0eac37a8"}],"horizon/static/framework/widgets/table/hz-table.directive.js":[{"author":{"_account_id":13785,"name":"Kelly Domico","email":"kelly.domico@hp.com","username":"kdomico"},"change_message_id":"c7ae58870c6466ef348afed59899cc0bc4d4c9af","unresolved":false,"context_lines":[{"line_number":67,"context_line":"      restrict: \u0027A\u0027,"},{"line_number":68,"context_line":"      require: \u0027stTable\u0027,"},{"line_number":69,"context_line":"      scope: true,"},{"line_number":70,"context_line":"      controller: \u0027TableController\u0027,"},{"line_number":71,"context_line":"      link: link"},{"line_number":72,"context_line":"    };"},{"line_number":73,"context_line":"    return directive;"}],"source_content_type":"text/javascript","patch_set":10,"id":"ba3cc151_2b304655","line":70,"updated":"2015-07-09 15:12:36.000000000","message":"I would add \u0027as ctrl\u0027 to this:\ncontroller: \u0027TableController as ctrl\u0027","commit_id":"fefa5c313f9468e147f5162a3773660943720013"},{"author":{"_account_id":11881,"name":"Aaron Sahlin","email":"asahlin@us.ibm.com","username":"asahlin"},"change_message_id":"9105774d9b192f08fc2c575c7aec2356fd95e759","unresolved":false,"context_lines":[{"line_number":67,"context_line":"      restrict: \u0027A\u0027,"},{"line_number":68,"context_line":"      require: \u0027stTable\u0027,"},{"line_number":69,"context_line":"      scope: true,"},{"line_number":70,"context_line":"      controller: \u0027TableController\u0027,"},{"line_number":71,"context_line":"      link: link"},{"line_number":72,"context_line":"    };"},{"line_number":73,"context_line":"    return directive;"}],"source_content_type":"text/javascript","patch_set":10,"id":"9a41bdd9_9b549eff","line":70,"in_reply_to":"ba3cc151_2b304655","updated":"2015-07-14 21:02:42.000000000","message":"Name conflicts when using \u0027ctrl\u0027, so followed model transfer-table did and \ndid controllerAs: \u0027tCtrl\u0027","commit_id":"fefa5c313f9468e147f5162a3773660943720013"},{"author":{"_account_id":13805,"name":"Shaoquan Chen","email":"sean.chen2@hp.com","username":"SeanChen"},"change_message_id":"522ba2d57f53bc1e7efcba8bc474234c94ff29d6","unresolved":false,"context_lines":[{"line_number":59,"context_line":"   *"},{"line_number":60,"context_line":"   */"},{"line_number":61,"context_line":"  angular"},{"line_number":62,"context_line":"    .module(\u0027horizon.framework.widgets.table\u0027)"},{"line_number":63,"context_line":"    .directive(\u0027hzTable\u0027, hzTable);"},{"line_number":64,"context_line":""},{"line_number":65,"context_line":"  function hzTable() {"}],"source_content_type":"text/javascript","patch_set":11,"id":"9a41bdd9_6d547252","line":62,"updated":"2015-07-14 21:59:49.000000000","message":"the same for ngdoc position.","commit_id":"f494a85115b31c7f6bfb7ea3e45eaddebcc67694"},{"author":{"_account_id":9622,"name":"Cindy Lu","email":"clu@us.ibm.com","username":"clu14"},"change_message_id":"741fbc7946d3b04377ca74fd4bf7031519d5679a","unresolved":false,"context_lines":[{"line_number":57,"context_line":"   * \u003c/table\u003e"},{"line_number":58,"context_line":"   * ```"},{"line_number":59,"context_line":"   *"},{"line_number":60,"context_line":"   */"},{"line_number":61,"context_line":"  angular"},{"line_number":62,"context_line":"    .module(\u0027horizon.framework.widgets.table\u0027)"},{"line_number":63,"context_line":"    .directive(\u0027hzTable\u0027, hzTable);"}],"source_content_type":"text/javascript","patch_set":12,"id":"3a50d1a3_e8fbea45","line":60,"updated":"2015-07-24 21:33:43.000000000","message":"ngdocs should be before function","commit_id":"32042452d25947af8f660f536093f97ebd357caa"},{"author":{"_account_id":11881,"name":"Aaron Sahlin","email":"asahlin@us.ibm.com","username":"asahlin"},"change_message_id":"4e074d15cfae15672ac9d6077fbde05dc22e32a7","unresolved":false,"context_lines":[{"line_number":57,"context_line":"   * \u003c/table\u003e"},{"line_number":58,"context_line":"   * ```"},{"line_number":59,"context_line":"   *"},{"line_number":60,"context_line":"   */"},{"line_number":61,"context_line":"  angular"},{"line_number":62,"context_line":"    .module(\u0027horizon.framework.widgets.table\u0027)"},{"line_number":63,"context_line":"    .directive(\u0027hzTable\u0027, hzTable);"}],"source_content_type":"text/javascript","patch_set":12,"id":"3a50d1a3_e073ba7e","line":60,"in_reply_to":"3a50d1a3_e8fbea45","updated":"2015-07-27 20:07:47.000000000","message":"moved the ngdoc in this file and the others.","commit_id":"32042452d25947af8f660f536093f97ebd357caa"}],"horizon/static/framework/widgets/table/search-bar.directive.js":[{"author":{"_account_id":13785,"name":"Kelly Domico","email":"kelly.domico@hp.com","username":"kdomico"},"change_message_id":"675b6f79b586c9841c61e6e02a491f1a83dea761","unresolved":false,"context_lines":[{"line_number":63,"context_line":"    ////////////////////"},{"line_number":64,"context_line":""},{"line_number":65,"context_line":"    function link (scope, element, attrs, ctrl, transclude) {"},{"line_number":66,"context_line":"        if (angular.isDefined(attrs.groupClasses)) {"},{"line_number":67,"context_line":"          element.find(\u0027.input-group\u0027).addClass(attrs.groupClasses);"},{"line_number":68,"context_line":"        }"},{"line_number":69,"context_line":"        if (angular.isDefined(attrs.iconClasses)) {"}],"source_content_type":"text/javascript","patch_set":2,"id":"fa32b979_b771acaa","line":66,"updated":"2015-06-16 05:58:10.000000000","message":"I think this has extra spacing at the front (2 vs 4)","commit_id":"6cc59869068cb8107b21f442666f249b8b0791f6"},{"author":{"_account_id":11881,"name":"Aaron Sahlin","email":"asahlin@us.ibm.com","username":"asahlin"},"change_message_id":"3b67c09d41e795ed9e3954666123c4d4d42b8d1a","unresolved":false,"context_lines":[{"line_number":63,"context_line":"    ////////////////////"},{"line_number":64,"context_line":""},{"line_number":65,"context_line":"    function link (scope, element, attrs, ctrl, transclude) {"},{"line_number":66,"context_line":"        if (angular.isDefined(attrs.groupClasses)) {"},{"line_number":67,"context_line":"          element.find(\u0027.input-group\u0027).addClass(attrs.groupClasses);"},{"line_number":68,"context_line":"        }"},{"line_number":69,"context_line":"        if (angular.isDefined(attrs.iconClasses)) {"}],"source_content_type":"text/javascript","patch_set":2,"id":"fa32b979_44273064","line":66,"in_reply_to":"fa32b979_b771acaa","updated":"2015-06-16 19:33:38.000000000","message":"Done","commit_id":"6cc59869068cb8107b21f442666f249b8b0791f6"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"6bbc14dcea839317cd3bf7f2f30b01186015f0ce","unresolved":false,"context_lines":[{"line_number":36,"context_line":"   *"},{"line_number":37,"context_line":"   * @example"},{"line_number":38,"context_line":"   * ```"},{"line_number":39,"context_line":"   * \u003csearch-bar group-classes\u003d\"input-group-sm\""},{"line_number":40,"context_line":"   *   icon-classes\u003d\"fa-search\" input-classes\u003d\"...\" placeholder\u003d\"Filter\"\u003e"},{"line_number":41,"context_line":"   * \u003c/search-bar\u003e"},{"line_number":42,"context_line":"   * ```"}],"source_content_type":"text/javascript","patch_set":4,"id":"fa32b979_027cd4e9","line":39,"updated":"2015-06-22 16:57:08.000000000","message":"https://bugs.launchpad.net/horizon/+bug/1467610","commit_id":"393f71616e4ee1692f28a8f7122f6c7518fc0f6f"}],"horizon/static/framework/widgets/table/table.constants.js":[{"author":{"_account_id":9622,"name":"Cindy Lu","email":"clu@us.ibm.com","username":"clu14"},"change_message_id":"36442d3d8ffb921635bf0131c2edad41a9eb35fa","unresolved":false,"context_lines":[{"line_number":24,"context_line":""},{"line_number":25,"context_line":"  angular"},{"line_number":26,"context_line":"    .module(\u0027horizon.framework.widgets.table\u0027)"},{"line_number":27,"context_line":"    .constant(\u0027horizon.framework.widgets.table.expandSettings\u0027, {"},{"line_number":28,"context_line":"      expandIconClasses: \u0027fa-chevron-right fa-chevron-down\u0027,"},{"line_number":29,"context_line":"      duration: 100"},{"line_number":30,"context_line":"    });"}],"source_content_type":"text/javascript","patch_set":2,"id":"fa32b979_baa43ea6","line":27,"updated":"2015-06-15 23:01:26.000000000","message":"likewise","commit_id":"6cc59869068cb8107b21f442666f249b8b0791f6"},{"author":{"_account_id":11881,"name":"Aaron Sahlin","email":"asahlin@us.ibm.com","username":"asahlin"},"change_message_id":"3b67c09d41e795ed9e3954666123c4d4d42b8d1a","unresolved":false,"context_lines":[{"line_number":24,"context_line":""},{"line_number":25,"context_line":"  angular"},{"line_number":26,"context_line":"    .module(\u0027horizon.framework.widgets.table\u0027)"},{"line_number":27,"context_line":"    .constant(\u0027horizon.framework.widgets.table.expandSettings\u0027, {"},{"line_number":28,"context_line":"      expandIconClasses: \u0027fa-chevron-right fa-chevron-down\u0027,"},{"line_number":29,"context_line":"      duration: 100"},{"line_number":30,"context_line":"    });"}],"source_content_type":"text/javascript","patch_set":2,"id":"fa32b979_044da83d","line":27,"in_reply_to":"fa32b979_baa43ea6","updated":"2015-06-16 19:33:38.000000000","message":"Done","commit_id":"6cc59869068cb8107b21f442666f249b8b0791f6"}],"horizon/static/framework/widgets/table/table.controller.js":[{"author":{"_account_id":13805,"name":"Shaoquan Chen","email":"sean.chen2@hp.com","username":"SeanChen"},"change_message_id":"2e3ec6af6693de479c60c1c811539893de8e8810","unresolved":false,"context_lines":[{"line_number":32,"context_line":"    $scope.numSelected \u003d 0;"},{"line_number":33,"context_line":""},{"line_number":34,"context_line":"    // return true if the row is selected"},{"line_number":35,"context_line":"    this.isSelected \u003d function(row) {"},{"line_number":36,"context_line":"      var rowState \u003d $scope.selected[row.id];"},{"line_number":37,"context_line":"      return angular.isDefined(rowState) \u0026\u0026 rowState.checked;"},{"line_number":38,"context_line":"    };"}],"source_content_type":"text/javascript","patch_set":9,"id":"ba3cc151_32e31ca6","line":35,"updated":"2015-07-01 21:33:14.000000000","message":"var vm \u003d this?","commit_id":"cfe373f257867376a3a4dd6182e0f19c17e027bd"},{"author":{"_account_id":13785,"name":"Kelly Domico","email":"kelly.domico@hp.com","username":"kdomico"},"change_message_id":"c7ae58870c6466ef348afed59899cc0bc4d4c9af","unresolved":false,"context_lines":[{"line_number":28,"context_line":"  TableController.$inject \u003d [\u0027$scope\u0027];"},{"line_number":29,"context_line":""},{"line_number":30,"context_line":"  function TableController($scope) {"},{"line_number":31,"context_line":"    var vm \u003d this;"},{"line_number":32,"context_line":"    $scope.selected \u003d {};"},{"line_number":33,"context_line":"    $scope.numSelected \u003d 0;"},{"line_number":34,"context_line":""}],"source_content_type":"text/javascript","patch_set":10,"id":"ba3cc151_b956ef59","line":31,"updated":"2015-07-09 15:12:36.000000000","message":"Can \u0027ctrl\u0027 be used instead of \u0027vm\u0027? It may be confused with VMs rather than view model.","commit_id":"fefa5c313f9468e147f5162a3773660943720013"},{"author":{"_account_id":17013,"name":"Rajat Vig","email":"rajatv@thoughtworks.com","username":"rajatvig"},"change_message_id":"af2bd0a0c562b3a21a3d565078cb851a80b2fc8b","unresolved":false,"context_lines":[{"line_number":28,"context_line":"  TableController.$inject \u003d [\u0027$scope\u0027];"},{"line_number":29,"context_line":""},{"line_number":30,"context_line":"  function TableController($scope) {"},{"line_number":31,"context_line":"    var vm \u003d this;"},{"line_number":32,"context_line":"    $scope.selected \u003d {};"},{"line_number":33,"context_line":"    $scope.numSelected \u003d 0;"},{"line_number":34,"context_line":""}],"source_content_type":"text/javascript","patch_set":10,"id":"ba3cc151_077fb1e0","line":31,"updated":"2015-07-08 17:24:35.000000000","message":"The JP Style Guide recommends against using setting up variables on $scope. Set this on the vm variable","commit_id":"fefa5c313f9468e147f5162a3773660943720013"},{"author":{"_account_id":11881,"name":"Aaron Sahlin","email":"asahlin@us.ibm.com","username":"asahlin"},"change_message_id":"9105774d9b192f08fc2c575c7aec2356fd95e759","unresolved":false,"context_lines":[{"line_number":28,"context_line":"  TableController.$inject \u003d [\u0027$scope\u0027];"},{"line_number":29,"context_line":""},{"line_number":30,"context_line":"  function TableController($scope) {"},{"line_number":31,"context_line":"    var vm \u003d this;"},{"line_number":32,"context_line":"    $scope.selected \u003d {};"},{"line_number":33,"context_line":"    $scope.numSelected \u003d 0;"},{"line_number":34,"context_line":""}],"source_content_type":"text/javascript","patch_set":10,"id":"9a41bdd9_3b0c6540","line":31,"in_reply_to":"ba3cc151_077fb1e0","updated":"2015-07-14 21:02:42.000000000","message":"agree.   But I think that should be done in a follow on patch.   Those variables are currently being used and I dont want to pull in those changes into this patch.","commit_id":"fefa5c313f9468e147f5162a3773660943720013"},{"author":{"_account_id":11881,"name":"Aaron Sahlin","email":"asahlin@us.ibm.com","username":"asahlin"},"change_message_id":"9105774d9b192f08fc2c575c7aec2356fd95e759","unresolved":false,"context_lines":[{"line_number":28,"context_line":"  TableController.$inject \u003d [\u0027$scope\u0027];"},{"line_number":29,"context_line":""},{"line_number":30,"context_line":"  function TableController($scope) {"},{"line_number":31,"context_line":"    var vm \u003d this;"},{"line_number":32,"context_line":"    $scope.selected \u003d {};"},{"line_number":33,"context_line":"    $scope.numSelected \u003d 0;"},{"line_number":34,"context_line":""}],"source_content_type":"text/javascript","patch_set":10,"id":"9a41bdd9_1baf2ee3","line":31,"in_reply_to":"ba3cc151_b956ef59","updated":"2015-07-14 21:02:42.000000000","message":"yep, can change to ctrl.  I liked that better, only had this \u003d vm, because that is what the lint setting initially were checking for when we (imported from JP Style guide).","commit_id":"fefa5c313f9468e147f5162a3773660943720013"},{"author":{"_account_id":13805,"name":"Shaoquan Chen","email":"sean.chen2@hp.com","username":"SeanChen"},"change_message_id":"522ba2d57f53bc1e7efcba8bc474234c94ff29d6","unresolved":false,"context_lines":[{"line_number":22,"context_line":"   * Controller used by `hzTable`"},{"line_number":23,"context_line":"   */"},{"line_number":24,"context_line":"  angular"},{"line_number":25,"context_line":"    .module(\u0027horizon.framework.widgets.table\u0027)"},{"line_number":26,"context_line":"    .controller(\u0027TableController\u0027, TableController);"},{"line_number":27,"context_line":""},{"line_number":28,"context_line":"  TableController.$inject \u003d [\u0027$scope\u0027];"}],"source_content_type":"text/javascript","patch_set":11,"id":"9a41bdd9_edce422d","line":25,"updated":"2015-07-14 21:59:49.000000000","message":"The same for ngdoc position.","commit_id":"f494a85115b31c7f6bfb7ea3e45eaddebcc67694"},{"author":{"_account_id":13805,"name":"Shaoquan Chen","email":"sean.chen2@hp.com","username":"SeanChen"},"change_message_id":"522ba2d57f53bc1e7efcba8bc474234c94ff29d6","unresolved":false,"context_lines":[{"line_number":39,"context_line":"    };"},{"line_number":40,"context_line":""},{"line_number":41,"context_line":"    // set the row selection state"},{"line_number":42,"context_line":"    ctrl.select \u003d function(row, checkedState, broadcast) {"},{"line_number":43,"context_line":"      $scope.selected[row.id] \u003d {"},{"line_number":44,"context_line":"        checked: checkedState,"},{"line_number":45,"context_line":"        item: row"}],"source_content_type":"text/javascript","patch_set":11,"id":"9a41bdd9_cdf01e6a","line":42,"updated":"2015-07-14 21:59:49.000000000","message":"don\u0027t we want to declare this function? it is pretty big.","commit_id":"f494a85115b31c7f6bfb7ea3e45eaddebcc67694"},{"author":{"_account_id":11881,"name":"Aaron Sahlin","email":"asahlin@us.ibm.com","username":"asahlin"},"change_message_id":"c7d53411f27842e93f9933365898a212c7c807b5","unresolved":false,"context_lines":[{"line_number":39,"context_line":"    };"},{"line_number":40,"context_line":""},{"line_number":41,"context_line":"    // set the row selection state"},{"line_number":42,"context_line":"    ctrl.select \u003d function(row, checkedState, broadcast) {"},{"line_number":43,"context_line":"      $scope.selected[row.id] \u003d {"},{"line_number":44,"context_line":"        checked: checkedState,"},{"line_number":45,"context_line":"        item: row"}],"source_content_type":"text/javascript","patch_set":11,"id":"9a41bdd9_2643bbb3","line":42,"in_reply_to":"9a41bdd9_cdf01e6a","updated":"2015-07-15 19:54:38.000000000","message":"yes, done.","commit_id":"f494a85115b31c7f6bfb7ea3e45eaddebcc67694"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"fb6477abe0d2acafdf669b4c9e615f7291a6e2c7","unresolved":false,"context_lines":[{"line_number":30,"context_line":"  function TableController($scope) {"},{"line_number":31,"context_line":"    var ctrl \u003d this;"},{"line_number":32,"context_line":"    $scope.selected \u003d {};"},{"line_number":33,"context_line":"    $scope.numSelected \u003d 0;"},{"line_number":34,"context_line":""},{"line_number":35,"context_line":"    ctrl.isSelected \u003d isSelected;"},{"line_number":36,"context_line":"    ctrl.select \u003d select;"}],"source_content_type":"text/javascript","patch_set":12,"id":"3a50d1a3_7e0d5036","line":33,"updated":"2015-07-24 22:15:35.000000000","message":"eslint complaining about setting to scope. If this is not possible, then we need to add an ignore here.","commit_id":"32042452d25947af8f660f536093f97ebd357caa"},{"author":{"_account_id":11881,"name":"Aaron Sahlin","email":"asahlin@us.ibm.com","username":"asahlin"},"change_message_id":"4e074d15cfae15672ac9d6077fbde05dc22e32a7","unresolved":false,"context_lines":[{"line_number":30,"context_line":"  function TableController($scope) {"},{"line_number":31,"context_line":"    var ctrl \u003d this;"},{"line_number":32,"context_line":"    $scope.selected \u003d {};"},{"line_number":33,"context_line":"    $scope.numSelected \u003d 0;"},{"line_number":34,"context_line":""},{"line_number":35,"context_line":"    ctrl.isSelected \u003d isSelected;"},{"line_number":36,"context_line":"    ctrl.select \u003d select;"}],"source_content_type":"text/javascript","patch_set":12,"id":"3a50d1a3_7531aa59","line":33,"in_reply_to":"3a50d1a3_7e0d5036","updated":"2015-07-27 20:07:47.000000000","message":"Done","commit_id":"32042452d25947af8f660f536093f97ebd357caa"}],"horizon/static/framework/widgets/table/table.module.js":[{"author":{"_account_id":7665,"name":"Travis Tripp","email":"os.travis.tripp@gmail.com","username":"travis.tripp"},"change_message_id":"7331a237fdd1b31e38c3de587021b63b40275693","unresolved":false,"context_lines":[{"line_number":37,"context_line":"   *"},{"line_number":38,"context_line":"   */"},{"line_number":39,"context_line":"  angular"},{"line_number":40,"context_line":"    .module(\u0027horizon.framework.widgets.table\u0027, [\u0027smart-table\u0027, \u0027lrDragNDrop\u0027])"},{"line_number":41,"context_line":""},{"line_number":42,"context_line":"    /**"},{"line_number":43,"context_line":"     * @ngdoc parameters"}],"source_content_type":"text/javascript","patch_set":10,"id":"ba3cc151_e92b8680","line":40,"updated":"2015-07-08 16:33:52.000000000","message":"nit:  put dependencies on next line.\n\n.module(\u0027horizon.framework.widgets.table\u0027, [\n   \u0027smart-table\u0027,\n   \u0027lrDragNDrop\u0027\n ])\n\nFor example see here:\nhttps://review.openstack.org/#/c/196881/5/openstack_dashboard/static/dashboard/launch-instance/launch-instance.module.js","commit_id":"fefa5c313f9468e147f5162a3773660943720013"},{"author":{"_account_id":11881,"name":"Aaron Sahlin","email":"asahlin@us.ibm.com","username":"asahlin"},"change_message_id":"9105774d9b192f08fc2c575c7aec2356fd95e759","unresolved":false,"context_lines":[{"line_number":37,"context_line":"   *"},{"line_number":38,"context_line":"   */"},{"line_number":39,"context_line":"  angular"},{"line_number":40,"context_line":"    .module(\u0027horizon.framework.widgets.table\u0027, [\u0027smart-table\u0027, \u0027lrDragNDrop\u0027])"},{"line_number":41,"context_line":""},{"line_number":42,"context_line":"    /**"},{"line_number":43,"context_line":"     * @ngdoc parameters"}],"source_content_type":"text/javascript","patch_set":10,"id":"9a41bdd9_7b075aca","line":40,"in_reply_to":"ba3cc151_e92b8680","updated":"2015-07-14 21:02:42.000000000","message":"Done","commit_id":"fefa5c313f9468e147f5162a3773660943720013"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"fb6477abe0d2acafdf669b4c9e615f7291a6e2c7","unresolved":false,"context_lines":[{"line_number":28,"context_line":"   * Requires {@link https://github.com/lorenzofox3/Smart-Table `Smart-Table`}"},{"line_number":29,"context_line":"   * module and jQuery (for table drawer slide animation in IE9) to be installed."},{"line_number":30,"context_line":"   *"},{"line_number":31,"context_line":"   * | Directives                                                        |"},{"line_number":32,"context_line":"   * |-------------------------------------------------------------------|"},{"line_number":33,"context_line":"   * | {@link horizon.framework.widgets.table.directive:hzTable `hzTable`}               |"},{"line_number":34,"context_line":"   * | {@link horizon.framework.widgets.table.directive:hzSelect `hzSelect`}             |"}],"source_content_type":"text/javascript","patch_set":12,"id":"3a50d1a3_435bdf54","line":31,"updated":"2015-07-24 22:15:35.000000000","message":"I personally feel like this is not needed. We aren\u0027t generating docs from this right now, so having them here is just hogging up space, some even requiring eslint ignore due to line length.","commit_id":"32042452d25947af8f660f536093f97ebd357caa"},{"author":{"_account_id":11881,"name":"Aaron Sahlin","email":"asahlin@us.ibm.com","username":"asahlin"},"change_message_id":"4e074d15cfae15672ac9d6077fbde05dc22e32a7","unresolved":false,"context_lines":[{"line_number":28,"context_line":"   * Requires {@link https://github.com/lorenzofox3/Smart-Table `Smart-Table`}"},{"line_number":29,"context_line":"   * module and jQuery (for table drawer slide animation in IE9) to be installed."},{"line_number":30,"context_line":"   *"},{"line_number":31,"context_line":"   * | Directives                                                        |"},{"line_number":32,"context_line":"   * |-------------------------------------------------------------------|"},{"line_number":33,"context_line":"   * | {@link horizon.framework.widgets.table.directive:hzTable `hzTable`}               |"},{"line_number":34,"context_line":"   * | {@link horizon.framework.widgets.table.directive:hzSelect `hzSelect`}             |"}],"source_content_type":"text/javascript","patch_set":12,"id":"3a50d1a3_72ef801e","line":31,"in_reply_to":"3a50d1a3_435bdf54","updated":"2015-07-27 20:07:47.000000000","message":"removed","commit_id":"32042452d25947af8f660f536093f97ebd357caa"},{"author":{"_account_id":9622,"name":"Cindy Lu","email":"clu@us.ibm.com","username":"clu14"},"change_message_id":"741fbc7946d3b04377ca74fd4bf7031519d5679a","unresolved":false,"context_lines":[{"line_number":34,"context_line":"   * | {@link horizon.framework.widgets.table.directive:hzSelect `hzSelect`}             |"},{"line_number":35,"context_line":"   * | {@link horizon.framework.widgets.table.directive:hzSelectAll `hzSelectAll`}       |"},{"line_number":36,"context_line":"   * | {@link horizon.framework.widgets.table.directive:hzExpandDetail `hzExpandDetail`} |"},{"line_number":37,"context_line":"   *"},{"line_number":38,"context_line":"   */"},{"line_number":39,"context_line":"  angular"},{"line_number":40,"context_line":"    .module(\u0027horizon.framework.widgets.table\u0027, ["}],"source_content_type":"text/javascript","patch_set":12,"id":"3a50d1a3_c8862e65","line":37,"updated":"2015-07-24 21:33:43.000000000","message":"unrelated nit: should controller be mentioned in ngdocs too?","commit_id":"32042452d25947af8f660f536093f97ebd357caa"},{"author":{"_account_id":11881,"name":"Aaron Sahlin","email":"asahlin@us.ibm.com","username":"asahlin"},"change_message_id":"4e074d15cfae15672ac9d6077fbde05dc22e32a7","unresolved":false,"context_lines":[{"line_number":34,"context_line":"   * | {@link horizon.framework.widgets.table.directive:hzSelect `hzSelect`}             |"},{"line_number":35,"context_line":"   * | {@link horizon.framework.widgets.table.directive:hzSelectAll `hzSelectAll`}       |"},{"line_number":36,"context_line":"   * | {@link horizon.framework.widgets.table.directive:hzExpandDetail `hzExpandDetail`} |"},{"line_number":37,"context_line":"   *"},{"line_number":38,"context_line":"   */"},{"line_number":39,"context_line":"  angular"},{"line_number":40,"context_line":"    .module(\u0027horizon.framework.widgets.table\u0027, ["}],"source_content_type":"text/javascript","patch_set":12,"id":"3a50d1a3_b28ae862","line":37,"in_reply_to":"3a50d1a3_c8862e65","updated":"2015-07-27 20:07:47.000000000","message":"removed","commit_id":"32042452d25947af8f660f536093f97ebd357caa"}],"horizon/static/framework/widgets/table/table.spec.js":[{"author":{"_account_id":9622,"name":"Cindy Lu","email":"clu@us.ibm.com","username":"clu14"},"change_message_id":"741fbc7946d3b04377ca74fd4bf7031519d5679a","unresolved":false,"context_lines":[{"line_number":86,"context_line":"        });"},{"line_number":87,"context_line":"      });"},{"line_number":88,"context_line":""},{"line_number":89,"context_line":"      it(\u0027should return false when calling isSelected for each row\u0027, function() {"},{"line_number":90,"context_line":"        var hzTableCtrl \u003d $element.controller(\u0027hzTable\u0027);"},{"line_number":91,"context_line":"        angular.forEach($scope.safeFakeData, function(row) {"},{"line_number":92,"context_line":"          expect(hzTableCtrl.isSelected(row)).toBe(false);"}],"source_content_type":"text/javascript","patch_set":12,"id":"3a50d1a3_686d9acb","line":89,"updated":"2015-07-24 21:33:43.000000000","message":"eslint error\n\n/*eslint-disable angular/ng_controller_name */\n\n...\n\n/*eslint-enable angular/ng_controller_name */","commit_id":"32042452d25947af8f660f536093f97ebd357caa"},{"author":{"_account_id":11881,"name":"Aaron Sahlin","email":"asahlin@us.ibm.com","username":"asahlin"},"change_message_id":"4e074d15cfae15672ac9d6077fbde05dc22e32a7","unresolved":false,"context_lines":[{"line_number":86,"context_line":"        });"},{"line_number":87,"context_line":"      });"},{"line_number":88,"context_line":""},{"line_number":89,"context_line":"      it(\u0027should return false when calling isSelected for each row\u0027, function() {"},{"line_number":90,"context_line":"        var hzTableCtrl \u003d $element.controller(\u0027hzTable\u0027);"},{"line_number":91,"context_line":"        angular.forEach($scope.safeFakeData, function(row) {"},{"line_number":92,"context_line":"          expect(hzTableCtrl.isSelected(row)).toBe(false);"}],"source_content_type":"text/javascript","patch_set":12,"id":"3a50d1a3_f23f10b2","line":89,"in_reply_to":"3a50d1a3_686d9acb","updated":"2015-07-27 20:07:47.000000000","message":"Done","commit_id":"32042452d25947af8f660f536093f97ebd357caa"},{"author":{"_account_id":9622,"name":"Cindy Lu","email":"clu@us.ibm.com","username":"clu14"},"change_message_id":"741fbc7946d3b04377ca74fd4bf7031519d5679a","unresolved":false,"context_lines":[{"line_number":94,"context_line":"      });"},{"line_number":95,"context_line":""},{"line_number":96,"context_line":"      it(\u0027should update selected and numSelected when select called\u0027, function() {"},{"line_number":97,"context_line":"        var hzTableCtrl \u003d $element.controller(\u0027hzTable\u0027);"},{"line_number":98,"context_line":"        var firstRow \u003d $scope.safeFakeData[0];"},{"line_number":99,"context_line":"        hzTableCtrl.select(firstRow, true);"},{"line_number":100,"context_line":""}],"source_content_type":"text/javascript","patch_set":12,"id":"3a50d1a3_2868f2b9","line":97,"updated":"2015-07-24 21:33:43.000000000","message":"eslint error","commit_id":"32042452d25947af8f660f536093f97ebd357caa"},{"author":{"_account_id":11881,"name":"Aaron Sahlin","email":"asahlin@us.ibm.com","username":"asahlin"},"change_message_id":"4e074d15cfae15672ac9d6077fbde05dc22e32a7","unresolved":false,"context_lines":[{"line_number":94,"context_line":"      });"},{"line_number":95,"context_line":""},{"line_number":96,"context_line":"      it(\u0027should update selected and numSelected when select called\u0027, function() {"},{"line_number":97,"context_line":"        var hzTableCtrl \u003d $element.controller(\u0027hzTable\u0027);"},{"line_number":98,"context_line":"        var firstRow \u003d $scope.safeFakeData[0];"},{"line_number":99,"context_line":"        hzTableCtrl.select(firstRow, true);"},{"line_number":100,"context_line":""}],"source_content_type":"text/javascript","patch_set":12,"id":"3a50d1a3_b2450844","line":97,"in_reply_to":"3a50d1a3_2868f2b9","updated":"2015-07-27 20:07:47.000000000","message":"Done","commit_id":"32042452d25947af8f660f536093f97ebd357caa"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"fb6477abe0d2acafdf669b4c9e615f7291a6e2c7","unresolved":false,"context_lines":[{"line_number":249,"context_line":"        expandIcon.click();"},{"line_number":250,"context_line":""},{"line_number":251,"context_line":"        // Wait for the slide down animation to complete before test"},{"line_number":252,"context_line":"        setTimeout(function() {"},{"line_number":253,"context_line":"          var summaryRow \u003d expandIcon.closest(\u0027tr\u0027);"},{"line_number":254,"context_line":"          expect(summaryRow.hasClass(\u0027expanded\u0027)).toBe(false);"},{"line_number":255,"context_line":"          done();"}],"source_content_type":"text/javascript","patch_set":12,"id":"3a50d1a3_3e9348a5","line":252,"updated":"2015-07-24 22:15:35.000000000","message":"while we\u0027re at it, can we use the $timeout to flush here?","commit_id":"32042452d25947af8f660f536093f97ebd357caa"},{"author":{"_account_id":11881,"name":"Aaron Sahlin","email":"asahlin@us.ibm.com","username":"asahlin"},"change_message_id":"4e074d15cfae15672ac9d6077fbde05dc22e32a7","unresolved":false,"context_lines":[{"line_number":249,"context_line":"        expandIcon.click();"},{"line_number":250,"context_line":""},{"line_number":251,"context_line":"        // Wait for the slide down animation to complete before test"},{"line_number":252,"context_line":"        setTimeout(function() {"},{"line_number":253,"context_line":"          var summaryRow \u003d expandIcon.closest(\u0027tr\u0027);"},{"line_number":254,"context_line":"          expect(summaryRow.hasClass(\u0027expanded\u0027)).toBe(false);"},{"line_number":255,"context_line":"          done();"}],"source_content_type":"text/javascript","patch_set":12,"id":"3a50d1a3_0ff059fc","line":252,"in_reply_to":"3a50d1a3_3e9348a5","updated":"2015-07-27 20:07:47.000000000","message":"1) setTimeout is needed to make that test work. In ngMock $timeout is a simple decorator for $timeout service that adds a \"flush\" method that flushes queued tasks","commit_id":"32042452d25947af8f660f536093f97ebd357caa"}]}
