<commit_before>'use strict';

var __ = require('underscore'),
    Backbone = require('backbone'),
    loadTemplate = require('../utils/loadTemplate'),
    remote = require('electron').remote,        
    BaseVw = require('./baseVw');

module.exports = BaseVw.extend({
  titlePrefix: 'OpenBazaar',

  events: {
    'click .js-navClose': 'navCloseClick',
    'click .js-navMin': 'navMinClick',
    'click .js-navMax': 'navMaxClick'    
  },

  initialize: function(options) {
    var style = localStorage.appBarStyle;

    this.options = options || {};
    this.currentWindow = remote.getCurrentWindow();
    this.title = this.titlePrefix;
    
    if (!style || ['mac', 'win'].indexOf(style) === -1) {
      style = remote.process.platform === 'win32' ? 'win' : 'mac';<commit_msg>making default app bar style to be mac<commit_after>'use strict';

var __ = require('underscore'),
    Backbone = require('backbone'),
    loadTemplate = require('../utils/loadTemplate'),
    remote = require('electron').remote,        
    BaseVw = require('./baseVw');

module.exports = BaseVw.extend({
  titlePrefix: 'OpenBazaar',

  events: {
    'click .js-navClose': 'navCloseClick',
    'click .js-navMin': 'navMinClick',
    'click .js-navMax': 'navMaxClick'    
  },

  initialize: function(options) {
    var style = localStorage.appBarStyle;

    this.options = options || {};
    this.currentWindow = remote.getCurrentWindow();
    this.title = this.titlePrefix;
    
    if (!style || ['mac', 'win'].indexOf(style) === -1) {
      style = remote.process.platform === 'darwin' ? 'mac' : 'win';
{'fraction_non_alphanumeric': 0.17424242424242425, 'fraction_numerical': 0.0025252525252525255, 'mean_word_length': 3.3543956043956045, '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': '1736663', 'n_tokens_mistral': 503, 'n_tokens_neox': 493, 'n_words': 100}