<commit_before>#= require_self
#= require trix/utilities/dom
#= require trix/controllers/editor_controller
#= require trix/controllers/degraded_editor_controller

@Trix =
  ZERO_WIDTH_SPACE: "\u2060"

  isSupported: (config = {}) ->
    trixSupport = new BrowserSupport().getTrixSupport()

    switch config.mode ? "full"
      when "full"
        trixSupport.fullEditor
      when "degraded"
        trixSupport.degradedEditor
      else
        false
<commit_msg>Use a zero width space that mobile Safari can display<commit_after>#= require_self
#= require trix/utilities/dom
#= require trix/controllers/editor_controller
#= require trix/controllers/degraded_editor_controller

@Trix =
  ZERO_WIDTH_SPACE: "\uFEFF"

  isSupported: (config = {}) ->
    trixSupport = new BrowserSupport().getTrixSupport()

    switch config.mode ? "full"
      when "full"
        trixSupport.fullEditor
      when "degraded"
        trixSupport.degradedEditor
      else
        false

{'fraction_non_alphanumeric': 0.09690721649484536, 'fraction_numerical': 0.004123711340206186, 'mean_word_length': 3.4136363636363636, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '3463043', 'n_tokens_mistral': 309, 'n_tokens_neox': 303, 'n_words': 63}