Sha256: ea652dcfb9c5b922160c0f5d4ba76d3f27a937fe0e8887d56cab55abc5bf6da9
Contents?: true
Size: 1.87 KB
Versions: 4
Compression:
Stored size: 1.87 KB
Contents
{I" class:ETI"BundledAsset; FI"logical_path; TI"ledge/rows/heading.js; TI" pathname; TI"HF:/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
4 entries across 2 versions & 1 rubygems