Sha256: b153e0eca8ab3c8f393a7eada0f1e34b2658bba8c0ba2bb44e6bd3b8db3641e2

Contents?: true

Size: 1.77 KB

Versions: 1

Compression:

Stored size: 1.77 KB

Contents

o: ActiveSupport::Cache::Entry	:@compressedF:@expires_in0:@created_atf1356960444.7313659γ:@value"«{I"
class:EFI"BundledAsset;FI"logical_path;FI"'iugu-ux/components/iugu-ux-main.js;FI"
pathname;FI"t/Users/patricknegri/Desenvolvimento/iugu-ux/vendor/assets/javascripts/iugu-ux/components/iugu-ux-main.js.coffee;FI"content_type;FI"application/javascript;FI"
mtime;FI"2012-12-31T09:53:03-02:00;FI"length;Fi¤I"digest;F"%467acf048a3506baf74c520b70a89343I"source;FI"¤(function() {

  this.configure_ui_action = function(button, callback) {
    if (callback == null) {
      callback = null;
    }
    button = $(button);
    if (window.IS_MOBILE) {
      button.on('touchstart', function(evt) {
        return $(this).addClass('active');
      });
      return button.on('touchend', function(evt) {
        $(this).removeClass('active');
        if (callback) {
          return callback(evt);
        }
      });
    } else {
      button.on('mousedown', function(evt) {
        return $(this).addClass('active');
      });
      return button.on('mouseup', function(evt) {
        $(this).removeClass('active');
        if (callback) {
          return callback(evt);
        }
      });
    }
  };

  this.configure_ui_button = function(button) {
    debug("Configuring UI Button");
    return configure_ui_action(button, function() {
      return debug("CLICKED OK");
    });
  };

  $(function() {
    $(".button").each(function(el) {
      return configure_ui_button(this);
    });
    return $("#slider").slider({
      orientation: "vertical",
      range: true,
      min: 0,
      max: 500,
      values: [75, 300]
    });
  });

}).call(this);
;FI"required_assets_digest;F"%089430290e530282589edbee5de6e9c4I"
_version;F"%6776f581a4329e299531e1d52aa59832

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
iugusdk-1.0.0.alpha.7 spec/dummy/tmp/cache/assets/D18/2F0/sprockets%2Fcc2e1640b5601b34eb61a4c333a2e31b