// 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 foundation
//= require_tree .

$(function(){
  $(document).foundation();
});

@@ -701,8 +701,349 @@
 ();%0A
-%7D);
+%0A  getTags();%0A%7D);%0A%0Afunction getTags() %7B%0A  $.ajax(%7B%0A    dataType: 'json',%0A    contentType: 'application/json',%0A    url: '/api/tags',%0A    headers: %7B%0A      'Authorization': '96e27e6a-c0c3-4d26-9a9b-5dc367a118fe'%0A    %7D,%0A    success: function(data) %7B%0A      console.log(data);%0A    %7D,%0A    error: function(error) %7B%0A      console.log(error)%0A    %7D%0A  %7D)%0A%7D
 %0A

Add example AJAX request