{I" class:ETI"ProcessedAsset;FI"logical_path;TI" spina.js;FI" pathname;TI"/Users/bram/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/spina-template-0.2.4/app/assets/javascripts/spina.js.coffee.erb;FI"content_type;TI"application/javascript;TI" mtime;Tl+Ü¥UI" length;TinI" digest;TI"%2006caf745c13ac921aa33b5567e00b8;FI" source;TI"n(function() { var ready; $(document).on('page:fetch', function() { return NProgress.start(); }); $(document).on('page:change', function() { return NProgress.done(); }); $(document).on('page:restore', function() { return NProgress.remove(); }); $(document).on('click', '.table-clickable tbody tr', function() { var checkbox; checkbox = $(this).find('input[type="checkbox"]:first, input[type="radio"]:first'); return checkbox.prop("checked", !checkbox.prop("checked")); }); $(document).on('keyup', '.search-input input', function(e) { $(this).parent().removeClass('animated small-shake'); if ($(this).val() === "") { $(this).parent().find('.clear-input').fadeOut(200); if (e.keyCode === 13) { return $(this).parent().addClass('animated small-shake'); } } else { return $(this).parent().find('.clear-input').fadeIn(200); } }); $(document).on('click', '.clear-input', function() { var input, link; link = $(this); input = link.siblings('input'); input.val(""); input.focus(); input.trigger("keyup"); link.fadeOut(200); return false; }); $(document).on('keyup + change', '.table-container .search-input input', function() { var datatable; datatable = $(this).parent().parent().find('table.datatable').dataTable(); return datatable.fnFilter($(this).val()); }); $(document).on('change', '.dd', function() { var serialized, sort_url; serialized = $(this).nestable('serialize'); sort_url = $(this).data('sort-url'); return $.post(sort_url, { list: serialized }); }); ready = function() { $('input[type="file"][data-customfileinput]:visible').each(function() { return $(this).customFileInput(); }); $('.new_photo').uploadPhoto(); $('.colorpicker').each(function() { var colorpicker, field; colorpicker = $(this).find('.colorpicker-container'); field = $(this).find('input'); return $.farbtastic(colorpicker, function(color) { field.val(color); return field.css('color', color); }); }); $('.colorpicker input').focus(function() { var colorpicker, container; container = $(this).parent(); colorpicker = container.find('.colorpicker-container'); $.farbtastic(colorpicker).setColor($(this).val()); return container.find('.farbtastic').show(); }); $('.colorpicker input').blur(function() { var container; container = $(this).parent(); return container.find('.farbtastic').hide(); }); $('.new_document').uploadDocument(); $('#login_wrapper').css('margin-top', $(document).innerHeight() / 8); $('.wysihtml5-container').each(function() { var container, editor, textarea, toolbar; container = $(this); textarea = container.find('textarea'); toolbar = container.find('.toolbar'); editor = new wysihtml5.Editor(textarea.attr('id'), { toolbar: toolbar.attr('id'), useLineBreaks: false, parserRules: wysihtml5ParserRules, stylesheets: ["/assets/spina/wysihtml5_textarea.css"] }); editor.on("load", function() { return container.data("wysihtml5", editor); }); editor.on("focus", function() { return container.find(".choose-text-type").fadeIn(100); }); return editor.on("blur", function() { return container.find(".choose-text-type").fadeOut(100); }); }); $(".dd").nestable({ maxDepth: 3 }); if ($('input[data-switch]').length > 0) { $('input[data-switch]').spinaSwitch(); } if ($('.datepicker').length > 0) { $('.datepicker').datepicker(); } if ($('.datatable').length > 0) { return $('table.datatable').dataTable({ "bLengthChange": false, "oLanguage": { "sProcessing": "Bezig...", "sLengthMenu": "_MENU_ resultaten weergeven", "sZeroRecords": "Geen resultaten gevonden", "sInfo": "_START_ tot _END_ van _TOTAL_ resultaten", "sInfoEmpty": "Geen resultaten om weer te geven", "sInfoFiltered": " (gefilterd uit _MAX_ resultaten)", "sInfoPostFix": "", "sSearch": "Zoeken:", "sEmptyTable": "Geen resultaten aanwezig in de tabel", "sInfoThousands": ".", "sLoadingRecords": "Een moment geduld aub - bezig met laden...", "oPaginate": { "sFirst": "Eerste", "sLast": "Laatste", "sNext": "Volgende", "sPrevious": "Vorige" } } }); } }; $(document).ready(ready); $(document).on('page:load', ready); }).call(this); ;TI"dependency_digest;TI"%30120ded8ef51c6a30e2793406cc65f8;FI"required_paths;T[I"„/Users/bram/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/spina-template-0.2.4/vendor/assets/javascripts/spina/jquery.datatables.js;FI"|/Users/bram/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/spina-template-0.2.4/vendor/assets/javascripts/spina/jquery.ui.js;FI"Š/Users/bram/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/spina-template-0.2.4/vendor/assets/javascripts/spina/jquery.ui.datepicker-nl.js;FI"‚/Users/bram/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/spina-template-0.2.4/vendor/assets/javascripts/spina/jquery.sortable.js;FI"‚/Users/bram/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/spina-template-0.2.4/vendor/assets/javascripts/spina/jquery.nestable.js;FI"‰/Users/bram/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/spina-template-0.2.4/vendor/assets/javascripts/spina/jquery.customfileinput.js;FI"„/Users/bram/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/spina-template-0.2.4/vendor/assets/javascripts/spina/jquery.farbtastic.js;FI"œ/Users/bram/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/jquery-fileupload-rails-0.4.5/app/assets/javascripts/jquery-fileupload/vendor/jquery.ui.widget.js;FI"œ/Users/bram/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/jquery-fileupload-rails-0.4.5/app/assets/javascripts/jquery-fileupload/jquery.iframe-transport.js;FI"–/Users/bram/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/jquery-fileupload-rails-0.4.5/app/assets/javascripts/jquery-fileupload/jquery.fileupload.js;FI"Š/Users/bram/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/jquery-fileupload-rails-0.4.5/app/assets/javascripts/jquery-fileupload/basic.js;FI"/Users/bram/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/spina-template-0.2.4/vendor/assets/javascripts/spina/raphael.js;FI"~/Users/bram/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/spina-template-0.2.4/vendor/assets/javascripts/spina/morris.js;FI"|/Users/bram/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/spina-template-0.2.4/vendor/assets/javascripts/spina/nprogress.js;FI"|/Users/bram/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/spina-template-0.2.4/vendor/assets/javascripts/spina/wysihtml5.js;FI"‰/Users/bram/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/spina-template-0.2.4/vendor/assets/javascripts/spina/wysihtml5_parser_rules.js;FI"}/Users/bram/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/spina-template-0.2.4/app/assets/javascripts/spina/switch.js.coffee;FI"|/Users/bram/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/spina-template-0.2.4/app/assets/javascripts/spina/modal.js.coffee;FI"{/Users/bram/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/spina-template-0.2.4/app/assets/javascripts/spina/tabs.js.coffee;FI"/Users/bram/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/spina-template-0.2.4/app/assets/javascripts/spina/dropdown.js.coffee;FI"„/Users/bram/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/spina-template-0.2.4/app/assets/javascripts/spina/galleryselect.js.coffee;FI"~/Users/bram/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/spina-template-0.2.4/app/assets/javascripts/spina/uploads.js.coffee;FI"/Users/bram/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/spina-template-0.2.4/app/assets/javascripts/spina.js.coffee.erb;FI"dependency_paths;T[{I" path;TI"ˆ/Users/bram/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/spina-template-0.2.4/app/assets/stylesheets/spina/wysihtml5_textarea.css.sass;F@I"2015-03-11T21:30:20+01:00;T@I"%fe77ae5f78d4c37dfa03f9269d5dcd8e;F{@3I"/Users/bram/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/spina-template-0.2.4/app/assets/javascripts/spina.js.coffee.erb;F@I"2015-03-11T21:30:20+01:00;T@I"%622d4e79a9656565f3f94551a93e5897;F{@3I"„/Users/bram/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/spina-template-0.2.4/vendor/assets/javascripts/spina/jquery.datatables.js;F@I"2015-03-11T21:30:20+01:00;T@I"%411bed298b57422bd8712f845a3b86e3;F{@3I"|/Users/bram/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/spina-template-0.2.4/vendor/assets/javascripts/spina/jquery.ui.js;F@I"2015-03-11T21:30:20+01:00;T@I"%26dd69f65523fbf101ef5a4cef9a7d12;F{@3I"Š/Users/bram/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/spina-template-0.2.4/vendor/assets/javascripts/spina/jquery.ui.datepicker-nl.js;F@I"2015-03-11T21:30:20+01:00;T@I"%97d02ebccf442b30c978b8351be5d86f;F{@3I"‚/Users/bram/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/spina-template-0.2.4/vendor/assets/javascripts/spina/jquery.sortable.js;F@I"2015-03-11T21:30:20+01:00;T@I"%fb888370bd853a100213d226e584ef00;F{@3I"‚/Users/bram/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/spina-template-0.2.4/vendor/assets/javascripts/spina/jquery.nestable.js;F@I"2015-03-11T21:30:20+01:00;T@I"%9e6485f85f37c7bd5344a51dd7648502;F{@3I"‰/Users/bram/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/spina-template-0.2.4/vendor/assets/javascripts/spina/jquery.customfileinput.js;F@I"2015-03-11T21:30:20+01:00;T@I"%f1903e17cda0ec11bdd18309a3c6783c;F{@3I"„/Users/bram/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/spina-template-0.2.4/vendor/assets/javascripts/spina/jquery.farbtastic.js;F@I"2015-03-11T21:30:20+01:00;T@I"%964cb66b006e4198b087f6007d02f88c;F{@3I"Š/Users/bram/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/jquery-fileupload-rails-0.4.5/app/assets/javascripts/jquery-fileupload/basic.js;F@I"2015-03-31T14:25:27+02:00;T@I"%fd35a533814fb569bfafa72539469534;F{@3I"œ/Users/bram/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/jquery-fileupload-rails-0.4.5/app/assets/javascripts/jquery-fileupload/vendor/jquery.ui.widget.js;F@I"2015-03-31T14:25:27+02:00;T@I"%c5936d86786df417af1352853b1258e6;F{@3I"œ/Users/bram/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/jquery-fileupload-rails-0.4.5/app/assets/javascripts/jquery-fileupload/jquery.iframe-transport.js;F@I"2015-03-31T14:25:27+02:00;T@I"%82a309cb26b1da45623197627140d125;F{@3I"–/Users/bram/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/jquery-fileupload-rails-0.4.5/app/assets/javascripts/jquery-fileupload/jquery.fileupload.js;F@I"2015-03-31T14:25:27+02:00;T@I"%83b1e252195e8e47e385521b72f67221;F{@3I"/Users/bram/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/spina-template-0.2.4/vendor/assets/javascripts/spina/raphael.js;F@I"2015-03-11T21:30:20+01:00;T@I"%3f44ade6ad606aeec740c0eed5400fff;F{@3I"~/Users/bram/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/spina-template-0.2.4/vendor/assets/javascripts/spina/morris.js;F@I"2015-03-11T21:30:20+01:00;T@I"%ffdf95a9a482361d0fa0fdf2ab5eb563;F{@3I"|/Users/bram/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/spina-template-0.2.4/vendor/assets/javascripts/spina/nprogress.js;F@I"2015-03-11T21:30:20+01:00;T@I"%6ef40792e81ee2c0c3a3759fe7ad8fc0;F{@3I"|/Users/bram/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/spina-template-0.2.4/vendor/assets/javascripts/spina/wysihtml5.js;F@I"2015-03-11T21:30:20+01:00;T@I"%ce9227bb38457193104b832d69c1418a;F{@3I"‰/Users/bram/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/spina-template-0.2.4/vendor/assets/javascripts/spina/wysihtml5_parser_rules.js;F@I"2015-03-11T21:30:20+01:00;T@I"%cc02674ec25b08c866d6809ffae59b9b;F{@3I"}/Users/bram/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/spina-template-0.2.4/app/assets/javascripts/spina/switch.js.coffee;F@I"2015-03-11T21:30:20+01:00;T@I"%74eb4a486863c1ed0a69956252c02490;F{@3I"|/Users/bram/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/spina-template-0.2.4/app/assets/javascripts/spina/modal.js.coffee;F@I"2015-03-11T21:30:20+01:00;T@I"%104a6325378ae1b80141bb0743ca22da;F{@3I"{/Users/bram/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/spina-template-0.2.4/app/assets/javascripts/spina/tabs.js.coffee;F@I"2015-03-11T21:30:20+01:00;T@I"%22cd014c681cd9b34fd3de4bd8818b28;F{@3I"/Users/bram/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/spina-template-0.2.4/app/assets/javascripts/spina/dropdown.js.coffee;F@I"2015-03-11T21:30:20+01:00;T@I"%3f7bca348356bd21fd101c494d59ee6e;F{@3I"„/Users/bram/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/spina-template-0.2.4/app/assets/javascripts/spina/galleryselect.js.coffee;F@I"2015-03-11T21:30:20+01:00;T@I"%4fcfa4a17f4eea76cf9133fca36482dd;F{@3I"~/Users/bram/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/spina-template-0.2.4/app/assets/javascripts/spina/uploads.js.coffee;F@I"2015-03-11T21:30:20+01:00;T@I"%a34cbf8f191d55cd2c6dda8116cb9a62;FI" _version;TI"%64e62ddc273c2f5847f30d698ca14b67;F