text: 
  /*
   * BOX REFRESH BUTTON
   * ------------------
   * This is a custom plugin to use with the component BOX. It allows you to add
   * a refresh button to the box. It converts the box's state to a loading state.
   *
   * @type plugin
   * @usage $("#box-widget").boxRefresh( options );
   */
  
  (function() {
    (function($) {
      $.fn.boxRefresh = function(options) {
        var done, overlay, settings, start;
        settings = $.extend({
          trigger: '.refresh-btn',
          source: '',
          onLoadStart: function(box) {},
          onLoadDone: function(box) {}
        }, options);
        overlay = $('<div class="overlay"><div class="ui active centered large inline loader"></div></div>');
        start = function(box) {
          box.append(overlay);
          settings.onLoadStart.call(box);
        };
        done = function(box) {
          box.find(overlay).remove();
          settings.onLoadDone.call(box);
        };
        return this.each(function() {
          var box, rBtn;
          if (settings.source === '') {
            if (console) {
              console.log('Please specify a source first - boxRefresh()');
            }
            return;
          }
          box = $(this);
          rBtn = box.find(settings.trigger).first();
          rBtn.on('click', function(e) {
            e.preventDefault();
            start(box);
            box.find('.box-body').load(settings.source, function() {
              done(box);
            });
          });
        });
      };
    })(jQuery);
  
  }).call(this);
  
  //# sourceMappingURL=coffee-sourcemaps/boxRefresh.js.map
  