<commit_before>// ==========================================================================
// Project:   MySystem.NodePaletteView
// Copyright: ©2010 Concord Consortium 
// under the MIT License (see LICENSE file for more info)
// ==========================================================================
/*globals MySystem LinkIt SCUI Forms */

/** @class

  (Document Your View Here)

  @extends SC.View
*/
sc_require('core');

MySystem.NodePaletteView = SC.ListView.extend({ // Node Palette (left)
  layout: { top: 0, bottom: 0, left: 15 },
  // childViews: 'addDecorator addClay addHand addBulb transformationBadge linkColorChooser'.w(),
  contentBinding: 'MySystem.nodePaletteController.content',
  exampleView: MySystem.AddButtonView,
  rowHeight: 140
    
  /* Temporarily removed for Berkeley 0.1 release */
  // transformationBadge: MySystem.BadgeButtonView.design({
  //   layout: { left: 20, right: 10, top: 423, width: 100, height: 120 },
  //   classNames: ['transformation-badge'],
  //   image: sc_static('resources/lightbulb_tn.png'),
  //   title: ""
  // })
});
<commit_msg>bind to controller so it can proxy better<commit_after>// ==========================================================================
// Project:   MySystem.NodePaletteView
// Copyright: ©2010 Concord Consortium 
// under the MIT License (see LICENSE file for more info)
// ==========================================================================
/*globals MySystem LinkIt SCUI Forms */

/** @class

  (Document Your View Here)

  @extends SC.View
*/
sc_require('core');

MySystem.NodePaletteView = SC.ListView.extend({ // Node Palette (left)
  layout: { top: 0, bottom: 0, left: 15 },
  // childViews: 'addDecorator addClay addHand addBulb transformationBadge linkColorChooser'.w(),
  contentBinding: 'MySystem.nodePaletteController',
  exampleView: MySystem.AddButtonView,
  rowHeight: 140
    
  /* Temporarily removed for Berkeley 0.1 release */
  // transformationBadge: MySystem.BadgeButtonView.design({
  //   layout: { left: 20, right: 10, top: 423, width: 100, height: 120 },
  //   classNames: ['transformation-badge'],
  //   image: sc_static('resources/lightbulb_tn.png'),
  //   title: ""
  // })
});

{'fraction_non_alphanumeric': 0.25475113122171944, 'fraction_numerical': 0.023529411764705882, 'mean_word_length': 4.405867970660147, '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': '7041358', 'n_tokens_mistral': 696, 'n_tokens_neox': 611, 'n_words': 165}