Created
January 7, 2013 14:04
-
-
Save fiveisprime/4475215 to your computer and use it in GitHub Desktop.
Base meerkat widget boilerplate.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (function($) { | |
| 'Use Strict'; | |
| var kendo = window.kendo | |
| , ui = kendo.ui | |
| , Widget = ui.Widget; | |
| var widgetName = Widget.extend({ | |
| init: function(element, options) { | |
| this.el = $(element); | |
| Widget.fn.init.call(this, element, options); | |
| }, | |
| options: { | |
| name: 'role-name', | |
| readOnly: false, | |
| confirmation: true, | |
| factory: '', | |
| actions: [] | |
| } | |
| }); | |
| ui.plugin(widgetName); | |
| })(jQuery); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment