SOURCE CODE: UizeSite.WidgetToGoPage.Calculator (view docs)

/*______________
|       ______  |   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.WidgetToGoPage.Calculator
|   /    / /    |
|  /    / /  /| |    ONLINE : http://uize.com
| /____/ /__/_| | COPYRIGHT : (c)2013-2016 UIZE
|          /___ |   LICENSE : Available under MIT License or GNU General Public License
|_______________|             http://uize.com/license.html
*/

/*?
  Introduction
    A subclass of =UizeSite.WidgetToGoPage= that defines the page widget class for the calculator widget-to-go.

    *DEVELOPERS:* `Chris van Rensburg`
*/

Uize.module ({
  name:'UizeSite.WidgetToGoPage.Calculator',
  required:[
    'Uize.Widget.Calculator',
    'Uize.Templates.Calculator'
  ],
  builder:function (_superclass) {
    'use strict';

    return _superclass.subclass ({
      set:{
        widgetToGoClass:'Uize.Widget.Calculator',
        widgetToGoHtml:'Uize.Templates.Calculator'
      }
    });
  }
});