'use strict';

import jQuery from 'jquery';
import lodash from 'lodash';
import Backbone from 'backbone';
import BackboneValidation from 'backbone-validation';
import BackboneRadio from 'backbone.radio';
import BackboneService from 'backbone.service';
import BackboneStorage from 'backbone.storage';
import BackboneSyphon from 'backbone.syphon';
import handlebarsHelpers from './helpers/handlebars';
import Marionette from 'backbone.marionette';
import 'backbone.stickit';
export { Route,  Router } from 'backbone-routing';

export * from './mvc/collection';
export * from './helpers/currency';
export * from './helpers/localStorage';
export * from './helpers/translate';
export * from './helpers/visibility';

if (window.__agent) {
  window.__agent.start(Backbone, Marionette);
}

handlebarsHelpers();

export const $ = jQuery;
export const _ = lodash;
export const Service = BackboneService;
export const Storage = BackboneStorage;
export const Radio = BackboneRadio;
export const Syphon = BackboneSyphon;
export const Validation = BackboneValidation;
export const Model = Backbone.Model;
export const Sync = Backbone.Sync;
export const history = Backbone.history;
export const History = Backbone.History;
export const Application = Marionette.Application;
export const View = Marionette.View;
export const CollectionView = Marionette.CollectionView;
export const CompositeView = Marionette.CompositeView;
export const Region = Marionette.Region;
export const Behavior = Marionette.Behavior;

@@ -1,8 +1,27 @@
+/* jshint -W079 */%0A
 'use str

Fix lint issues