text: // This is a manifest file that'll be compiled into application.js, which will include all the files
  // listed below.
  //
  // Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
  // or any plugin's vendor/assets/javascripts directory can be referenced here using a relative path.
  //
  // It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
  // compiled file.
  //
  // Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details
  // about supported directives.
  //
  //= require jquery
  //= require jquery_ujs
  //= require sweetalert.min
  //= require bootstrap-switch
  //= require codemirror
  //= require codemirror/modes/clike
  //= require_tree .
  
  /*!
   * Start Bootstrap - Freelancer Bootstrap Theme (http://startbootstrap.com)
   * Code licensed under the Apache License v2.0.
   * For details, see http://www.apache.org/licenses/LICENSE-2.0.
   */
  
  // jQuery for page scrolling feature - requires jQuery Easing plugin
  $(function() {
      $('body').on('click', '.page-scroll a', function(event) {
          var $anchor = $(this);
          $('html, body').stop().animate({
              scrollTop: $($anchor.attr('href')).offset().top
          }, 1500, 'easeInOutExpo');
          event.preventDefault();
      });
  });
  // Closes the Responsive Menu on Menu Item Click
  $('.navbar-collapse ul li a').click(function() {
      $('.navbar-toggle:visible').click();
  });
  
  function xmlToString(xmlData) { 
      var xmlString;
      //IE
      if (window.ActiveXObject){
          xmlString = xmlData.xml;
      }
      // code for Mozilla, Firefox, Opera, etc.
      else{
          xmlString = (new XMLSerializer()).serializeToString(xmlData);
      }
      return xmlString;
  }   
  
  
  //= require turbolinks