Advertisement
teshiron

Twinkle block override

Jun 19th, 2015
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. window.addEventListener("load", function() {
  2.     Twinkle.block.blockGroups = [
  3.         {
  4.             label: 'Group label'
  5.             list: [
  6.                 { label: 'description of preset #1', value: 'preset_1' }
  7.                 { label: 'description of preset #2', value: 'preset_2' }
  8.             ]
  9.         },
  10.         {
  11.             //...another group...
  12.         }
  13.     ];
  14. }, false);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement