{:uriI"file:///Users/joaovitoras/projects/morion/app/assets/javascripts/morion/bulma.js?type=application/javascript&pipeline=self&id=f89a8ead8716ecf4d422a9e23e4f32478e105a2f3c5dd18811f1e404abc7b7dd:ET:load_pathI">/Users/joaovitoras/projects/morion/app/assets/javascripts;T:
filenameI"N/Users/joaovitoras/projects/morion/app/assets/javascripts/morion/bulma.js;T: nameI"morion/bulma;T:logical_pathI"morion/bulma.self.js;T:content_typeI"application/javascript;T:sourceI"{jQuery(document).ready(function ($) {
var $toggle = $('#nav-toggle');
var $menu = $('#nav-menu');
$toggle.click(function() {
$(this).toggleClass('is-active');
$menu.toggleClass('is-active');
});
$('.modal-button').click(function() {
var target = $(this).data('target');
$('html').addClass('is-clipped');
$(target).addClass('is-active');
});
$('.modal-background, .modal-close').click(function() {
$('html').removeClass('is-clipped');
$(this).parent().removeClass('is-active');
});
$('.modal-card-head .delete, .modal-card-foot .button').click(function() {
$('html').removeClass('is-clipped');
$('#modal-ter').removeClass('is-active');
});
$(document).on('keyup',function(e) {
if (e.keyCode == 27) {
$('html').removeClass('is-clipped');
$('.modal').removeClass('is-active');
}
});
var $highlights = $('.highlight');
$highlights.each(function() {
var $el = $(this);
var copy = '';
var expand = '';
$el.append(copy);
if ($el.find('pre code').innerHeight() > 600) {
$el.append(expand);
}
});
var $highlightButtons = $('.highlight .copy, .highlight .expand');
$highlightButtons.hover(function() {
$(this).parent().css('box-shadow', '0 0 0 1px #ed6c63');
}, function() {
$(this).parent().css('box-shadow', 'none');
});
$('.highlight .expand').click(function() {
$(this).parent().children('pre').css('max-height', 'none');
});
new Clipboard('.copy', {
target: function(trigger) {
return trigger.previousSibling;
}
});
});
;T:
metadata{:dependencieso:Set:
@hash{
I"environment-version;TTI"environment-paths;TTI"rails-env;TTI"Zprocessors:type=application/javascript&file_type=application/javascript&pipeline=self;TTI"\file-digest:///Users/joaovitoras/projects/morion/app/assets/javascripts/morion/bulma.js;TT:
requiredo;;{ :stubbedo;;{ :
linkso;;{ :charsetI"
utf-8;F:digest"%50jCޙHiY2RKyB:lengthi{:dependencies_digest"%7-4fU/k18~XQP~m:idI"Ef89a8ead8716ecf4d422a9e23e4f32478e105a2f3c5dd18811f1e404abc7b7dd;F:
mtimel+uY