)]}'
{"openstack_dashboard/templates/horizon/_conf.html":[{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"3df5647f73a61c9123c59e8dce97b7edc2a0d91d","unresolved":false,"context_lines":[{"line_number":13,"context_line":"{% endcompress %}"},{"line_number":14,"context_line":""},{"line_number":15,"context_line":"\u003cscript type\u003d\u0027text/javascript\u0027 charset\u003d\u0027utf-8\u0027\u003e"},{"line_number":16,"context_line":"  (function (global) {"},{"line_number":17,"context_line":"    \u0027use strict\u0027;"},{"line_number":18,"context_line":""},{"line_number":19,"context_line":"    // make translation info available on client"}],"source_content_type":"text/html","patch_set":6,"id":"3a50d1a3_a7905a44","line":16,"updated":"2015-07-28 06:52:21.000000000","message":"is this done to avoid eslint? global is synonymous to window right?","commit_id":"dd81e6f5ed32f74f55bcb71ae9586c44a36c1a19"},{"author":{"_account_id":13805,"name":"Shaoquan Chen","email":"sean.chen2@hp.com","username":"SeanChen"},"change_message_id":"77ad63a6999c0484bec4975c5cedfbb07e61e114","unresolved":false,"context_lines":[{"line_number":13,"context_line":"{% endcompress %}"},{"line_number":14,"context_line":""},{"line_number":15,"context_line":"\u003cscript type\u003d\u0027text/javascript\u0027 charset\u003d\u0027utf-8\u0027\u003e"},{"line_number":16,"context_line":"  (function (global) {"},{"line_number":17,"context_line":"    \u0027use strict\u0027;"},{"line_number":18,"context_line":""},{"line_number":19,"context_line":"    // make translation info available on client"}],"source_content_type":"text/html","patch_set":6,"id":"3a50d1a3_a96ecc2c","line":16,"in_reply_to":"3a50d1a3_a7905a44","updated":"2015-07-28 18:14:20.000000000","message":"Yes, global is window object, just want to make it more explicitly. This file is not under eslint, using global is not to avoid it.","commit_id":"dd81e6f5ed32f74f55bcb71ae9586c44a36c1a19"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"3df5647f73a61c9123c59e8dce97b7edc2a0d91d","unresolved":false,"context_lines":[{"line_number":27,"context_line":"    /* Storage for backend configuration variables which the frontend"},{"line_number":28,"context_line":"     * should be aware of."},{"line_number":29,"context_line":"     */"},{"line_number":30,"context_line":"    var conf \u003d horizon.conf;"},{"line_number":31,"context_line":"    conf.static_url \u003d \"{{ STATIC_URL }}\";"},{"line_number":32,"context_line":"    conf.ajax \u003d {"},{"line_number":33,"context_line":"      queue_limit: {{ HORIZON_CONFIG.ajax_queue_limit|default:\"null\" }}"}],"source_content_type":"text/html","patch_set":6,"id":"3a50d1a3_079a6e6e","line":30,"updated":"2015-07-28 06:52:21.000000000","message":"why not just set horizon.conf \u003d { static.url, ajax, auto_fade_alert, disable_password_reveal.... } directly? if set directly, no need to define it in horizon.js","commit_id":"dd81e6f5ed32f74f55bcb71ae9586c44a36c1a19"},{"author":{"_account_id":14307,"name":"Tyr Johanson","email":"tyr@hpe.com","username":"tyr"},"change_message_id":"cf1a10c43937f368cf20cde753424d6798d61294","unresolved":false,"context_lines":[{"line_number":27,"context_line":"    /* Storage for backend configuration variables which the frontend"},{"line_number":28,"context_line":"     * should be aware of."},{"line_number":29,"context_line":"     */"},{"line_number":30,"context_line":"    var conf \u003d horizon.conf;"},{"line_number":31,"context_line":"    conf.static_url \u003d \"{{ STATIC_URL }}\";"},{"line_number":32,"context_line":"    conf.ajax \u003d {"},{"line_number":33,"context_line":"      queue_limit: {{ HORIZON_CONFIG.ajax_queue_limit|default:\"null\" }}"}],"source_content_type":"text/html","patch_set":6,"id":"3a50d1a3_3cdf62d7","line":30,"in_reply_to":"3a50d1a3_079a6e6e","updated":"2015-07-28 15:34:58.000000000","message":"Thanks Thai.\n\nMy thinking was that by creating it in horizon.js, it would be more obvious to readers of that file which global data they can anticipate being available. Also, I\u0027m hoping to make it clear that global level config variables live in horizon instead of window.","commit_id":"dd81e6f5ed32f74f55bcb71ae9586c44a36c1a19"}]}
