<commit_before>require.config({
  baseUrl: 'src/js',
  paths: {
    jquery: '//code.jquery.com/jquery-2.1.4',
    bootstrap: '//netdna.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap',
    jui : ''
  },
  shim: {
    bootstrap: ['jquery']
  },
  packages: [{
    name: 'summernote',
    main: 'summernote',
    location: './'
  }]
});

require([
  'jquery',
  'summernote',
  'summernote/lite/settings',
  'summernote/jui/settings',
  'summernote/bs3/settings'
], function ($, summernote, lite, jui, bs3) {
  // editor type setting
  switch ($('script[data-editor-type]').data('editor-type')) {
    case 'lite':
      $.summernote = $.extend($.summernote, lite);
      break;
    case 'jui':
      $.summernote = $.extend($.summernote, jui);
      break;
    case 'bs3':
      $.summernote = $.extend($.summernote, bs3);
      break;
  }

  // initialize summernote
  $('.summernote').summernote({
    height: 300
  });
});<commit_msg>Rollback #3c0d567 for developing bootstrap version.<commit_after>require.config({
  baseUrl: 'src/js',
  paths: {
    jquery: '//code.jquery.com/jquery-2.1.4',
    bootstrap: '//netdna.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap'
  },
  shim: {
    bootstrap: ['jquery']
  },
  packages: [{
    name: 'summernote',
    main: 'summernote',
    location: './'
  }]
});

require([
  'jquery',
  'bootstrap',
  'summernote',
  'summernote/lite/settings',
  'summernote/bs3/settings'
], function ($, bootstrap, summernote, lite, bs3) {
  // editor type setting
  switch ($('script[data-editor-type]').data('editor-type')) {
    case 'lite':
      $.summernote = $.extend($.summernote, lite);
      break;
    case 'bs3':
      $.summernote = $.extend($.summernote, bs3);
      break;
  }

  // initialize summernote
  $('.summernote').summernote({
    height: 300
  });
});
{'fraction_non_alphanumeric': 0.2002218524681087, 'fraction_numerical': 0.017193566278424846, 'mean_word_length': 2.938864628820961, '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': '451940', 'n_tokens_mistral': 691, 'n_tokens_neox': 642, 'n_words': 112}