// Generated by CoffeeScript 1.10.0
(function() {
    var _sync;

    arcs.baseURL = "/"+BASE_URL;


    if (arcs.mode > 0) {
        arcs.dev = {};
        arcs.dev.reload = false;
        arcs.dev.reloadAt = 2000;
        _sync = Backbone.sync;
        Backbone.sync = function(method, model, options) {
            arcs.log('Backbone.sync:', method, model, options);
            return _sync(method, model, options);
        };
        arcs.dev.reloadStylesheets = function() {
            var query;
            query = '?reload=' + new Date().getTime();
            return $('link[rel="stylesheet"]').each(function() {
                return this.href = this.href.replace(/\?.*|$/, query);
            });
        };
        if (arcs.dev.reload) {
            setInterval(arcs.dev.reloadStylesheets, arcs.dev.reloadAt);
        }
    }

    arcs.pagesSid = '738';

}).call(this);
