Can't Repro
Status Update
Comments
ch...@theisolationist.com <ch...@theisolationist.com> #2
I've just tried a simple workaround whereby I return the types contained within the library inside an object via a bootstrap call. That doesn't work - no error message but the debugger drops out when stepping over code that references the types.
jk...@google.com <jk...@google.com> #3
Please share a spreadsheet that shows what you'd like to be able to do with libraries. You can share it with me at jkleinert AT google.com
ch...@theisolationist.com <ch...@theisolationist.com> #4
I've just shared a couple of spreadsheets with you.
gk...@google.com <gk...@google.com> #5
We have recently applied fixes adding the ability to step into library functions. If you still have an issue, please open a new report. Thank you.
ry...@google.com <ry...@google.com> #6
Unassigning
Description
The addition of support for libraries is fantastic however its utility is limited by the fact that only Functions are exported.
Is it possible to add the capability to export Types and Functions through the libraries?
Notes:
The libraries that I have built are based on the simple js inheritance model created by John Resig (
DataStore = Class.extend({
init: function( name, ss ) {
this.ss = ss;
this.tables = [];
this._createTables( ss.getSheets().map( function(sheet) { return sheet.getName(); }));
this._initialiseTables();
});
MemberDataStore = DataStore.extend({
init: function() {
this._super( "Member", SpreadsheetApp.getActiveSpreadsheet() );
});
Happy to share a spreadsheet with more code in it.