sandbox/tmp/cache/assets/DCB/100/sprockets%2Fd313bd7561b538fb7f2c4ab89dba5b7b in iugu-ux-0.9.2 vs sandbox/tmp/cache/assets/DCB/100/sprockets%2Fd313bd7561b538fb7f2c4ab89dba5b7b in iugu-ux-0.9.3
- old
+ new
@@ -1,8 +1,8 @@
-o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1357673893.58129 3:@value"{I"
+o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1358772538.4304588 :@value"H{I"
class:EFI"BundledAsset; FI"logical_path; FI"9iugu-ux/components/usecode/iugu-ui-responsive-box.js; FI"
pathname; FI"/Users/patricknegri/Desenvolvimento/iugu-ux/vendor/assets/javascripts/iugu-ux/components/usecode/iugu-ui-responsive-box.js.coffee; FI"content_type; FI"application/javascript; FI"
-mtime; FI"2013-01-08T16:52:21-02:00; FI"length; FiI"digest; F"%9da195d7c4bf26401ac049dd4e250ee6I"source; FI"(function() {
+mtime; FI"2013-01-12T18:03:34-02:00; FI"length; FiI"digest; F"%1d218c452de05a9c62e920764397003fI"source; FI"(function() {
var __hasProp = {}.hasOwnProperty,
__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; };
IuguUI.ResponsiveBox = (function(_super) {
@@ -47,13 +47,12 @@
ResponsiveBox.prototype.getTitle = function() {
return this.$('.responsive-title').html();
};
- ResponsiveBox.prototype.toggleSidebar = function(evt) {
+ ResponsiveBox.prototype.reallyToggleSidebar = function() {
var preventContainer, uibox, uisidebar;
- evt.preventDefault();
uibox = this.$('.ui-responsive-box');
uisidebar = uibox.children('.sidebar');
if (uisidebar.css('z-index') !== '1000') {
return;
}
@@ -70,10 +69,15 @@
return setTimeout(function() {
return preventContainer.remove();
}, 500);
};
+ ResponsiveBox.prototype.toggleSidebar = function(evt) {
+ evt.preventDefault();
+ return this.reallyToggleSidebar();
+ };
+
ResponsiveBox.prototype.render = function() {
var small_navigation, that;
ResponsiveBox.__super__.render.apply(this, arguments);
$(document.body).addClass('ui-box-background');
this.sidebar_wrapper = $(document.createElement('div'));
@@ -101,6 +105,6 @@
})(IuguUI.Base);
this.IuguUI.ResponsiveBox = IuguUI.ResponsiveBox;
}).call(this);
-; FI"required_assets_digest; F"%e3f131287168c1c1b6b028bb6924fa40I"
_version; F"%9f3b95dd7ea3030dc35985c0a8020862
+; FI"required_assets_digest; F"%8b45a961de82798b160a99062a975bc7I"
_version; F"%9f3b95dd7ea3030dc35985c0a8020862
\ No newline at end of file