﻿// Description:
// Binds a list of store locations to a listing area of the UI
//
// json : array of store dto's
// template : template to bind store array to
// target : page element to render binding output to (eg div) 
function RenderStoresWithTemplate(json, template, target) {
    // bind stores to template
    var output = $(template).parseTemplate(json);

    // render template in target element
    $(target).html(output);
}
