<commit_before># Your snippets
#
# Atom snippets allow you to enter a simple prefix in the editor and hit tab to
# expand the prefix into a larger code block with templated values.
#
# You can create a new snippet in this file by typing "snip" and then hitting
# tab.
#
# An example CoffeeScript snippet to expand log to console.log:
#
# '.source.coffee':
#   'Console log':
#     'prefix': 'log'
#     'body': 'console.log $1'

'.source.js':
  'block-comment':
    'prefix': '/**'
    'body': '/*\n * $1\n */'
  'console-log':
    'prefix': 'cl'
    'body': 'console.log($1);'
  'describe':
    'prefix': 'describe'
    'body': 'describe(\'$1\', function() {\n  $2\n});'
  'it':
    'prefix': 'it'
    'body': 'it(\'should $1\', function() {\n  $2\n});'<commit_msg>Add requirejs define snippet to atom<commit_after># Your snippets
#
# Atom snippets allow you to enter a simple prefix in the editor and hit tab to
# expand the prefix into a larger code block with templated values.
#
# You can create a new snippet in this file by typing "snip" and then hitting
# tab.
#
# An example CoffeeScript snippet to expand log to console.log:
#
# '.source.coffee':
#   'Console log':
#     'prefix': 'log'
#     'body': 'console.log $1'

'.source.js':
  'block-comment':
    'prefix': '/**'
    'body': '/*\n * $1\n */'
  'console-log':
    'prefix': 'cl'
    'body': 'console.log($1);'
  'define':
    'prefix': 'define'
    'body': 'define([$1], function() {\n  \'use strict\';\n\n  $2\n});'
  'describe':
    'prefix': 'describe'
    'body': 'describe(\'$1\', function() {\n  $2\n});'
  'it':
    'prefix': 'it'
    'body': 'it(\'should $1\', function() {\n  $2\n});'
{'fraction_non_alphanumeric': 0.2009626955475331, 'fraction_numerical': 0.009626955475330927, 'mean_word_length': 3.1575, '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': '6783495', 'n_tokens_mistral': 612, 'n_tokens_neox': 597, 'n_words': 196}