{I" class:ETI"ProcessedAsset;FI"logical_path;TI" spina.js;FI" pathname;TI"O/Users/bram/apps/Spina-template/app/assets/javascripts/spina.js.coffee.erb;FI"content_type;TI"application/javascript;TI" mtime;Tl+āP6UI" length;TiÃI" digest;TI"%331c00ead59643c4eadddfe7889a42d6;FI" source;TI"Ã(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 }); $(".structure-form-menu ul").sortable({ handle: '.sortable-handle' }); 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"%2ae3c1e0341e958dcad58008dc2e8467;FI"required_paths;T[I"Y/Users/bram/apps/Spina-template/vendor/assets/javascripts/spina/jquery.datatables.js;FI"Q/Users/bram/apps/Spina-template/vendor/assets/javascripts/spina/jquery.ui.js;FI"_/Users/bram/apps/Spina-template/vendor/assets/javascripts/spina/jquery.ui.datepicker-nl.js;FI"W/Users/bram/apps/Spina-template/vendor/assets/javascripts/spina/jquery.sortable.js;FI"W/Users/bram/apps/Spina-template/vendor/assets/javascripts/spina/jquery.nestable.js;FI"^/Users/bram/apps/Spina-template/vendor/assets/javascripts/spina/jquery.customfileinput.js;FI"Y/Users/bram/apps/Spina-template/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"O/Users/bram/apps/Spina-template/vendor/assets/javascripts/spina/raphael.js;FI"N/Users/bram/apps/Spina-template/vendor/assets/javascripts/spina/morris.js;FI"Q/Users/bram/apps/Spina-template/vendor/assets/javascripts/spina/nprogress.js;FI"Q/Users/bram/apps/Spina-template/vendor/assets/javascripts/spina/wysihtml5.js;FI"^/Users/bram/apps/Spina-template/vendor/assets/javascripts/spina/wysihtml5_parser_rules.js;FI"R/Users/bram/apps/Spina-template/app/assets/javascripts/spina/switch.js.coffee;FI"Q/Users/bram/apps/Spina-template/app/assets/javascripts/spina/modal.js.coffee;FI"P/Users/bram/apps/Spina-template/app/assets/javascripts/spina/tabs.js.coffee;FI"Q/Users/bram/apps/Spina-template/app/assets/javascripts/spina/forms.js.coffee;FI"T/Users/bram/apps/Spina-template/app/assets/javascripts/spina/dropdown.js.coffee;FI"Y/Users/bram/apps/Spina-template/app/assets/javascripts/spina/galleryselect.js.coffee;FI"S/Users/bram/apps/Spina-template/app/assets/javascripts/spina/uploads.js.coffee;FI"O/Users/bram/apps/Spina-template/app/assets/javascripts/spina.js.coffee.erb;FI"dependency_paths;T[{I" path;TI"]/Users/bram/apps/Spina-template/app/assets/stylesheets/spina/wysihtml5_textarea.css.sass;F@I"2015-02-06T15:26:27+01:00;T@I"%fe77ae5f78d4c37dfa03f9269d5dcd8e;F{@4I"O/Users/bram/apps/Spina-template/app/assets/javascripts/spina.js.coffee.erb;F@I"2015-04-21T15:30:08+02:00;T@I"%a0cb888066356430c403c7aa493bcdf7;F{@4I"Y/Users/bram/apps/Spina-template/vendor/assets/javascripts/spina/jquery.datatables.js;F@I"2015-02-06T15:26:27+01:00;T@I"%411bed298b57422bd8712f845a3b86e3;F{@4I"Q/Users/bram/apps/Spina-template/vendor/assets/javascripts/spina/jquery.ui.js;F@I"2015-02-06T15:26:27+01:00;T@I"%26dd69f65523fbf101ef5a4cef9a7d12;F{@4I"_/Users/bram/apps/Spina-template/vendor/assets/javascripts/spina/jquery.ui.datepicker-nl.js;F@I"2015-02-06T15:26:27+01:00;T@I"%97d02ebccf442b30c978b8351be5d86f;F{@4I"W/Users/bram/apps/Spina-template/vendor/assets/javascripts/spina/jquery.sortable.js;F@I"2015-04-21T15:37:06+02:00;T@I"%d137b53d3bfb1688460e9e07e82c76c5;F{@4I"W/Users/bram/apps/Spina-template/vendor/assets/javascripts/spina/jquery.nestable.js;F@I"2015-02-06T15:26:27+01:00;T@I"%9e6485f85f37c7bd5344a51dd7648502;F{@4I"^/Users/bram/apps/Spina-template/vendor/assets/javascripts/spina/jquery.customfileinput.js;F@I"2015-02-06T15:26:27+01:00;T@I"%f1903e17cda0ec11bdd18309a3c6783c;F{@4I"Y/Users/bram/apps/Spina-template/vendor/assets/javascripts/spina/jquery.farbtastic.js;F@I"2015-02-06T15:26:27+01:00;T@I"%964cb66b006e4198b087f6007d02f88c;F{@4I"Š/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{@4I"œ/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{@4I"œ/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{@4I"–/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{@4I"O/Users/bram/apps/Spina-template/vendor/assets/javascripts/spina/raphael.js;F@I"2015-02-06T15:26:27+01:00;T@I"%3f44ade6ad606aeec740c0eed5400fff;F{@4I"N/Users/bram/apps/Spina-template/vendor/assets/javascripts/spina/morris.js;F@I"2015-02-06T15:26:27+01:00;T@I"%ffdf95a9a482361d0fa0fdf2ab5eb563;F{@4I"Q/Users/bram/apps/Spina-template/vendor/assets/javascripts/spina/nprogress.js;F@I"2015-02-06T15:26:27+01:00;T@I"%6ef40792e81ee2c0c3a3759fe7ad8fc0;F{@4I"Q/Users/bram/apps/Spina-template/vendor/assets/javascripts/spina/wysihtml5.js;F@I"2015-02-06T15:26:27+01:00;T@I"%ce9227bb38457193104b832d69c1418a;F{@4I"^/Users/bram/apps/Spina-template/vendor/assets/javascripts/spina/wysihtml5_parser_rules.js;F@I"2015-02-06T15:26:27+01:00;T@I"%cc02674ec25b08c866d6809ffae59b9b;F{@4I"R/Users/bram/apps/Spina-template/app/assets/javascripts/spina/switch.js.coffee;F@I"2015-03-04T15:18:38+01:00;T@I"%74eb4a486863c1ed0a69956252c02490;F{@4I"Q/Users/bram/apps/Spina-template/app/assets/javascripts/spina/modal.js.coffee;F@I"2015-02-06T15:26:27+01:00;T@I"%104a6325378ae1b80141bb0743ca22da;F{@4I"P/Users/bram/apps/Spina-template/app/assets/javascripts/spina/tabs.js.coffee;F@I"2015-02-06T15:26:27+01:00;T@I"%22cd014c681cd9b34fd3de4bd8818b28;F{@4I"Q/Users/bram/apps/Spina-template/app/assets/javascripts/spina/forms.js.coffee;F@I"2015-04-21T14:28:41+02:00;T@I"%bc0a91c4e891096aff04e57c70321bb3;F{@4I"T/Users/bram/apps/Spina-template/app/assets/javascripts/spina/dropdown.js.coffee;F@I"2015-03-11T09:38:04+01:00;T@I"%6c5728df26f91e1933dac1853a1c8e5f;F{@4I"Y/Users/bram/apps/Spina-template/app/assets/javascripts/spina/galleryselect.js.coffee;F@I"2015-02-06T15:26:27+01:00;T@I"%4fcfa4a17f4eea76cf9133fca36482dd;F{@4I"S/Users/bram/apps/Spina-template/app/assets/javascripts/spina/uploads.js.coffee;F@I"2015-02-06T15:26:27+01:00;T@I"%a34cbf8f191d55cd2c6dda8116cb9a62;FI" _version;TI"%64e62ddc273c2f5847f30d698ca14b67;F