From 0a7b5e5b6b57dea0a95bf21ea24b5ccf6dacb1c0 Mon Sep 17 00:00:00 2001 From: Steve Howell Date: Mon, 15 Jul 2013 13:42:07 -0400 Subject: [PATCH] Rename render_object_in_parts to get_object_parts (imported from commit b040bb60d166a2f904c8d1280fb51693e0d50977) --- zephyr/static/js/search.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/zephyr/static/js/search.js b/zephyr/static/js/search.js index 07c07468ab..112eddd206 100644 --- a/zephyr/static/js/search.js +++ b/zephyr/static/js/search.js @@ -80,7 +80,7 @@ function describe(operators) { }).join(', '); } -function render_object_in_parts(obj) { +function get_object_parts(obj) { // N.B. action is *not* escaped by the caller switch (obj.action) { case 'stream': @@ -110,7 +110,7 @@ function render_object_in_parts(obj) { } function render_object(obj) { - var parts = render_object_in_parts(obj); + var parts = get_object_parts(obj); return parts.prefix + " " + parts.query + " " + parts.suffix; } @@ -283,7 +283,7 @@ exports.initialize = function () { return prefix + ' ' + stream; } - var parts = render_object_in_parts(obj); + var parts = get_object_parts(obj); parts.query = Handlebars.Utils.escapeExpression(parts.query); return parts.prefix + " " + parts.query + " " + parts.suffix; },