)]}'
{"horizon/static/framework/util/tech-debt/dummy.controller.js":[{"author":{"_account_id":13805,"name":"Shaoquan Chen","email":"sean.chen2@hp.com","username":"SeanChen"},"change_message_id":"920e52c278f4db1b4de886bfb68dc530a0c79759","unresolved":false,"context_lines":[{"line_number":1,"context_line":"(function () {"},{"line_number":2,"context_line":"  \u0027use strict\u0027;"},{"line_number":3,"context_line":"  angular.module(\u0027horizon.framework.util.tech-debt\u0027)"},{"line_number":4,"context_line":"    .controller(\u0027DummyController\u0027, function () {});"},{"line_number":5,"context_line":"}());"}],"source_content_type":"text/javascript","patch_set":3,"id":"9a41bdd9_23a0009f","line":3,"updated":"2015-07-13 18:46:03.000000000","message":"please put .module() in a new line.","commit_id":"8bf7a81e6407b799d353a3ef841acf13ec08903a"},{"author":{"_account_id":13785,"name":"Kelly Domico","email":"kelly.domico@hp.com","username":"kdomico"},"change_message_id":"af2c902bb93c6245fcbce46c79afbe5e557e9cf8","unresolved":false,"context_lines":[{"line_number":1,"context_line":"(function () {"},{"line_number":2,"context_line":"  \u0027use strict\u0027;"},{"line_number":3,"context_line":""},{"line_number":4,"context_line":"  angular"}],"source_content_type":"text/javascript","patch_set":4,"id":"9a41bdd9_6d5b4555","line":1,"updated":"2015-07-14 02:43:44.000000000","message":"Add Apache license","commit_id":"30cdcd680ddcb57ffec0eee384b5cde63950deef"},{"author":{"_account_id":11881,"name":"Aaron Sahlin","email":"asahlin@us.ibm.com","username":"asahlin"},"change_message_id":"9f04b0d591f83996a37b8517b2e64caf41890d90","unresolved":false,"context_lines":[{"line_number":19,"context_line":"    .module(\u0027horizon.framework.util.tech-debt\u0027)"},{"line_number":20,"context_line":"    .controller(\u0027DummyController\u0027, angular.noop);"},{"line_number":21,"context_line":""},{"line_number":22,"context_line":"}());"}],"source_content_type":"text/javascript","patch_set":14,"id":"3a50d1a3_1984b85b","line":22,"updated":"2015-07-29 16:29:46.000000000","message":"IIFE is malformed..\nshould be })();","commit_id":"b7482cc5667d4a573ca1658d5ef5e3e20e31026a"},{"author":{"_account_id":17013,"name":"Rajat Vig","email":"rajatv@thoughtworks.com","username":"rajatvig"},"change_message_id":"8322a393ab3c4f481d2d613c82561b66a9210de9","unresolved":false,"context_lines":[{"line_number":19,"context_line":"    .module(\u0027horizon.framework.util.tech-debt\u0027)"},{"line_number":20,"context_line":"    .controller(\u0027DummyController\u0027, angular.noop);"},{"line_number":21,"context_line":""},{"line_number":22,"context_line":"}());"}],"source_content_type":"text/javascript","patch_set":14,"id":"3a50d1a3_144c7d9c","line":22,"in_reply_to":"3a50d1a3_1984b85b","updated":"2015-07-29 17:03:05.000000000","message":"Done","commit_id":"b7482cc5667d4a573ca1658d5ef5e3e20e31026a"}],"horizon/static/framework/util/tech-debt/dummy.js":[{"author":{"_account_id":13805,"name":"Shaoquan Chen","email":"sean.chen2@hp.com","username":"SeanChen"},"change_message_id":"d44db026089894d227203dd9d026fc0c3a289fb1","unresolved":false,"context_lines":[{"line_number":1,"context_line":"(function () {"},{"line_number":2,"context_line":"  \u0027use strict\u0027;"},{"line_number":3,"context_line":"  angular.module(\u0027horizon.framework.util.tech-debt\u0027)"},{"line_number":4,"context_line":"    .controller(\u0027DummyController\u0027, function () {});"}],"source_content_type":"text/javascript","patch_set":1,"id":"ba3cc151_b5233258","line":1,"updated":"2015-07-10 03:46:08.000000000","message":"we nee to change the file name to dummy.controller.js.","commit_id":"984f59689ebb82c3987e92c3d81116d3caef2979"}],"horizon/static/framework/util/tech-debt/helper-functions.js":[{"author":{"_account_id":9622,"name":"Cindy Lu","email":"clu@us.ibm.com","username":"clu14"},"change_message_id":"ef681d35d21b2c5d2f5e957f87eb66789bf6d693","unresolved":false,"context_lines":[{"line_number":12,"context_line":" * See the License for the specific language governing permissions and"},{"line_number":13,"context_line":" * limitations under the License."},{"line_number":14,"context_line":" */"},{"line_number":15,"context_line":"(function () {"},{"line_number":16,"context_line":"  \u0027use strict\u0027;"},{"line_number":17,"context_line":""},{"line_number":18,"context_line":"  angular"}],"source_content_type":"text/javascript","patch_set":8,"id":"3a50d1a3_96e6c3b2","line":15,"updated":"2015-07-21 21:26:05.000000000","message":"can we call this file helper-function.service.js or utils.service.js?","commit_id":"09c1e488986b24c6c0c366d7bdf37ada42a5def1"},{"author":{"_account_id":9622,"name":"Cindy Lu","email":"clu@us.ibm.com","username":"clu14"},"change_message_id":"ef681d35d21b2c5d2f5e957f87eb66789bf6d693","unresolved":false,"context_lines":[{"line_number":22,"context_line":"  // An example of using the John Papa recommended $inject instead of in-line"},{"line_number":23,"context_line":"  // array syntax"},{"line_number":24,"context_line":"  utils.$inject \u003d [\u0027$rootScope\u0027, \u0027$compile\u0027];"},{"line_number":25,"context_line":""},{"line_number":26,"context_line":"  function utils($rootScope, $compile) {"},{"line_number":27,"context_line":"    return {"},{"line_number":28,"context_line":"      capitalize: function (string) {"}],"source_content_type":"text/javascript","patch_set":8,"id":"3a50d1a3_16e95380","line":25,"updated":"2015-07-21 21:26:05.000000000","message":"call this utilsService","commit_id":"09c1e488986b24c6c0c366d7bdf37ada42a5def1"},{"author":{"_account_id":9622,"name":"Cindy Lu","email":"clu@us.ibm.com","username":"clu14"},"change_message_id":"ef681d35d21b2c5d2f5e957f87eb66789bf6d693","unresolved":false,"context_lines":[{"line_number":24,"context_line":"  utils.$inject \u003d [\u0027$rootScope\u0027, \u0027$compile\u0027];"},{"line_number":25,"context_line":""},{"line_number":26,"context_line":"  function utils($rootScope, $compile) {"},{"line_number":27,"context_line":"    return {"},{"line_number":28,"context_line":"      capitalize: function (string) {"},{"line_number":29,"context_line":"        return string.charAt(0).toUpperCase() + string.slice(1);"},{"line_number":30,"context_line":"      },"}],"source_content_type":"text/javascript","patch_set":8,"id":"3a50d1a3_36ba4f6f","line":27,"updated":"2015-07-21 21:26:05.000000000","message":"remove anonymous functions.\n\nvar service \u003d {\n  capitalize: capitalize,\n  humanizeNumbers: humanizeNumbers,\n  ...\n};\nreturn service;\n\nfunction capitalize() { ... }\n\nfunction humanizeNumbers() { ... }\n...","commit_id":"09c1e488986b24c6c0c366d7bdf37ada42a5def1"},{"author":{"_account_id":9622,"name":"Cindy Lu","email":"clu@us.ibm.com","username":"clu14"},"change_message_id":"ef681d35d21b2c5d2f5e957f87eb66789bf6d693","unresolved":false,"context_lines":[{"line_number":42,"context_line":"      /*"},{"line_number":43,"context_line":"       Truncate a string at the desired length. Optionally append an ellipsis"},{"line_number":44,"context_line":"       to the end of the string."},{"line_number":45,"context_line":""},{"line_number":46,"context_line":"       EG:"},{"line_number":47,"context_line":"       horizon.utils.truncate(\"String that is too long.\", 18, true); -\u003e"},{"line_number":48,"context_line":"       \"String that is too\u0026hellip;\""}],"source_content_type":"text/javascript","patch_set":8,"id":"3a50d1a3_569cbbbf","line":45,"updated":"2015-07-21 21:26:05.000000000","message":"random nit: Replace EG with Example.","commit_id":"09c1e488986b24c6c0c366d7bdf37ada42a5def1"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"85f4c0d6f272ffe1e563b8039dc020db1a9ffcfb","unresolved":false,"context_lines":[{"line_number":21,"context_line":"       horizon.utils.humanizeNumbers(1234); -\u003e \"1,234\""},{"line_number":22,"context_line":"       horizon.utils.humanizeNumbers(\"My Total: 1234\"); -\u003e \"My Total: 1,234\""},{"line_number":23,"context_line":"       */"},{"line_number":24,"context_line":"      humanizeNumbers: function (number) {"},{"line_number":25,"context_line":"        return number.toString().replace(/\\B(?\u003d(\\d{3})+(?!\\d))/g, \",\");"},{"line_number":26,"context_line":"      },"},{"line_number":27,"context_line":""}],"source_content_type":"text/javascript","patch_set":16,"id":"3a50d1a3_0b7769a0","side":"PARENT","line":24,"updated":"2015-07-30 00:56:43.000000000","message":"humanizeNumbers was used in exactly one file:\nhttps://github.com/openstack/horizon/blob/master/horizon/static/horizon/js/horizon.quota.js\n\nWe can define this directly in that file as a function, or attach it to the horizon.util object directly.","commit_id":"c3a6bb9bacd3c13132fbb52d599c672403b105a8"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"85f4c0d6f272ffe1e563b8039dc020db1a9ffcfb","unresolved":false,"context_lines":[{"line_number":33,"context_line":"       horizon.utils.truncate(\"String that is too long.\", 18, true); -\u003e"},{"line_number":34,"context_line":"       \"String that is too\u0026hellip;\""},{"line_number":35,"context_line":"       */"},{"line_number":36,"context_line":"      truncate: function (string, size, includeEllipsis) {"},{"line_number":37,"context_line":"        if (string.length \u003e size) {"},{"line_number":38,"context_line":"          if (includeEllipsis) {"},{"line_number":39,"context_line":"            return string.substring(0, (size - 3)) + \"\u0026hellip;\";"}],"source_content_type":"text/javascript","patch_set":16,"id":"3a50d1a3_85d84881","side":"PARENT","line":36,"updated":"2015-07-30 00:56:43.000000000","message":"Truncate was used in exactly one place: https://github.com/openstack/horizon/blob/master/horizon/static/horizon/js/horizon.quota.js#L248\n\nFurthermore, this kind of thing can be done using CSS. I prefer to see us remove it completely and replace it using CSS. Same can be said as above concerning horizon.util object.","commit_id":"c3a6bb9bacd3c13132fbb52d599c672403b105a8"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"85f4c0d6f272ffe1e563b8039dc020db1a9ffcfb","unresolved":false,"context_lines":[{"line_number":44,"context_line":""},{"line_number":45,"context_line":"        return string;"},{"line_number":46,"context_line":"      },"},{"line_number":47,"context_line":"      loadAngular: function (element) {"},{"line_number":48,"context_line":"        try {"},{"line_number":49,"context_line":"          $compile(element)($rootScope);"},{"line_number":50,"context_line":"          $rootScope.$apply();"}],"source_content_type":"text/javascript","patch_set":16,"id":"3a50d1a3_458ec0d1","side":"PARENT","line":47,"updated":"2015-07-30 00:56:43.000000000","message":"Same story with this guy, used in exactly one place: https://github.com/openstack/horizon/blob/master/horizon/static/horizon/js/horizon.modals.js#L305\n\nThis is a terrible hack.... I dont have a solution off the top of my head atm, but we should really do something about this.","commit_id":"c3a6bb9bacd3c13132fbb52d599c672403b105a8"}],"horizon/static/framework/util/tech-debt/helper-functions.service.js":[{"author":{"_account_id":9622,"name":"Cindy Lu","email":"clu@us.ibm.com","username":"clu14"},"change_message_id":"f2a6359ef772a8fe44c19b5e4239d6d70cea81cc","unresolved":false,"context_lines":[{"line_number":41,"context_line":"       Example:"},{"line_number":42,"context_line":"       horizon.utils.humanizeNumbers(1234); -\u003e \"1,234\""},{"line_number":43,"context_line":"       horizon.utils.humanizeNumbers(\"My Total: 1234\"); -\u003e \"My Total: 1,234\""},{"line_number":44,"context_line":"       */"},{"line_number":45,"context_line":"    function humanizeNumbers(number) {"},{"line_number":46,"context_line":"      return number.toString().replace(/\\B(?\u003d(\\d{3})+(?!\\d))/g, \",\");"},{"line_number":47,"context_line":"    }"}],"source_content_type":"text/javascript","patch_set":9,"id":"3a50d1a3_f5f85ac5","line":44,"updated":"2015-07-21 23:12:25.000000000","message":"pls line up the comment, and use this way:\n\n/**\t\n  * \n  * \t\n  * \n  */","commit_id":"b589307a3411df19438724e34349672af546d127"},{"author":{"_account_id":9622,"name":"Cindy Lu","email":"clu@us.ibm.com","username":"clu14"},"change_message_id":"f2a6359ef772a8fe44c19b5e4239d6d70cea81cc","unresolved":false,"context_lines":[{"line_number":53,"context_line":"       Example:"},{"line_number":54,"context_line":"       horizon.utils.truncate(\"String that is too long.\", 18, true); -\u003e"},{"line_number":55,"context_line":"       \"String that is too\u0026hellip;\""},{"line_number":56,"context_line":"       */"},{"line_number":57,"context_line":"    function truncate(string, size, includeEllipsis) {"},{"line_number":58,"context_line":"      if (string.length \u003e size) {"},{"line_number":59,"context_line":"        if (includeEllipsis) {"}],"source_content_type":"text/javascript","patch_set":9,"id":"3a50d1a3_d5fbdebf","line":56,"updated":"2015-07-21 23:12:25.000000000","message":"pls line up the comment /* */","commit_id":"b589307a3411df19438724e34349672af546d127"},{"author":{"_account_id":9622,"name":"Cindy Lu","email":"clu@us.ibm.com","username":"clu14"},"change_message_id":"f2a6359ef772a8fe44c19b5e4239d6d70cea81cc","unresolved":false,"context_lines":[{"line_number":62,"context_line":""},{"line_number":63,"context_line":"        return string.substring(0, size);"},{"line_number":64,"context_line":"      }"},{"line_number":65,"context_line":""},{"line_number":66,"context_line":"      return string;"},{"line_number":67,"context_line":"    }"},{"line_number":68,"context_line":""}],"source_content_type":"text/javascript","patch_set":9,"id":"3a50d1a3_b5ec12f4","line":65,"updated":"2015-07-21 23:12:25.000000000","message":"nit: remove extra line","commit_id":"b589307a3411df19438724e34349672af546d127"},{"author":{"_account_id":11881,"name":"Aaron Sahlin","email":"asahlin@us.ibm.com","username":"asahlin"},"change_message_id":"9f04b0d591f83996a37b8517b2e64caf41890d90","unresolved":false,"context_lines":[{"line_number":76,"context_line":"    }"},{"line_number":77,"context_line":"  }"},{"line_number":78,"context_line":""},{"line_number":79,"context_line":"}());"}],"source_content_type":"text/javascript","patch_set":14,"id":"3a50d1a3_9998c8c1","line":79,"updated":"2015-07-29 16:29:46.000000000","message":"IIFE is malformed.. should be })();","commit_id":"b7482cc5667d4a573ca1658d5ef5e3e20e31026a"},{"author":{"_account_id":17013,"name":"Rajat Vig","email":"rajatv@thoughtworks.com","username":"rajatvig"},"change_message_id":"8322a393ab3c4f481d2d613c82561b66a9210de9","unresolved":false,"context_lines":[{"line_number":76,"context_line":"    }"},{"line_number":77,"context_line":"  }"},{"line_number":78,"context_line":""},{"line_number":79,"context_line":"}());"}],"source_content_type":"text/javascript","patch_set":14,"id":"3a50d1a3_f4447173","line":79,"in_reply_to":"3a50d1a3_9998c8c1","updated":"2015-07-29 17:03:05.000000000","message":"Done","commit_id":"b7482cc5667d4a573ca1658d5ef5e3e20e31026a"},{"author":{"_account_id":13805,"name":"Shaoquan Chen","email":"sean.chen2@hp.com","username":"SeanChen"},"change_message_id":"b90aa20f82b0cd451bf6773d5c0f25a098831659","unresolved":false,"context_lines":[{"line_number":44,"context_line":"     *"},{"line_number":45,"context_line":"     */"},{"line_number":46,"context_line":"    function humanizeNumbers(number) {"},{"line_number":47,"context_line":"      return number.toString().replace(/\\B(?\u003d(\\d{3})+(?!\\d))/g, \",\");"},{"line_number":48,"context_line":"    }"},{"line_number":49,"context_line":""},{"line_number":50,"context_line":"    /*"}],"source_content_type":"text/javascript","patch_set":21,"id":"1a4dcd0f_a01074a9","line":47,"updated":"2015-08-05 02:42:44.000000000","message":"Please be consistent with single quote in this file.","commit_id":"e459bdcb822e9a9f7d235ca0a46bd54a3e81e85c"},{"author":{"_account_id":17013,"name":"Rajat Vig","email":"rajatv@thoughtworks.com","username":"rajatvig"},"change_message_id":"3125c40a1bc9d78e38e8c42e154d440aadb9a811","unresolved":false,"context_lines":[{"line_number":44,"context_line":"     *"},{"line_number":45,"context_line":"     */"},{"line_number":46,"context_line":"    function humanizeNumbers(number) {"},{"line_number":47,"context_line":"      return number.toString().replace(/\\B(?\u003d(\\d{3})+(?!\\d))/g, \",\");"},{"line_number":48,"context_line":"    }"},{"line_number":49,"context_line":""},{"line_number":50,"context_line":"    /*"}],"source_content_type":"text/javascript","patch_set":21,"id":"1a4dcd0f_b9e3a2a3","line":47,"in_reply_to":"1a4dcd0f_a01074a9","updated":"2015-08-05 17:28:17.000000000","message":"Done","commit_id":"e459bdcb822e9a9f7d235ca0a46bd54a3e81e85c"}],"horizon/static/framework/util/tech-debt/hz-modal-form-update-metadata.controller.js":[{"author":{"_account_id":10442,"name":"Masco Kaliyamoorthy","email":"mkaliyam@redhat.com","username":"masco"},"change_message_id":"58e5755f88c1a979eecbcb7f8b926ef25fac299f","unresolved":false,"context_lines":[{"line_number":21,"context_line":""},{"line_number":22,"context_line":"  hzModalFormUpdateMetadataController.$inject \u003d [\u0027$scope\u0027, \u0027$window\u0027];"},{"line_number":23,"context_line":""},{"line_number":24,"context_line":"  function hzModalFormUpdateMetadataController($scope, $window) {"},{"line_number":25,"context_line":"    var ctrl \u003d this;"},{"line_number":26,"context_line":"    ctrl.tree \u003d null;"},{"line_number":27,"context_line":"    ctrl.available \u003d $window.available_metadata.namespaces;"}],"source_content_type":"text/javascript","patch_set":17,"id":"3a50d1a3_57e63645","line":24,"updated":"2015-07-31 06:09:55.000000000","message":"if i understand correctly \u0027hz\u0027 naming is now removed.","commit_id":"8c7d4e5c4603adeb5894e63050ba3ada52a86dc9"},{"author":{"_account_id":13805,"name":"Shaoquan Chen","email":"sean.chen2@hp.com","username":"SeanChen"},"change_message_id":"b90aa20f82b0cd451bf6773d5c0f25a098831659","unresolved":false,"context_lines":[{"line_number":21,"context_line":""},{"line_number":22,"context_line":"  hzModalFormUpdateMetadataController.$inject \u003d [\u0027$scope\u0027, \u0027$window\u0027];"},{"line_number":23,"context_line":""},{"line_number":24,"context_line":"  function hzModalFormUpdateMetadataController($scope, $window) {"},{"line_number":25,"context_line":"    var ctrl \u003d this;"},{"line_number":26,"context_line":"    ctrl.tree \u003d null;"},{"line_number":27,"context_line":"    ctrl.available \u003d $window.available_metadata.namespaces;"}],"source_content_type":"text/javascript","patch_set":21,"id":"1a4dcd0f_406f302b","line":24,"updated":"2015-08-05 02:42:44.000000000","message":"Controller is constructor function, and should be named with first letter capitalized.","commit_id":"e459bdcb822e9a9f7d235ca0a46bd54a3e81e85c"},{"author":{"_account_id":10442,"name":"Masco Kaliyamoorthy","email":"mkaliyam@redhat.com","username":"masco"},"change_message_id":"ec1c72dcba519db8da6c2bb237d7c945f4e59992","unresolved":false,"context_lines":[{"line_number":21,"context_line":""},{"line_number":22,"context_line":"  hzModalFormUpdateMetadataController.$inject \u003d [\u0027$scope\u0027, \u0027$window\u0027];"},{"line_number":23,"context_line":""},{"line_number":24,"context_line":"  function hzModalFormUpdateMetadataController($scope, $window) {"},{"line_number":25,"context_line":"    var ctrl \u003d this;"},{"line_number":26,"context_line":"    ctrl.tree \u003d null;"},{"line_number":27,"context_line":"    ctrl.available \u003d $window.available_metadata.namespaces;"}],"source_content_type":"text/javascript","patch_set":21,"id":"1a4dcd0f_56585132","line":24,"updated":"2015-08-05 06:32:00.000000000","message":"and now we not using \u0027hz\u0027 name style.","commit_id":"e459bdcb822e9a9f7d235ca0a46bd54a3e81e85c"},{"author":{"_account_id":17013,"name":"Rajat Vig","email":"rajatv@thoughtworks.com","username":"rajatvig"},"change_message_id":"3125c40a1bc9d78e38e8c42e154d440aadb9a811","unresolved":false,"context_lines":[{"line_number":21,"context_line":""},{"line_number":22,"context_line":"  hzModalFormUpdateMetadataController.$inject \u003d [\u0027$scope\u0027, \u0027$window\u0027];"},{"line_number":23,"context_line":""},{"line_number":24,"context_line":"  function hzModalFormUpdateMetadataController($scope, $window) {"},{"line_number":25,"context_line":"    var ctrl \u003d this;"},{"line_number":26,"context_line":"    ctrl.tree \u003d null;"},{"line_number":27,"context_line":"    ctrl.available \u003d $window.available_metadata.namespaces;"}],"source_content_type":"text/javascript","patch_set":21,"id":"1a4dcd0f_998026c2","line":24,"in_reply_to":"1a4dcd0f_406f302b","updated":"2015-08-05 17:28:17.000000000","message":"Done","commit_id":"e459bdcb822e9a9f7d235ca0a46bd54a3e81e85c"},{"author":{"_account_id":17013,"name":"Rajat Vig","email":"rajatv@thoughtworks.com","username":"rajatvig"},"change_message_id":"3125c40a1bc9d78e38e8c42e154d440aadb9a811","unresolved":false,"context_lines":[{"line_number":21,"context_line":""},{"line_number":22,"context_line":"  hzModalFormUpdateMetadataController.$inject \u003d [\u0027$scope\u0027, \u0027$window\u0027];"},{"line_number":23,"context_line":""},{"line_number":24,"context_line":"  function hzModalFormUpdateMetadataController($scope, $window) {"},{"line_number":25,"context_line":"    var ctrl \u003d this;"},{"line_number":26,"context_line":"    ctrl.tree \u003d null;"},{"line_number":27,"context_line":"    ctrl.available \u003d $window.available_metadata.namespaces;"}],"source_content_type":"text/javascript","patch_set":21,"id":"1a4dcd0f_d91b0ec9","line":24,"in_reply_to":"1a4dcd0f_56585132","updated":"2015-08-05 17:28:17.000000000","message":"Done","commit_id":"e459bdcb822e9a9f7d235ca0a46bd54a3e81e85c"}],"horizon/static/framework/util/tech-debt/image-file-on-change.directive.js":[{"author":{"_account_id":9622,"name":"Cindy Lu","email":"clu@us.ibm.com","username":"clu14"},"change_message_id":"f2a6359ef772a8fe44c19b5e4239d6d70cea81cc","unresolved":false,"context_lines":[{"line_number":18,"context_line":"  angular"},{"line_number":19,"context_line":"    .module(\u0027horizon.framework.util.tech-debt\u0027)"},{"line_number":20,"context_line":""},{"line_number":21,"context_line":"    .directive(\u0027imageFileOnChange\u0027, function () {"},{"line_number":22,"context_line":"      var directive \u003d {"},{"line_number":23,"context_line":"        require: \u0027ngModel\u0027,"},{"line_number":24,"context_line":"        restrict: \u0027A\u0027,"}],"source_content_type":"text/javascript","patch_set":9,"id":"3a50d1a3_35856206","line":21,"updated":"2015-07-21 23:12:25.000000000","message":"https://github.com/johnpapa/angular-styleguide#style-y070\n\n.directive(\u0027imageFileOnChange\u0027, imageFileOnChange);","commit_id":"b589307a3411df19438724e34349672af546d127"},{"author":{"_account_id":11881,"name":"Aaron Sahlin","email":"asahlin@us.ibm.com","username":"asahlin"},"change_message_id":"9f04b0d591f83996a37b8517b2e64caf41890d90","unresolved":false,"context_lines":[{"line_number":37,"context_line":"      });"},{"line_number":38,"context_line":"    }"},{"line_number":39,"context_line":"  }"},{"line_number":40,"context_line":"}());"}],"source_content_type":"text/javascript","patch_set":14,"id":"3a50d1a3_b9c10482","line":40,"updated":"2015-07-29 16:29:46.000000000","message":"IIFE is malformed.. should be })();","commit_id":"b7482cc5667d4a573ca1658d5ef5e3e20e31026a"},{"author":{"_account_id":17013,"name":"Rajat Vig","email":"rajatv@thoughtworks.com","username":"rajatvig"},"change_message_id":"8322a393ab3c4f481d2d613c82561b66a9210de9","unresolved":false,"context_lines":[{"line_number":37,"context_line":"      });"},{"line_number":38,"context_line":"    }"},{"line_number":39,"context_line":"  }"},{"line_number":40,"context_line":"}());"}],"source_content_type":"text/javascript","patch_set":14,"id":"3a50d1a3_94608d02","line":40,"in_reply_to":"3a50d1a3_b9c10482","updated":"2015-07-29 17:03:05.000000000","message":"Done","commit_id":"b7482cc5667d4a573ca1658d5ef5e3e20e31026a"}],"horizon/static/framework/util/tech-debt/image-file-on-change.js":[{"author":{"_account_id":9622,"name":"Cindy Lu","email":"clu@us.ibm.com","username":"clu14"},"change_message_id":"ef681d35d21b2c5d2f5e957f87eb66789bf6d693","unresolved":false,"context_lines":[{"line_number":1,"context_line":"/*"},{"line_number":2,"context_line":" *"},{"line_number":3,"context_line":" * Licensed under the Apache License, Version 2.0 (the \"License\");"},{"line_number":4,"context_line":" * you may not use this file except in compliance with the License."},{"line_number":5,"context_line":" * You may obtain a copy of the License at"}],"source_content_type":"text/javascript","patch_set":8,"id":"3a50d1a3_163cf3e0","line":2,"updated":"2015-07-21 21:26:05.000000000","message":"this file should be called image-file-on-change.directive.js","commit_id":"09c1e488986b24c6c0c366d7bdf37ada42a5def1"},{"author":{"_account_id":9622,"name":"Cindy Lu","email":"clu@us.ibm.com","username":"clu14"},"change_message_id":"ef681d35d21b2c5d2f5e957f87eb66789bf6d693","unresolved":false,"context_lines":[{"line_number":18,"context_line":"  angular"},{"line_number":19,"context_line":"    .module(\u0027horizon.framework.util.tech-debt\u0027)"},{"line_number":20,"context_line":""},{"line_number":21,"context_line":"    .directive(\u0027imageFileOnChange\u0027, function () {"},{"line_number":22,"context_line":"      return {"},{"line_number":23,"context_line":"        require: \u0027ngModel\u0027,"},{"line_number":24,"context_line":"        restrict: \u0027A\u0027,"}],"source_content_type":"text/javascript","patch_set":8,"id":"3a50d1a3_b6197f7b","line":21,"updated":"2015-07-21 21:26:05.000000000","message":"ngdocs?","commit_id":"09c1e488986b24c6c0c366d7bdf37ada42a5def1"},{"author":{"_account_id":9622,"name":"Cindy Lu","email":"clu@us.ibm.com","username":"clu14"},"change_message_id":"ef681d35d21b2c5d2f5e957f87eb66789bf6d693","unresolved":false,"context_lines":[{"line_number":19,"context_line":"    .module(\u0027horizon.framework.util.tech-debt\u0027)"},{"line_number":20,"context_line":""},{"line_number":21,"context_line":"    .directive(\u0027imageFileOnChange\u0027, function () {"},{"line_number":22,"context_line":"      return {"},{"line_number":23,"context_line":"        require: \u0027ngModel\u0027,"},{"line_number":24,"context_line":"        restrict: \u0027A\u0027,"},{"line_number":25,"context_line":"        link: function ($scope, element, attrs, ngModel) {"}],"source_content_type":"text/javascript","patch_set":8,"id":"3a50d1a3_9b07ce1b","line":22,"updated":"2015-07-21 21:26:05.000000000","message":"var directive \u003d {\n   require: ...\n   restrict: ...\n   link: link,\n}\nreturn directive;","commit_id":"09c1e488986b24c6c0c366d7bdf37ada42a5def1"}],"horizon/static/framework/util/tech-debt/modal-form-update-metadata-ctrl.js":[{"author":{"_account_id":13805,"name":"Shaoquan Chen","email":"sean.chen2@hp.com","username":"SeanChen"},"change_message_id":"d44db026089894d227203dd9d026fc0c3a289fb1","unresolved":false,"context_lines":[{"line_number":1,"context_line":"(function () {"},{"line_number":2,"context_line":"  \u0027use strict\u0027;"},{"line_number":3,"context_line":""},{"line_number":4,"context_line":"  angular"}],"source_content_type":"text/javascript","patch_set":1,"id":"ba3cc151_b5da524a","line":1,"updated":"2015-07-10 03:46:08.000000000","message":"Please change the file name.","commit_id":"984f59689ebb82c3987e92c3d81116d3caef2979"},{"author":{"_account_id":13805,"name":"Shaoquan Chen","email":"sean.chen2@hp.com","username":"SeanChen"},"change_message_id":"d44db026089894d227203dd9d026fc0c3a289fb1","unresolved":false,"context_lines":[{"line_number":14,"context_line":"    vm.existing \u003d $window.existing_metadata;"},{"line_number":15,"context_line":"    vm.metadata \u003d {};"},{"line_number":16,"context_line":""},{"line_number":17,"context_line":"    vm.saveMetadata \u003d function () {"},{"line_number":18,"context_line":"      var metadata \u003d [];"},{"line_number":19,"context_line":"      angular.forEach(vm.tree.getExisting(), function (value, key) {"},{"line_number":20,"context_line":"        metadata.push({"}],"source_content_type":"text/javascript","patch_set":1,"id":"ba3cc151_35ef22eb","line":17,"updated":"2015-07-10 03:46:08.000000000","message":"consider: creating a named function and assign it to vm.saveMetadata.","commit_id":"984f59689ebb82c3987e92c3d81116d3caef2979"}],"horizon/static/framework/util/tech-debt/modal-form-update-metadata.controller.js":[{"author":{"_account_id":13785,"name":"Kelly Domico","email":"kelly.domico@hp.com","username":"kdomico"},"change_message_id":"606bfd898459fc02d074a1cc9d3842486bb789ed","unresolved":false,"context_lines":[{"line_number":8,"context_line":"  hzModalFormUpdateMetadataController.$inject \u003d [\u0027$scope\u0027, \u0027$window\u0027];"},{"line_number":9,"context_line":""},{"line_number":10,"context_line":"  function hzModalFormUpdateMetadataController($scope, $window) {"},{"line_number":11,"context_line":"    var vm \u003d this;"},{"line_number":12,"context_line":"    vm.tree \u003d null;"},{"line_number":13,"context_line":"    vm.available \u003d $window.available_metadata.namespaces;"},{"line_number":14,"context_line":"    vm.existing \u003d $window.existing_metadata;"}],"source_content_type":"text/javascript","patch_set":2,"id":"9a41bdd9_d2aa8585","line":11,"updated":"2015-07-12 02:02:01.000000000","message":"We\u0027ve been using ctrl instead of vm since VM means something different in Openstack","commit_id":"64d035ef8f33a61f8d75decec9b992947de95cce"},{"author":{"_account_id":13785,"name":"Kelly Domico","email":"kelly.domico@hp.com","username":"kdomico"},"change_message_id":"af2c902bb93c6245fcbce46c79afbe5e557e9cf8","unresolved":false,"context_lines":[{"line_number":1,"context_line":"(function () {"},{"line_number":2,"context_line":"  \u0027use strict\u0027;"},{"line_number":3,"context_line":""},{"line_number":4,"context_line":"  angular"}],"source_content_type":"text/javascript","patch_set":4,"id":"9a41bdd9_0d839999","line":1,"updated":"2015-07-14 02:43:44.000000000","message":"Add Apache license","commit_id":"30cdcd680ddcb57ffec0eee384b5cde63950deef"},{"author":{"_account_id":11881,"name":"Aaron Sahlin","email":"asahlin@us.ibm.com","username":"asahlin"},"change_message_id":"9f04b0d591f83996a37b8517b2e64caf41890d90","unresolved":false,"context_lines":[{"line_number":41,"context_line":"      ctrl.metadata \u003d angular.toJson(metadata);"},{"line_number":42,"context_line":"    }"},{"line_number":43,"context_line":"  }"},{"line_number":44,"context_line":"}());"}],"source_content_type":"text/javascript","patch_set":14,"id":"3a50d1a3_19eb5814","line":44,"updated":"2015-07-29 16:29:46.000000000","message":"IIFE is malformed.. should be })();","commit_id":"b7482cc5667d4a573ca1658d5ef5e3e20e31026a"},{"author":{"_account_id":17013,"name":"Rajat Vig","email":"rajatv@thoughtworks.com","username":"rajatvig"},"change_message_id":"8322a393ab3c4f481d2d613c82561b66a9210de9","unresolved":false,"context_lines":[{"line_number":41,"context_line":"      ctrl.metadata \u003d angular.toJson(metadata);"},{"line_number":42,"context_line":"    }"},{"line_number":43,"context_line":"  }"},{"line_number":44,"context_line":"}());"}],"source_content_type":"text/javascript","patch_set":14,"id":"3a50d1a3_5456852a","line":44,"in_reply_to":"3a50d1a3_19eb5814","updated":"2015-07-29 17:03:05.000000000","message":"Done","commit_id":"b7482cc5667d4a573ca1658d5ef5e3e20e31026a"},{"author":{"_account_id":9622,"name":"Cindy Lu","email":"clu@us.ibm.com","username":"clu14"},"change_message_id":"5f9b879eb2ebf7eae1a26111e8d5d58a93de7cc0","unresolved":false,"context_lines":[{"line_number":17,"context_line":""},{"line_number":18,"context_line":"  angular"},{"line_number":19,"context_line":"    .module(\u0027horizon.framework.util.tech-debt\u0027)"},{"line_number":20,"context_line":"    .controller(\u0027hzModalFormUpdateMetadataController\u0027, hzModalFormUpdateMetadataController);"},{"line_number":21,"context_line":""},{"line_number":22,"context_line":"  hzModalFormUpdateMetadataController.$inject \u003d [\u0027$scope\u0027, \u0027$window\u0027];"},{"line_number":23,"context_line":""}],"source_content_type":"text/javascript","patch_set":15,"id":"3a50d1a3_41eb1fa4","line":20,"updated":"2015-07-29 19:53:22.000000000","message":"can file names be adjusted to hz-modal-form-update-metadata.controller.js?","commit_id":"e1a619a50248dbd81525938c0af44bc5fd93dcff"}],"horizon/static/framework/util/tech-debt/tech-debt.module.js":[{"author":{"_account_id":9622,"name":"Cindy Lu","email":"clu@us.ibm.com","username":"clu14"},"change_message_id":"ef681d35d21b2c5d2f5e957f87eb66789bf6d693","unresolved":false,"context_lines":[{"line_number":15,"context_line":"(function () {"},{"line_number":16,"context_line":"  \u0027use strict\u0027;"},{"line_number":17,"context_line":""},{"line_number":18,"context_line":"  angular.module(\u0027horizon.framework.util.tech-debt\u0027, []);"},{"line_number":19,"context_line":""},{"line_number":20,"context_line":"}());"}],"source_content_type":"text/javascript","patch_set":8,"id":"3a50d1a3_964a43c4","line":18,"updated":"2015-07-21 21:26:05.000000000","message":"put .module on next line","commit_id":"09c1e488986b24c6c0c366d7bdf37ada42a5def1"},{"author":{"_account_id":11881,"name":"Aaron Sahlin","email":"asahlin@us.ibm.com","username":"asahlin"},"change_message_id":"9f04b0d591f83996a37b8517b2e64caf41890d90","unresolved":false,"context_lines":[{"line_number":18,"context_line":"  angular"},{"line_number":19,"context_line":"    .module(\u0027horizon.framework.util.tech-debt\u0027, []);"},{"line_number":20,"context_line":""},{"line_number":21,"context_line":"}());"}],"source_content_type":"text/javascript","patch_set":14,"id":"3a50d1a3_99df6868","line":21,"updated":"2015-07-29 16:29:46.000000000","message":"IIFE is malformed.. should be })();","commit_id":"b7482cc5667d4a573ca1658d5ef5e3e20e31026a"},{"author":{"_account_id":17013,"name":"Rajat Vig","email":"rajatv@thoughtworks.com","username":"rajatvig"},"change_message_id":"8322a393ab3c4f481d2d613c82561b66a9210de9","unresolved":false,"context_lines":[{"line_number":18,"context_line":"  angular"},{"line_number":19,"context_line":"    .module(\u0027horizon.framework.util.tech-debt\u0027, []);"},{"line_number":20,"context_line":""},{"line_number":21,"context_line":"}());"}],"source_content_type":"text/javascript","patch_set":14,"id":"3a50d1a3_14331d15","line":21,"in_reply_to":"3a50d1a3_99df6868","updated":"2015-07-29 17:03:05.000000000","message":"Done","commit_id":"b7482cc5667d4a573ca1658d5ef5e3e20e31026a"}]}
