SOURCE CODE: UizeSite.Widgets.SiteNav.VisualSampler

VIEW REFERENCE

/*______________
|       ______  |   U I Z E    J A V A S C R I P T    F R A M E W O R K
|     /      /  |   ---------------------------------------------------
|    /    O /   |    MODULE : UizeSite.Widgets.SiteNav.VisualSampler Class
|   /    / /    |
|  /    / /  /| |    ONLINE : http://uize.com
| /____/ /__/_| | COPYRIGHT : (c)2013-2014 UIZE
|          /___ |   LICENSE : Available under MIT License or GNU General Public License
|_______________|             http://uize.com/license.html
*/

/* Module Meta Data
  type: Class
  importance: 1
  codeCompleteness: 5
  docCompleteness: 100
*/

/*?
  Introduction
    The =UizeSite.Widgets.SiteNav.VisualSampler= class implements a visual sampler widget for the =UizeSite.Widgets.SiteNav.Widget= class.

    *DEVELOPERS:* `Chris van Rensburg`
*/

Uize.module ({
  name:'UizeSite.Widgets.SiteNav.VisualSampler',
  superclass:'Uize.Widgets.VisualSampler.Widget',
  required:'UizeSite.Widgets.SiteNav.Widget',
  builder:function (_superclass) {
    'use strict';

    return _superclass.subclass ({
      omegastructor:function () {
        this.addSample ({
        });
      },

      set:{
        samplerWidgetClass:UizeSite.Widgets.SiteNav.Widget
      }
    });
  }
});