<commit_before>var data = require("sdk/self").data;
var pageMod = require("sdk/page-mod");

var calculate = widgets.Widget({
  id: "calc",
  width: 72,
  label: "Player",
  contentURL: data.url("buttons.html"),
  contentScriptFile: data.url("calc.js")
});<commit_msg>Update widget definition<commit_after>const data = require("sdk/self").data;
const widgets = require("sdk/widget");

var togglcalc = widgets.Widget({
  id: "togglcalc",
  width: 20,
  label: "Convert to Hours",
  contentURL: data.url("time.png"),
  contentScriptFile: data.url("calc.js")
});
{'fraction_non_alphanumeric': 0.18100358422939067, 'fraction_numerical': 0.007168458781362007, 'mean_word_length': 5.3522727272727275, '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': '2911870', 'n_tokens_mistral': 195, 'n_tokens_neox': 190, 'n_words': 42}