)]}'
{"horizon/static/horizon/js/horizon.messages.js":[{"author":{"_account_id":1941,"name":"Lin Hua Cheng","email":"os.lcheng@gmail.com","username":"lin-hua-cheng"},"change_message_id":"501b063fbe18750da0062a187480625683fd9910","unresolved":false,"context_lines":[{"line_number":40,"context_line":"    var $alert \u003d $(this),"},{"line_number":41,"context_line":"      types \u003d $alert.attr(\u0027class\u0027).split(\u0027 \u0027),"},{"line_number":42,"context_line":"      intersection \u003d $.grep(types, function (value) {"},{"line_number":43,"context_line":"        $.inArray(value, horizon.conf.auto_fade_alerts.types);"},{"line_number":44,"context_line":"      });"},{"line_number":45,"context_line":"    // Check if alert should auto-fade"},{"line_number":46,"context_line":"    if (intersection.length \u003e 0) {"}],"source_content_type":"text/javascript","patch_set":1,"id":"AAAAUH%2F9tqc%3D","side":"PARENT","line":43,"updated":"2014-02-04 18:43:11.000000000","message":"This either returns the index of the item that matches. It would returning either a 0 or -1. In this case, it would be always False and intersection would always be empty.","commit_id":"f9a424ccdac85643865bf4fd0a4ce2d0f8c1d22a"}]}
