Skip to content

Instantly share code, notes, and snippets.

@lgoldstien
Created June 12, 2014 11:57
Show Gist options
  • Save lgoldstien/95c29a9661d027c96dcd to your computer and use it in GitHub Desktop.
Save lgoldstien/95c29a9661d027c96dcd to your computer and use it in GitHub Desktop.
/***
* Base editor - From which all of our slickgrid editors are derived
* @module Editors
* @namespace Slick
*/
(function ($) {
function BaseEditor() {}
BaseEditor.prototype.init = function ()
BaseEditor.prototype.destroy = function ()
BaseEditor.prototype.focus = function ()
BaseEditor.prototype.serializeValue = function ()
BaseEditor.prototype.applyValue = function (item, state)
BaseEditor.prototype.loadValue = function (item)
BaseEditor.prototype.isValueChanged = function ()
BaseEditor.prototype.validate = function ()
/** Create the Slick.Editors object if it does not exist */
if (!window.Slick.Editors)
window.Slick.Editors = {};
/** Extend the Slick.Editors */
$.extend(true, window.Slick.Editors, {
"Base": BaseEditor
});
})(jQuery);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment