<# var names = data.names; var values = data.values; var keys = data.field.keys; var placeholder = data.field.placeholder || ''; var units = data.field.units; var slider = data.field.slider; var labels = []; var i; /** * We need to handle responsive dimension fields like this for backwards * compatibility with old margin, padding and border fields. If we did not do this * the keys would be margin_medium_top instead of the existing margin_top_medium. */ var responsive = data.name.replace( data.rootName, '' ); /** * Setup keys and labels if custom config doesn't exist. */ if ( 'object' !== typeof keys ) { keys = { top: '