Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
gberaudo committed Mar 4, 2016
1 parent ecfe642 commit 94e26a8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
13 changes: 7 additions & 6 deletions config/jsdoc/info/publish.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,12 +69,13 @@ exports.publish = function(data, opts) {
types: ['{}']
});
} else {
var typedef = typedefs[typedefs.length - 1];
var type = typedef.types[0];
typedef.types[0] = type
.replace(/\}$/, ', ' + doc.longname.split('#')[1] +
': (' + getTypes(doc.type.names).join('|') + ')}')
.replace('{, ', '{');
// Nothing to do!
// var typedef = typedefs[typedefs.length - 1];
// var type = typedef.types[0];
// typedef.types[0] = type
// .replace(/\}$/, ', ' + doc.longname.split('#')[1] +
// ': (' + getTypes(doc.type.names).join('|') + ')}')
// .replace('{, ', '{');
}
} else if (doc.define) {
defines.push({
Expand Down
1 change: 1 addition & 0 deletions config/ol.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"extra_annotation_name": [
"api", "observable"
],
"new_type_inf": true,
"compilation_level": "ADVANCED",
"warning_level": "VERBOSE",
"use_types_for_optimization": true,
Expand Down

0 comments on commit 94e26a8

Please sign in to comment.