<commit_before>require('lib/shim_bind');
var Handlebars = require('handlebars-runtime');

Handlebars.registerPartial('filterCategories',    require('shared/templates/_filter_categories'));
Handlebars.registerPartial('openHours',           require('shared/templates/_open_hours'));
Handlebars.registerPartial('queryRepresentation', require('templates/_query_representation'));

$(function() {
  window.FastClick.attach(document.body);
  require('lib/boot');
  var features = require('lib/features');
  Parse.serverURL = "http://api.link-sf.com";

  Parse.initialize(parseAppId, parseJSKey);

  require('routers/router').instance();
  Backbone.history.start();
});<commit_msg>stub ga when analytics script isn't loaded<commit_after>require('lib/shim_bind');
var Handlebars = require('handlebars-runtime');

Handlebars.registerPartial('filterCategories',    require('shared/templates/_filter_categories'));
Handlebars.registerPartial('openHours',           require('shared/templates/_open_hours'));
Handlebars.registerPartial('queryRepresentation', require('templates/_query_representation'));

if ( typeof ga === 'undefined' ) {
  window.ga = function(){};
}

$(function() {
  window.FastClick.attach(document.body);
  require('lib/boot');
  var features = require('lib/features');
  Parse.serverURL = "http://api.link-sf.com";

  Parse.initialize(parseAppId, parseJSKey);

  require('routers/router').instance();
  Backbone.history.start();
});
{'fraction_non_alphanumeric': 0.16562716562716562, 'fraction_numerical': 0.0, 'mean_word_length': 6.64021164021164, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2040104', 'n_tokens_mistral': 410, 'n_tokens_neox': 399, 'n_words': 56}