)]}'
{"horizon/static/framework/widgets/transfer-table/transfer-table.basic.mock.html":[{"author":{"_account_id":9622,"name":"Cindy Lu","email":"clu@us.ibm.com","username":"clu14"},"change_message_id":"71859683d99508d386a1a3e643f59ca7d967d688","unresolved":false,"context_lines":[{"line_number":1,"context_line":"\u003ctransfer-table tr-model\u003d\"tableData\" limits\u003d\"limits\"\u003e"},{"line_number":2,"context_line":"  \u003cavailable\u003e"},{"line_number":3,"context_line":"    \u003ctable st-table\u003d\"tableData.available\" hz-table\u003e"},{"line_number":4,"context_line":"      \u003cthead\u003e"}],"source_content_type":"text/html","patch_set":10,"id":"da20952f_2ad1cb57","line":1,"updated":"2015-08-27 17:08:13.000000000","message":"would \u0027original\u0027 be better than \u0027basic\u0027 for the name?","commit_id":"cf0b99d4bfb2f896095e45e1e591a6ad2e340de6"}],"horizon/static/framework/widgets/transfer-table/transfer-table.controller.js":[{"author":{"_account_id":9622,"name":"Cindy Lu","email":"clu@us.ibm.com","username":"clu14"},"change_message_id":"71859683d99508d386a1a3e643f59ca7d967d688","unresolved":false,"context_lines":[{"line_number":56,"context_line":"    * $scope.model \u003d { available: availableItems };"},{"line_number":57,"context_line":"    * $scope.limits \u003d { maxAllocation: -1 };"},{"line_number":58,"context_line":"    * ```"},{"line_number":59,"context_line":"    * For usage example, see the transfer-table.example.html file."},{"line_number":60,"context_line":"    */"},{"line_number":61,"context_line":"  function TransferTableController($scope, $timeout, $parse, $attrs, $log, helpText, limits) {"},{"line_number":62,"context_line":""}],"source_content_type":"text/javascript","patch_set":10,"id":"da20952f_8a16d7ef","line":59,"updated":"2015-08-27 17:08:13.000000000","message":"It would be nice to keep the functions/objects available from the left side.","commit_id":"cf0b99d4bfb2f896095e45e1e591a6ad2e340de6"}],"horizon/static/framework/widgets/transfer-table/transfer-table.controller.spec.js":[{"author":{"_account_id":9622,"name":"Cindy Lu","email":"clu@us.ibm.com","username":"clu14"},"change_message_id":"71859683d99508d386a1a3e643f59ca7d967d688","unresolved":false,"context_lines":[{"line_number":24,"context_line":"    beforeEach(module(\u0027horizon.framework\u0027));"},{"line_number":25,"context_line":"    beforeEach(module(\u0027horizon.framework.widgets\u0027));"},{"line_number":26,"context_line":"    beforeEach(module(\u0027horizon.framework.widgets.table\u0027));"},{"line_number":27,"context_line":"    beforeEach(module(\u0027horizon.framework.widgets.transfer-table\u0027));"},{"line_number":28,"context_line":""},{"line_number":29,"context_line":"    var log, params;"},{"line_number":30,"context_line":"    beforeEach(module(function($provide) {"}],"source_content_type":"text/javascript","patch_set":10,"id":"da20952f_a4c5148f","line":27,"updated":"2015-08-27 17:08:13.000000000","message":"You don\u0027t need L25-27, just\n\nbeforeEach(module(\u0027horizon.framework\u0027));","commit_id":"cf0b99d4bfb2f896095e45e1e591a6ad2e340de6"}],"horizon/static/framework/widgets/transfer-table/transfer-table.directive.js":[{"author":{"_account_id":7665,"name":"Travis Tripp","email":"os.travis.tripp@gmail.com","username":"travis.tripp"},"change_message_id":"e5e8ece8852c0ab7f15e485e09062295e8ff3959","unresolved":false,"context_lines":[{"line_number":69,"context_line":"        var allocatedScope \u003d scope.$new();"},{"line_number":70,"context_line":"        allocatedScope.$displayedItems \u003d ctrl.allocated.displayedItems;"},{"line_number":71,"context_line":"        allocatedScope.$sourceItems \u003d ctrl.allocated.sourceItems;"},{"line_number":72,"context_line":"        allocatedScope.$allocated \u003d true;"},{"line_number":73,"context_line":"        transclude(allocatedScope, function(clone) {"},{"line_number":74,"context_line":"          allocated.append(clone.filter(\u0027table\u0027));"},{"line_number":75,"context_line":"        });"}],"source_content_type":"text/javascript","patch_set":5,"id":"1a4dcd0f_6fc187e3","line":72,"updated":"2015-08-12 23:58:07.000000000","message":"I started by reading the final HTML before reading the code. I think $allocated and $available should have their naming changed a bit.  When reading the HTML, the current names left some ambiguity.  \n\n  For example: ng-show\u003d\"$available\"\n\nLeft me wondering, does this mean that their are $available items?  It is an array?  Does this mean it is the available table?\n\nClarity was only found by searching the code.  I think it would be clearer to name to one of the following choices:\n\n  $availableTable \n  $inAvailableTable\n  $inAvailableScope \n\nand follow that for $allocated as well.","commit_id":"5654db68c2a558db749533ded32b42fb12c4c352"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"a9d0b74b5219a561f9d3d02f48a3ea1a903e4f4c","unresolved":false,"context_lines":[{"line_number":69,"context_line":"        var allocatedScope \u003d scope.$new();"},{"line_number":70,"context_line":"        allocatedScope.$displayedItems \u003d ctrl.allocated.displayedItems;"},{"line_number":71,"context_line":"        allocatedScope.$sourceItems \u003d ctrl.allocated.sourceItems;"},{"line_number":72,"context_line":"        allocatedScope.$allocated \u003d true;"},{"line_number":73,"context_line":"        transclude(allocatedScope, function(clone) {"},{"line_number":74,"context_line":"          allocated.append(clone.filter(\u0027table\u0027));"},{"line_number":75,"context_line":"        });"}],"source_content_type":"text/javascript","patch_set":5,"id":"1a4dcd0f_eaa02592","line":72,"in_reply_to":"1a4dcd0f_6fc187e3","updated":"2015-08-13 00:06:07.000000000","message":"what about $isAvailableTable?","commit_id":"5654db68c2a558db749533ded32b42fb12c4c352"},{"author":{"_account_id":9622,"name":"Cindy Lu","email":"clu@us.ibm.com","username":"clu14"},"change_message_id":"71859683d99508d386a1a3e643f59ca7d967d688","unresolved":false,"context_lines":[{"line_number":34,"context_line":"   * are described above (constants: helpContent and limits)."},{"line_number":35,"context_line":"   *"},{"line_number":36,"context_line":"   * Refer to transfer-table.controller.js for data model description."},{"line_number":37,"context_line":"   * Refer to transfer-table.example.html to see it use as a directive."},{"line_number":38,"context_line":"   *"},{"line_number":39,"context_line":"   * Optional arguments for each row in table data model:"},{"line_number":40,"context_line":"   *   disabled - disables the allocate button in available table"}],"source_content_type":"text/javascript","patch_set":10,"id":"da20952f_844a50ab","line":37,"updated":"2015-08-27 17:08:13.000000000","message":"would it be better to name this transfer-table.html.example? it\u0027s easier to see if you\u0027re just browsing directories.","commit_id":"cf0b99d4bfb2f896095e45e1e591a6ad2e340de6"}],"horizon/static/framework/widgets/transfer-table/transfer-table.directive.spec.js":[{"author":{"_account_id":7665,"name":"Travis Tripp","email":"os.travis.tripp@gmail.com","username":"travis.tripp"},"change_message_id":"75d282cd279f18ef037ad3be68e3f8e15015bebd","unresolved":false,"context_lines":[{"line_number":49,"context_line":"      var $element;"},{"line_number":50,"context_line":"      beforeEach(inject(function($injector) {"},{"line_number":51,"context_line":"        var path \u003d \u0027transfer-table/transfer-table.basic.mock.html\u0027;"},{"line_number":52,"context_line":"        var markup \u003d $templateCache.get(basePath + path);"},{"line_number":53,"context_line":"        $element \u003d angular.element(markup);"},{"line_number":54,"context_line":"        $compile($element)($scope);"},{"line_number":55,"context_line":"        $scope.$apply();"}],"source_content_type":"text/javascript","patch_set":8,"id":"fa1b9901_2691aaf1","line":52,"updated":"2015-08-20 04:50:32.000000000","message":"Much nicer than the ugly inline javascript html.","commit_id":"27785b54f9c0fd47d5fe328dcd1417f78643976c"}],"horizon/static/framework/widgets/transfer-table/transfer-table.example.html":[{"author":{"_account_id":7665,"name":"Travis Tripp","email":"os.travis.tripp@gmail.com","username":"travis.tripp"},"change_message_id":"e5e8ece8852c0ab7f15e485e09062295e8ff3959","unresolved":false,"context_lines":[{"line_number":1,"context_line":""},{"line_number":2,"context_line":"\u003ctransfer-table tr-model\u003d\"data\" clone-content\u003e"},{"line_number":3,"context_line":"  \u003ctable st-table\u003d\"$displayedItems\" st-safe-src\u003d\"$sourceItems\""},{"line_number":4,"context_line":"    hz-table class\u003d\"table-striped table-rsp table-detail modern\"\u003e"},{"line_number":5,"context_line":"    \u003cthead\u003e"},{"line_number":6,"context_line":"      \u003c!-- show search bar only for available table --\u003e"}],"source_content_type":"text/html","patch_set":5,"id":"1a4dcd0f_8a1ba172","line":3,"updated":"2015-08-12 23:58:07.000000000","message":"these attrs:\n\nst-table\u003d\"$displayedItems\" st-safe-src\u003d\"$sourceItems\"\n\nwill be repeated in every transfer table with cloned content.  is it possible to add them when transcluding the content?","commit_id":"5654db68c2a558db749533ded32b42fb12c4c352"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"a9d0b74b5219a561f9d3d02f48a3ea1a903e4f4c","unresolved":false,"context_lines":[{"line_number":1,"context_line":""},{"line_number":2,"context_line":"\u003ctransfer-table tr-model\u003d\"data\" clone-content\u003e"},{"line_number":3,"context_line":"  \u003ctable st-table\u003d\"$displayedItems\" st-safe-src\u003d\"$sourceItems\""},{"line_number":4,"context_line":"    hz-table class\u003d\"table-striped table-rsp table-detail modern\"\u003e"},{"line_number":5,"context_line":"    \u003cthead\u003e"},{"line_number":6,"context_line":"      \u003c!-- show search bar only for available table --\u003e"}],"source_content_type":"text/html","patch_set":5,"id":"1a4dcd0f_ea790530","line":3,"in_reply_to":"1a4dcd0f_8a1ba172","updated":"2015-08-13 00:06:07.000000000","message":"I\u0027m not entirely sure how it works, but it is not possible when I tried to add it in the transclude function. I think it has to do with how the compiler works, it needs to read directives and their dependencies first. If you do not have st-table here, st-sort and st-search will complain since it was unable to locate it.","commit_id":"5654db68c2a558db749533ded32b42fb12c4c352"}]}
