Skip to content

Instantly share code, notes, and snippets.

@brianjmiller
Created November 19, 2010 16:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save brianjmiller/706770 to your computer and use it in GitHub Desktop.
Save brianjmiller/706770 to your computer and use it in GitHub Desktop.
YUI.add(
"lw-table_wrapper",
function(Y) {
var Clazz = Y.namespace("LW").TableWrapper = Y.Base.create(
"lw_table_wrapper",
Y.Base,
[],
{
_data_table: null,
initializer: function (config) {
Y.log(Clazz.NAME + "::initializer");
this._data_table = new Y.YUI2.widget....
},
destructor: function () {
Y.log(Clazz.NAME + "::destructor");
this._data_table = null;
}
},
{
ATTRS: {}
}
);
},
"0.0.1",
{
requires: [
"yui2-datatable"
]
}
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment