<commit_before>'use strict';

var vdom = module.exports = {
  diff:   require('virtual-dom/diff'),
  patch:  require('virtual-dom/patch'),
  create: require('virtual-dom/create-element'),
  html:   require('virtual-dom/h'),
  svg:    require('virtual-dom/virtual-hyperscript/svg'),
  thunk:  require('vdom-thunk'),
  main:   require('./main')
}

// conventional abbreviations
vdom.h = vdom.html;  
vdom.s = vdom.svg;
<commit_msg>vdom: method aliasing<commit_after>'use strict';

var vdom = module.exports = {
  diff:   require('virtual-dom/diff'),
  patch:  require('virtual-dom/patch'),
  create: require('virtual-dom/create-element'),
  html:   require('virtual-dom/h'),
  svg:    require('virtual-dom/virtual-hyperscript/svg'),
  thunk:  require('vdom-thunk'),
  main:   require('./main')
}

// conventional abbreviations
vdom.h = function h(){ return vdom.html.apply(vdom.html, arguments); }  
vdom.s = function s(){ return vdom.svg.apply(vdom.svg, arguments); }

{'fraction_non_alphanumeric': 0.1809720785935884, 'fraction_numerical': 0.0, 'mean_word_length': 4.232432432432432, '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': '6381947', 'n_tokens_mistral': 340, 'n_tokens_neox': 331, 'n_words': 60}