)]}'
{"horizon/static/framework/widgets/metadata/display/display.module.js":[{"author":{"_account_id":9622,"name":"Cindy Lu","email":"clu@us.ibm.com","username":"clu14"},"change_message_id":"aedd92e18a4d315386a00c51962e05b823fa7f4b","unresolved":false,"context_lines":[{"line_number":30,"context_line":"   * | {@link horizon.framework.widgets.metadata.display.directive:metadataDisplay `metadataDisplay`} |"},{"line_number":31,"context_line":"   * | {@link horizon.framework.widgets.metadata.display.controller:MetadataDisplayController `MetadataDisplayController`} |"},{"line_number":32,"context_line":"   *"},{"line_number":33,"context_line":"   */"},{"line_number":34,"context_line":"  angular"},{"line_number":35,"context_line":"    .module(\u0027horizon.framework.widgets.metadata.display\u0027, ["},{"line_number":36,"context_line":"      \u0027horizon.framework.widgets.metadata.tree\u0027"}],"source_content_type":"text/javascript","patch_set":3,"id":"3a50d1a3_64026c71","line":33,"updated":"2015-07-21 18:18:57.000000000","message":"wrap the ngdoc in:\n\n/*eslint-disable max-len */\n\n...\n\n/*eslint-enable max-len */\n\nso that it overlooks the max-len violation on L31.","commit_id":"a99671103ff3afbe897ede494ba5ff829a9227b9"},{"author":{"_account_id":7665,"name":"Travis Tripp","email":"os.travis.tripp@gmail.com","username":"travis.tripp"},"change_message_id":"980473004c7df33f7eebe4e40ca7092d39929f91","unresolved":false,"context_lines":[{"line_number":36,"context_line":"  angular"},{"line_number":37,"context_line":"    .module(\u0027horizon.framework.widgets.metadata.display\u0027, [], config);"},{"line_number":38,"context_line":""},{"line_number":39,"context_line":"  config.$inject \u003d [\u0027$provide\u0027, \u0027$windowProvider\u0027];"},{"line_number":40,"context_line":""},{"line_number":41,"context_line":"  function config($provide, $windowProvider) {"},{"line_number":42,"context_line":"    var path \u003d $windowProvider.$get().STATIC_URL + \u0027framework/widgets/metadata/display/\u0027;"}],"source_content_type":"text/javascript","patch_set":7,"id":"3a50d1a3_ff3789e0","line":39,"updated":"2015-07-29 07:19:35.000000000","message":"nit: \n\nconfig.$inject \u003d [\n \u0027$provide\u0027,\n \u0027$windowProvider\u0027\n];","commit_id":"bdd9da2743b7497f6598f5235e16fb0a3d0e02e7"},{"author":{"_account_id":13805,"name":"Shaoquan Chen","email":"sean.chen2@hp.com","username":"SeanChen"},"change_message_id":"1dd21e7f201f47e8e8a05952a7fae78c0d59f7ac","unresolved":false,"context_lines":[{"line_number":36,"context_line":"  angular"},{"line_number":37,"context_line":"    .module(\u0027horizon.framework.widgets.metadata.display\u0027, [], config);"},{"line_number":38,"context_line":""},{"line_number":39,"context_line":"  config.$inject \u003d [\u0027$provide\u0027, \u0027$windowProvider\u0027];"},{"line_number":40,"context_line":""},{"line_number":41,"context_line":"  function config($provide, $windowProvider) {"},{"line_number":42,"context_line":"    var path \u003d $windowProvider.$get().STATIC_URL + \u0027framework/widgets/metadata/display/\u0027;"}],"source_content_type":"text/javascript","patch_set":7,"id":"3a50d1a3_c0a2d0fb","line":39,"in_reply_to":"3a50d1a3_ff3789e0","updated":"2015-07-29 18:23:02.000000000","message":"Done","commit_id":"bdd9da2743b7497f6598f5235e16fb0a3d0e02e7"},{"author":{"_account_id":7665,"name":"Travis Tripp","email":"os.travis.tripp@gmail.com","username":"travis.tripp"},"change_message_id":"980473004c7df33f7eebe4e40ca7092d39929f91","unresolved":false,"context_lines":[{"line_number":37,"context_line":"    .module(\u0027horizon.framework.widgets.metadata.display\u0027, [], config);"},{"line_number":38,"context_line":""},{"line_number":39,"context_line":"  config.$inject \u003d [\u0027$provide\u0027, \u0027$windowProvider\u0027];"},{"line_number":40,"context_line":""},{"line_number":41,"context_line":"  function config($provide, $windowProvider) {"},{"line_number":42,"context_line":"    var path \u003d $windowProvider.$get().STATIC_URL + \u0027framework/widgets/metadata/display/\u0027;"},{"line_number":43,"context_line":"    $provide.constant(\u0027horizon.framework.widgets.metadata.display.basePath\u0027, path);"}],"source_content_type":"text/javascript","patch_set":7,"id":"3a50d1a3_1f6cb5ce","line":40,"updated":"2015-07-29 07:19:35.000000000","message":"Sean, it occurs to me that maybe we should create a global helper function the creates all this by just passing the desired constant and end of path.  Lots of repeat code all over.  Not a blocker here.","commit_id":"bdd9da2743b7497f6598f5235e16fb0a3d0e02e7"},{"author":{"_account_id":13805,"name":"Shaoquan Chen","email":"sean.chen2@hp.com","username":"SeanChen"},"change_message_id":"1dd21e7f201f47e8e8a05952a7fae78c0d59f7ac","unresolved":false,"context_lines":[{"line_number":37,"context_line":"    .module(\u0027horizon.framework.widgets.metadata.display\u0027, [], config);"},{"line_number":38,"context_line":""},{"line_number":39,"context_line":"  config.$inject \u003d [\u0027$provide\u0027, \u0027$windowProvider\u0027];"},{"line_number":40,"context_line":""},{"line_number":41,"context_line":"  function config($provide, $windowProvider) {"},{"line_number":42,"context_line":"    var path \u003d $windowProvider.$get().STATIC_URL + \u0027framework/widgets/metadata/display/\u0027;"},{"line_number":43,"context_line":"    $provide.constant(\u0027horizon.framework.widgets.metadata.display.basePath\u0027, path);"}],"source_content_type":"text/javascript","patch_set":7,"id":"3a50d1a3_a06544e1","line":40,"in_reply_to":"3a50d1a3_1f6cb5ce","updated":"2015-07-29 18:23:02.000000000","message":"Unfortunately we cannot do it, This function was created by Thai to avoid using global variable STATIC_URL, if we want to void using this semi-repeating function, we should go back to using STATIC_URL, which is much simpler. If you means global in terms of angular services, again, we have to get the basePath defined before we can use any service or providers.","commit_id":"bdd9da2743b7497f6598f5235e16fb0a3d0e02e7"}],"horizon/static/framework/widgets/metadata/display/display.spec.js":[{"author":{"_account_id":13785,"name":"Kelly Domico","email":"kelly.domico@hp.com","username":"kdomico"},"change_message_id":"4f4e09e0e6d667da86cf25bb08104bc25614a946","unresolved":false,"context_lines":[{"line_number":126,"context_line":""},{"line_number":127,"context_line":"        $element \u003d angular.element(markup);"},{"line_number":128,"context_line":"        $compile($element)($scope);"},{"line_number":129,"context_line":"        $scope.$digest();"},{"line_number":130,"context_line":"      }));"},{"line_number":131,"context_line":""},{"line_number":132,"context_line":"      it(\u0027should have 3 rows in selector list\u0027, function () {"}],"source_content_type":"text/javascript","patch_set":3,"id":"3a50d1a3_a007f91a","line":129,"updated":"2015-07-21 20:55:30.000000000","message":"eslint: Use $apply instead of $digest","commit_id":"a99671103ff3afbe897ede494ba5ff829a9227b9"}],"horizon/static/framework/widgets/metadata/display/metadata-display.controller.js":[{"author":{"_account_id":7665,"name":"Travis Tripp","email":"os.travis.tripp@gmail.com","username":"travis.tripp"},"change_message_id":"980473004c7df33f7eebe4e40ca7092d39929f91","unresolved":false,"context_lines":[{"line_number":34,"context_line":"    var ctrl \u003d this;"},{"line_number":35,"context_line":""},{"line_number":36,"context_line":"    ctrl.text \u003d {"},{"line_number":37,"context_line":"      detail: gettext(\u0027Detail Information\u0027)"},{"line_number":38,"context_line":"    };"},{"line_number":39,"context_line":"    ctrl.tree \u003d null;"},{"line_number":40,"context_line":"    ctrl.selected \u003d null;"}],"source_content_type":"text/javascript","patch_set":7,"id":"3a50d1a3_bf5b4121","line":37,"updated":"2015-07-29 07:19:35.000000000","message":"This can probably be moved into HTML now with angular translate stuff, right?","commit_id":"bdd9da2743b7497f6598f5235e16fb0a3d0e02e7"},{"author":{"_account_id":13805,"name":"Shaoquan Chen","email":"sean.chen2@hp.com","username":"SeanChen"},"change_message_id":"1dd21e7f201f47e8e8a05952a7fae78c0d59f7ac","unresolved":false,"context_lines":[{"line_number":34,"context_line":"    var ctrl \u003d this;"},{"line_number":35,"context_line":""},{"line_number":36,"context_line":"    ctrl.text \u003d {"},{"line_number":37,"context_line":"      detail: gettext(\u0027Detail Information\u0027)"},{"line_number":38,"context_line":"    };"},{"line_number":39,"context_line":"    ctrl.tree \u003d null;"},{"line_number":40,"context_line":"    ctrl.selected \u003d null;"}],"source_content_type":"text/javascript","patch_set":7,"id":"3a50d1a3_eea25dad","line":37,"in_reply_to":"3a50d1a3_bf5b4121","updated":"2015-07-29 18:23:02.000000000","message":"Done","commit_id":"bdd9da2743b7497f6598f5235e16fb0a3d0e02e7"}],"horizon/static/framework/widgets/metadata/display/metadata-display.directive.js":[{"author":{"_account_id":9622,"name":"Cindy Lu","email":"clu@us.ibm.com","username":"clu14"},"change_message_id":"aedd92e18a4d315386a00c51962e05b823fa7f4b","unresolved":false,"context_lines":[{"line_number":35,"context_line":"   * @param {object} existing Key-value pairs with existing properties"},{"line_number":36,"context_line":"   * @param {object\u003d} text Text override"},{"line_number":37,"context_line":"   */"},{"line_number":38,"context_line":"  function metadataDisplay(path) {"},{"line_number":39,"context_line":"    var directive \u003d {"},{"line_number":40,"context_line":"      bindToController: true,"},{"line_number":41,"context_line":"      controller: \u0027MetadataDisplayController as ctrl\u0027,"}],"source_content_type":"text/javascript","patch_set":3,"id":"3a50d1a3_44a09043","line":38,"updated":"2015-07-21 18:18:57.000000000","message":"use basePath (mentioned in another patch)","commit_id":"a99671103ff3afbe897ede494ba5ff829a9227b9"}],"horizon/static/framework/widgets/metadata/metadata.module.js":[{"author":{"_account_id":9622,"name":"Cindy Lu","email":"clu@us.ibm.com","username":"clu14"},"change_message_id":"aedd92e18a4d315386a00c51962e05b823fa7f4b","unresolved":false,"context_lines":[{"line_number":16,"context_line":"(function () {"},{"line_number":17,"context_line":"  \u0027use strict\u0027;"},{"line_number":18,"context_line":""},{"line_number":19,"context_line":"  angular.module(\u0027horizon.framework.widgets.metadata\u0027, ["},{"line_number":20,"context_line":"    \u0027horizon.framework.widgets.metadata.tree\u0027,"},{"line_number":21,"context_line":"    \u0027horizon.framework.widgets.metadata.display\u0027"},{"line_number":22,"context_line":"  ])"}],"source_content_type":"text/javascript","patch_set":3,"id":"3a50d1a3_64710ce0","line":19,"updated":"2015-07-21 18:18:57.000000000","message":"put .module on new line","commit_id":"a99671103ff3afbe897ede494ba5ff829a9227b9"},{"author":{"_account_id":7665,"name":"Travis Tripp","email":"os.travis.tripp@gmail.com","username":"travis.tripp"},"change_message_id":"980473004c7df33f7eebe4e40ca7092d39929f91","unresolved":false,"context_lines":[{"line_number":23,"context_line":"    ], config);"},{"line_number":24,"context_line":""},{"line_number":25,"context_line":"  config.$inject \u003d [\u0027$provide\u0027, \u0027$windowProvider\u0027];"},{"line_number":26,"context_line":""},{"line_number":27,"context_line":"  function config($provide, $windowProvider) {"},{"line_number":28,"context_line":"    var path \u003d $windowProvider.$get().STATIC_URL + \u0027framework/widgets/metadata/\u0027;"},{"line_number":29,"context_line":"    $provide.constant(\u0027horizon.framework.widgets.metadata.basePath\u0027, path);"}],"source_content_type":"text/javascript","patch_set":7,"id":"3a50d1a3_bfb26147","line":26,"updated":"2015-07-29 07:19:35.000000000","message":"Nit: \n\nconfig.$inject \u003d [\n  \u0027$provide\u0027,\n  \u0027$windowProvider\u0027\n];","commit_id":"bdd9da2743b7497f6598f5235e16fb0a3d0e02e7"},{"author":{"_account_id":13805,"name":"Shaoquan Chen","email":"sean.chen2@hp.com","username":"SeanChen"},"change_message_id":"1dd21e7f201f47e8e8a05952a7fae78c0d59f7ac","unresolved":false,"context_lines":[{"line_number":23,"context_line":"    ], config);"},{"line_number":24,"context_line":""},{"line_number":25,"context_line":"  config.$inject \u003d [\u0027$provide\u0027, \u0027$windowProvider\u0027];"},{"line_number":26,"context_line":""},{"line_number":27,"context_line":"  function config($provide, $windowProvider) {"},{"line_number":28,"context_line":"    var path \u003d $windowProvider.$get().STATIC_URL + \u0027framework/widgets/metadata/\u0027;"},{"line_number":29,"context_line":"    $provide.constant(\u0027horizon.framework.widgets.metadata.basePath\u0027, path);"}],"source_content_type":"text/javascript","patch_set":7,"id":"3a50d1a3_4e6fd15f","line":26,"in_reply_to":"3a50d1a3_bfb26147","updated":"2015-07-29 18:23:02.000000000","message":"Done","commit_id":"bdd9da2743b7497f6598f5235e16fb0a3d0e02e7"}],"horizon/static/framework/widgets/metadata/tree/metadata-tree-item.controller.js":[{"author":{"_account_id":10442,"name":"Masco Kaliyamoorthy","email":"mkaliyam@redhat.com","username":"masco"},"change_message_id":"56945a534be0f6f8ba0729ab3ea2c4f7d650d573","unresolved":false,"context_lines":[{"line_number":32,"context_line":"    ctrl.formatErrorMessage \u003d formatErrorMessage;"},{"line_number":33,"context_line":"    ctrl.opened \u003d false;"},{"line_number":34,"context_line":""},{"line_number":35,"context_line":"    if (ctrl.item.leaf.type \u003d\u003d\u003d \u0027array\u0027) {"},{"line_number":36,"context_line":"      ctrl.values \u003d ctrl.item.leaf.items.enum.filter(filter).sort();"},{"line_number":37,"context_line":""},{"line_number":38,"context_line":"      if (!ctrl.item.leaf.readonly) {"}],"source_content_type":"text/javascript","patch_set":4,"id":"3a50d1a3_f20d698f","line":35,"updated":"2015-07-23 13:41:29.000000000","message":"use angular.isArray for array type check.","commit_id":"486c6e84b65b164fda9e5c60d004d3fe0377a56a"},{"author":{"_account_id":13805,"name":"Shaoquan Chen","email":"sean.chen2@hp.com","username":"SeanChen"},"change_message_id":"36e678a778b0b8803e5f5fec52a038e46e568946","unresolved":false,"context_lines":[{"line_number":32,"context_line":"    ctrl.formatErrorMessage \u003d formatErrorMessage;"},{"line_number":33,"context_line":"    ctrl.opened \u003d false;"},{"line_number":34,"context_line":""},{"line_number":35,"context_line":"    if (ctrl.item.leaf.type \u003d\u003d\u003d \u0027array\u0027) {"},{"line_number":36,"context_line":"      ctrl.values \u003d ctrl.item.leaf.items.enum.filter(filter).sort();"},{"line_number":37,"context_line":""},{"line_number":38,"context_line":"      if (!ctrl.item.leaf.readonly) {"}],"source_content_type":"text/javascript","patch_set":4,"id":"3a50d1a3_7ede293f","line":35,"in_reply_to":"3a50d1a3_f20d698f","updated":"2015-07-29 00:16:51.000000000","message":"I don\u0027t think the logic is strictly the same. The type here may not necessary JS type.","commit_id":"486c6e84b65b164fda9e5c60d004d3fe0377a56a"},{"author":{"_account_id":9647,"name":"Justin Pomeroy","email":"jpomero@linux.vnet.ibm.com","username":"jpomero"},"change_message_id":"04d5a8b89e978506f236e21143592ee9bc06e8f0","unresolved":false,"context_lines":[{"line_number":32,"context_line":"    ctrl.formatErrorMessage \u003d formatErrorMessage;"},{"line_number":33,"context_line":"    ctrl.opened \u003d false;"},{"line_number":34,"context_line":""},{"line_number":35,"context_line":"    if (ctrl.item.leaf.type \u003d\u003d\u003d \u0027array\u0027) {"},{"line_number":36,"context_line":"      ctrl.values \u003d ctrl.item.leaf.items.enum.filter(filter).sort();"},{"line_number":37,"context_line":""},{"line_number":38,"context_line":"      if (!ctrl.item.leaf.readonly) {"}],"source_content_type":"text/javascript","patch_set":4,"id":"3a50d1a3_7474579b","line":35,"in_reply_to":"3a50d1a3_f20d698f","updated":"2015-07-28 15:05:05.000000000","message":"It seems to me the leaf type is a string property used to determine how the metadata item is intended to be treated, not what the actual value type is. Does the leaf value type always match up with this intended leaf property type? If it does then fine, I just wonder if we might introduce some unintended issues.","commit_id":"486c6e84b65b164fda9e5c60d004d3fe0377a56a"},{"author":{"_account_id":10442,"name":"Masco Kaliyamoorthy","email":"mkaliyam@redhat.com","username":"masco"},"change_message_id":"524fd610097f8670169b65ae3633e284c5fb025b","unresolved":false,"context_lines":[{"line_number":32,"context_line":"    ctrl.formatErrorMessage \u003d formatErrorMessage;"},{"line_number":33,"context_line":"    ctrl.opened \u003d false;"},{"line_number":34,"context_line":""},{"line_number":35,"context_line":"    if (ctrl.item.leaf.type \u003d\u003d\u003d \u0027array\u0027) {"},{"line_number":36,"context_line":"      ctrl.values \u003d ctrl.item.leaf.items.enum.filter(filter).sort();"},{"line_number":37,"context_line":""},{"line_number":38,"context_line":"      if (!ctrl.item.leaf.readonly) {"}],"source_content_type":"text/javascript","patch_set":7,"id":"3a50d1a3_4b1a7f7e","line":35,"updated":"2015-07-29 10:12:17.000000000","message":"use angular.isArray(ctrl.item.leaf)","commit_id":"bdd9da2743b7497f6598f5235e16fb0a3d0e02e7"},{"author":{"_account_id":13805,"name":"Shaoquan Chen","email":"sean.chen2@hp.com","username":"SeanChen"},"change_message_id":"1dd21e7f201f47e8e8a05952a7fae78c0d59f7ac","unresolved":false,"context_lines":[{"line_number":32,"context_line":"    ctrl.formatErrorMessage \u003d formatErrorMessage;"},{"line_number":33,"context_line":"    ctrl.opened \u003d false;"},{"line_number":34,"context_line":""},{"line_number":35,"context_line":"    if (ctrl.item.leaf.type \u003d\u003d\u003d \u0027array\u0027) {"},{"line_number":36,"context_line":"      ctrl.values \u003d ctrl.item.leaf.items.enum.filter(filter).sort();"},{"line_number":37,"context_line":""},{"line_number":38,"context_line":"      if (!ctrl.item.leaf.readonly) {"}],"source_content_type":"text/javascript","patch_set":7,"id":"3a50d1a3_2ef04590","line":35,"in_reply_to":"3a50d1a3_4b1a7f7e","updated":"2015-07-29 18:23:02.000000000","message":"ctrl.item.leaf.type comes from some where, no necessary generated by means of JS type, angular.isArray(ctrl.item.leaf) changes the meaning, not implementation.","commit_id":"bdd9da2743b7497f6598f5235e16fb0a3d0e02e7"}],"horizon/static/framework/widgets/metadata/tree/metadata-tree-item.directive.js":[{"author":{"_account_id":9622,"name":"Cindy Lu","email":"clu@us.ibm.com","username":"clu14"},"change_message_id":"aedd92e18a4d315386a00c51962e05b823fa7f4b","unresolved":false,"context_lines":[{"line_number":36,"context_line":"   * @param {Item} item Item to display"},{"line_number":37,"context_line":"   * @param {object} text Text override"},{"line_number":38,"context_line":"   */"},{"line_number":39,"context_line":"  function metadataTreeItem(path) {"},{"line_number":40,"context_line":"    var directive \u003d {"},{"line_number":41,"context_line":"      bindToController: true,"},{"line_number":42,"context_line":"      controller: \u0027MetadataTreeItemController as ctrl\u0027,"}],"source_content_type":"text/javascript","patch_set":3,"id":"3a50d1a3_242224ba","line":39,"updated":"2015-07-21 18:18:57.000000000","message":"basePath","commit_id":"a99671103ff3afbe897ede494ba5ff829a9227b9"}],"horizon/static/framework/widgets/metadata/tree/tree.service.js":[{"author":{"_account_id":10442,"name":"Masco Kaliyamoorthy","email":"mkaliyam@redhat.com","username":"masco"},"change_message_id":"56945a534be0f6f8ba0729ab3ea2c4f7d650d573","unresolved":false,"context_lines":[{"line_number":69,"context_line":"     */"},{"line_number":70,"context_line":"    Property.prototype.setValue \u003d function (value) {"},{"line_number":71,"context_line":"      if (value \u003d\u003d\u003d null) {"},{"line_number":72,"context_line":"        this.value \u003d this.type !\u003d\u003d \u0027array\u0027 ? null : [];"},{"line_number":73,"context_line":"        return;"},{"line_number":74,"context_line":"      }"},{"line_number":75,"context_line":""}],"source_content_type":"text/javascript","patch_set":4,"id":"3a50d1a3_a570fd72","line":72,"updated":"2015-07-23 13:41:29.000000000","message":"use angular.isArray","commit_id":"486c6e84b65b164fda9e5c60d004d3fe0377a56a"},{"author":{"_account_id":13805,"name":"Shaoquan Chen","email":"sean.chen2@hp.com","username":"SeanChen"},"change_message_id":"c527439ba4ddca9a0a03e337739a269947225a30","unresolved":false,"context_lines":[{"line_number":69,"context_line":"     */"},{"line_number":70,"context_line":"    Property.prototype.setValue \u003d function (value) {"},{"line_number":71,"context_line":"      if (value \u003d\u003d\u003d null) {"},{"line_number":72,"context_line":"        this.value \u003d this.type !\u003d\u003d \u0027array\u0027 ? null : [];"},{"line_number":73,"context_line":"        return;"},{"line_number":74,"context_line":"      }"},{"line_number":75,"context_line":""}],"source_content_type":"text/javascript","patch_set":4,"id":"3a50d1a3_5efc8d71","line":72,"in_reply_to":"3a50d1a3_a570fd72","updated":"2015-07-29 00:26:49.000000000","message":"The type may no come from JS typeof, the suggested change may change the logic.","commit_id":"486c6e84b65b164fda9e5c60d004d3fe0377a56a"},{"author":{"_account_id":10442,"name":"Masco Kaliyamoorthy","email":"mkaliyam@redhat.com","username":"masco"},"change_message_id":"56945a534be0f6f8ba0729ab3ea2c4f7d650d573","unresolved":false,"context_lines":[{"line_number":120,"context_line":"    function Item(parent) {"},{"line_number":121,"context_line":"      // parent as property to prevent infinite recursion in angular filter"},{"line_number":122,"context_line":"      Object.defineProperty(this, \u0027parent\u0027, {"},{"line_number":123,"context_line":"        value: typeof parent !\u003d\u003d \u0027undefined\u0027 ? parent : null"},{"line_number":124,"context_line":"      });"},{"line_number":125,"context_line":"      this.children \u003d [];"},{"line_number":126,"context_line":"      // Node properties"}],"source_content_type":"text/javascript","patch_set":4,"id":"3a50d1a3_058bf11f","line":123,"updated":"2015-07-23 13:41:29.000000000","message":"use angular.isDefined","commit_id":"486c6e84b65b164fda9e5c60d004d3fe0377a56a"},{"author":{"_account_id":13805,"name":"Shaoquan Chen","email":"sean.chen2@hp.com","username":"SeanChen"},"change_message_id":"c527439ba4ddca9a0a03e337739a269947225a30","unresolved":false,"context_lines":[{"line_number":120,"context_line":"    function Item(parent) {"},{"line_number":121,"context_line":"      // parent as property to prevent infinite recursion in angular filter"},{"line_number":122,"context_line":"      Object.defineProperty(this, \u0027parent\u0027, {"},{"line_number":123,"context_line":"        value: typeof parent !\u003d\u003d \u0027undefined\u0027 ? parent : null"},{"line_number":124,"context_line":"      });"},{"line_number":125,"context_line":"      this.children \u003d [];"},{"line_number":126,"context_line":"      // Node properties"}],"source_content_type":"text/javascript","patch_set":4,"id":"3a50d1a3_dec2dd33","line":123,"in_reply_to":"3a50d1a3_058bf11f","updated":"2015-07-29 00:26:49.000000000","message":"should be simply: value: parent || null","commit_id":"486c6e84b65b164fda9e5c60d004d3fe0377a56a"},{"author":{"_account_id":10442,"name":"Masco Kaliyamoorthy","email":"mkaliyam@redhat.com","username":"masco"},"change_message_id":"56945a534be0f6f8ba0729ab3ea2c4f7d650d573","unresolved":false,"context_lines":[{"line_number":502,"context_line":"    function parseBool(value) {"},{"line_number":503,"context_line":"      var valueType \u003d typeof (value);"},{"line_number":504,"context_line":""},{"line_number":505,"context_line":"      if (valueType \u003d\u003d\u003d \u0027boolean\u0027) {"},{"line_number":506,"context_line":"        return value;"},{"line_number":507,"context_line":"      } else if (angular.isString(valueType)) {"},{"line_number":508,"context_line":"        value \u003d value.toLowerCase();"}],"source_content_type":"text/javascript","patch_set":4,"id":"3a50d1a3_25bcedb9","line":505,"updated":"2015-07-23 13:41:29.000000000","message":"i guess we can use angular.equals here and below comparisons.","commit_id":"486c6e84b65b164fda9e5c60d004d3fe0377a56a"},{"author":{"_account_id":13805,"name":"Shaoquan Chen","email":"sean.chen2@hp.com","username":"SeanChen"},"change_message_id":"c527439ba4ddca9a0a03e337739a269947225a30","unresolved":false,"context_lines":[{"line_number":502,"context_line":"    function parseBool(value) {"},{"line_number":503,"context_line":"      var valueType \u003d typeof (value);"},{"line_number":504,"context_line":""},{"line_number":505,"context_line":"      if (valueType \u003d\u003d\u003d \u0027boolean\u0027) {"},{"line_number":506,"context_line":"        return value;"},{"line_number":507,"context_line":"      } else if (angular.isString(valueType)) {"},{"line_number":508,"context_line":"        value \u003d value.toLowerCase();"}],"source_content_type":"text/javascript","patch_set":4,"id":"3a50d1a3_5e97ad39","line":505,"in_reply_to":"3a50d1a3_25bcedb9","updated":"2015-07-29 00:26:49.000000000","message":"I think the implementation is fine.","commit_id":"486c6e84b65b164fda9e5c60d004d3fe0377a56a"},{"author":{"_account_id":10442,"name":"Masco Kaliyamoorthy","email":"mkaliyam@redhat.com","username":"masco"},"change_message_id":"56945a534be0f6f8ba0729ab3ea2c4f7d650d573","unresolved":false,"context_lines":[{"line_number":505,"context_line":"      if (valueType \u003d\u003d\u003d \u0027boolean\u0027) {"},{"line_number":506,"context_line":"        return value;"},{"line_number":507,"context_line":"      } else if (angular.isString(valueType)) {"},{"line_number":508,"context_line":"        value \u003d value.toLowerCase();"},{"line_number":509,"context_line":""},{"line_number":510,"context_line":"        if (value \u003d\u003d\u003d \u0027true\u0027) {"},{"line_number":511,"context_line":"          return true;"}],"source_content_type":"text/javascript","patch_set":4,"id":"3a50d1a3_c5fc2974","line":508,"updated":"2015-07-23 13:41:29.000000000","message":"use angular.lowercase","commit_id":"486c6e84b65b164fda9e5c60d004d3fe0377a56a"},{"author":{"_account_id":13805,"name":"Shaoquan Chen","email":"sean.chen2@hp.com","username":"SeanChen"},"change_message_id":"c527439ba4ddca9a0a03e337739a269947225a30","unresolved":false,"context_lines":[{"line_number":505,"context_line":"      if (valueType \u003d\u003d\u003d \u0027boolean\u0027) {"},{"line_number":506,"context_line":"        return value;"},{"line_number":507,"context_line":"      } else if (angular.isString(valueType)) {"},{"line_number":508,"context_line":"        value \u003d value.toLowerCase();"},{"line_number":509,"context_line":""},{"line_number":510,"context_line":"        if (value \u003d\u003d\u003d \u0027true\u0027) {"},{"line_number":511,"context_line":"          return true;"}],"source_content_type":"text/javascript","patch_set":4,"id":"3a50d1a3_bebb51c3","line":508,"in_reply_to":"3a50d1a3_c5fc2974","updated":"2015-07-29 00:26:49.000000000","message":"We already know value is string here, the implementation should be fine.","commit_id":"486c6e84b65b164fda9e5c60d004d3fe0377a56a"},{"author":{"_account_id":10442,"name":"Masco Kaliyamoorthy","email":"mkaliyam@redhat.com","username":"masco"},"change_message_id":"524fd610097f8670169b65ae3633e284c5fb025b","unresolved":false,"context_lines":[{"line_number":69,"context_line":"     */"},{"line_number":70,"context_line":"    Property.prototype.setValue \u003d function (value) {"},{"line_number":71,"context_line":"      if (value \u003d\u003d\u003d null) {"},{"line_number":72,"context_line":"        this.value \u003d this.type !\u003d\u003d \u0027array\u0027 ? null : [];"},{"line_number":73,"context_line":"        return;"},{"line_number":74,"context_line":"      }"},{"line_number":75,"context_line":""}],"source_content_type":"text/javascript","patch_set":7,"id":"3a50d1a3_e0ffe5ff","line":72,"updated":"2015-07-29 10:12:17.000000000","message":"use a angular function.","commit_id":"bdd9da2743b7497f6598f5235e16fb0a3d0e02e7"},{"author":{"_account_id":13805,"name":"Shaoquan Chen","email":"sean.chen2@hp.com","username":"SeanChen"},"change_message_id":"1dd21e7f201f47e8e8a05952a7fae78c0d59f7ac","unresolved":false,"context_lines":[{"line_number":69,"context_line":"     */"},{"line_number":70,"context_line":"    Property.prototype.setValue \u003d function (value) {"},{"line_number":71,"context_line":"      if (value \u003d\u003d\u003d null) {"},{"line_number":72,"context_line":"        this.value \u003d this.type !\u003d\u003d \u0027array\u0027 ? null : [];"},{"line_number":73,"context_line":"        return;"},{"line_number":74,"context_line":"      }"},{"line_number":75,"context_line":""}],"source_content_type":"text/javascript","patch_set":7,"id":"3a50d1a3_6e416da8","line":72,"in_reply_to":"3a50d1a3_e0ffe5ff","updated":"2015-07-29 18:23:02.000000000","message":"Please check response for another similar question.","commit_id":"bdd9da2743b7497f6598f5235e16fb0a3d0e02e7"}]}
