Sha256: 73b8a182b230dc0165d60be8546afefd333307c29086d12b4467d414e31a42bc

Contents?: true

Size: 891 Bytes

Versions: 7

Compression:

Stored size: 891 Bytes

Contents

I"o(function() {
  var ready, show_layout_parts;

  ready = function() {
    var layout_parts;
    if ($('.account-theme').length > 0) {
      layout_parts = $('.account-theme').data('layout-parts');
      return show_layout_parts(layout_parts);
    }
  };

  $(document).on('ready page:load', ready);

  $(document).on('change', '.account-theme select', function() {
    var layout_parts;
    layout_parts = $(this).find('option:selected').data('layout-parts').split(" ");
    return show_layout_parts(layout_parts);
  });

  show_layout_parts = function(layout_parts) {
    var i, layout_part, len, results;
    $('tr.layout-part').hide();
    results = [];
    for (i = 0, len = layout_parts.length; i < len; i++) {
      layout_part = layout_parts[i];
      results.push($('tr.layout-part[data-name=' + layout_part + ']').show());
    }
    return results;
  };

}).call(this);
:ET

Version data entries

7 entries across 5 versions & 1 rubygems

Version Path
spina-0.6.29 test/dummy/tmp/cache/assets/development/sprockets/v3.0/3n3wowRS6eOEQlK_H9VQiXuniWEqIr5d_ZED92z0J5o.cache
spina-0.6.29 test/dummy/tmp/cache/assets/test/sprockets/v3.0/oH3rvUbn-Xk2L-5kIVsPl3p8gxmgQJJa-ZWPqP4YtLc.cache
spina-0.6.29 test/dummy/tmp/cache/assets/development/sprockets/v3.0/oH3rvUbn-Xk2L-5kIVsPl3p8gxmgQJJa-ZWPqP4YtLc.cache
spina-0.6.28 test/dummy/tmp/cache/assets/development/sprockets/v3.0/3n3wowRS6eOEQlK_H9VQiXuniWEqIr5d_ZED92z0J5o.cache
spina-0.6.27 test/dummy/tmp/cache/assets/development/sprockets/v3.0/3n3wowRS6eOEQlK_H9VQiXuniWEqIr5d_ZED92z0J5o.cache
spina-0.6.26 test/dummy/tmp/cache/assets/development/sprockets/v3.0/3n3wowRS6eOEQlK_H9VQiXuniWEqIr5d_ZED92z0J5o.cache
spina-0.6.25 test/dummy/tmp/cache/assets/development/sprockets/v3.0/3n3wowRS6eOEQlK_H9VQiXuniWEqIr5d_ZED92z0J5o.cache