Skip to content

Instantly share code, notes, and snippets.

@dima117
dima117 / wi.js
Last active September 23, 2015 19:59 — forked from GorosVi/wi.js
Widget test
define(['lib'], function (lib) {
var PresetWidgetView = lib.marionette.ItemView.extend({
template: lib.handlebars.compile(
'{{displayName}}' +
'<div class="btn-group-justified nooui-btngroup">' +
'<a href="#" class="btn btn-default nooui-button js-btn-on"> On </a>' +
'<a href="#" class="btn btn-default nooui-button js-btn-off"> Off </a>' +
'</div>'),
className: 'nooui-widget',