<commit_before>goog.provide('lime.Button');

goog.require('lime.Layer');

/**
 * Simple button element
 * @param {lime.Sprite} opt_upstate Object shown on normal state.
 * @param {lime.Sprite} opt_downstate Object show when button is pressed.
 * @constructor
 * @extends lime.Label
 */
lime.Button = function(opt_upstate, opt_downstate) {
    lime.Layer.call(this);

    this.domClassName = goog.getCssName('lime-button');

    //set up state
    if (goog.isDef(opt_upstate)) {
        this.setUpState(opt_upstate);<commit_msg>Fixing wrong extends type in comment.<commit_after>goog.provide('lime.Button');

goog.require('lime.Layer');

/**
 * Simple button element
 * @param {lime.Sprite} opt_upstate Object shown on normal state.
 * @param {lime.Sprite} opt_downstate Object show when button is pressed.
 * @constructor
 * @extends lime.Layer
 */
lime.Button = function(opt_upstate, opt_downstate) {
    lime.Layer.call(this);

    this.domClassName = goog.getCssName('lime-button');

    //set up state
    if (goog.isDef(opt_upstate)) {
        this.setUpState(opt_upstate);
{'fraction_non_alphanumeric': 0.1345083487940631, 'fraction_numerical': 0.0, 'mean_word_length': 4.113744075829384, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '722018', 'n_tokens_mistral': 367, 'n_tokens_neox': 358, 'n_words': 78}