Sha256: 6b215c301c2c9fe9dfc92941f4dc534ff02c41414f56fbb33596fb938a1f8d43

Contents?: true

Size: 1.88 KB

Versions: 6

Compression:

Stored size: 1.88 KB

Contents

{I"
class:ETI"BundledAsset;FI"logical_path;TI"ledge/rows/heading.js;TI"
pathname;TI"RD:/Documents/Rails/ledge/app/assets/javascripts/ledge/rows/heading.coffee.erb;TI"content_type;TI"application/javascript;TI"
mtime;Tl+VšßTI"length;Ti²I"digest;TI"%e0af1deffdfcf16bffc590237133c69e;FI"source;TI"²(function() {
  var Heading,
    __extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },
    __hasProp = {}.hasOwnProperty;

  Heading = (function(_super) {
    __extends(Heading, _super);

    function Heading() {
      return Heading.__super__.constructor.apply(this, arguments);
    }

    Heading.prototype.type = "heading";

    Heading.prototype.name = "Heading";

    Heading.prototype.initial_content = "<h1>Heading</h1>";

    Heading.prototype.options = ["H1", "H2", "H3", "H4", "H5", "H6"];

    Heading.prototype.icons = {
      "H1": "/assets/text_heading_1.png",
      "H2": "/assets/text_heading_2.png",
      "H3": "/assets/text_heading_3.png",
      "H4": "/assets/text_heading_4.png",
      "H5": "/assets/text_heading_5.png",
      "H6": "/assets/text_heading_6.png"
    };

    Heading.prototype.on_option = function(row, option) {
      var text;
      text = $(row).find(".__ledge_row_content").children().text();
      if (text === "") {
        text = "Heading";
      }
      $(row).find(".__ledge_row_content").html("<" + option + ">" + text + "</" + option + ">");
      return Ledge.prototype.update_textarea();
    };

    return Heading;

  })(Row);

  window.Heading = Heading;

}).call(this);
;TI"required_assets_digest;TI"%fba603a076784bc3c01691410cf36875;FI"
_version;TI"%64e62ddc273c2f5847f30d698ca14b67;F

Version data entries

6 entries across 3 versions & 1 rubygems

Version Path
ledge-0.2.4 test/dummy/tmp/cache/assets/development/sprockets/4c438657b09c12a6db7c3a82bb075084
ledge-0.2.4 test/dummy/tmp/cache/assets/development/sprockets/7bfe1cb98329d42c21b6fc0985f5db4e
ledge-0.2.3 test/dummy/tmp/cache/assets/development/sprockets/4c438657b09c12a6db7c3a82bb075084
ledge-0.2.3 test/dummy/tmp/cache/assets/development/sprockets/7bfe1cb98329d42c21b6fc0985f5db4e
ledge-0.2.2 test/dummy/tmp/cache/assets/development/sprockets/4c438657b09c12a6db7c3a82bb075084
ledge-0.2.2 test/dummy/tmp/cache/assets/development/sprockets/7bfe1cb98329d42c21b6fc0985f5db4e