1 |
|
2 |
|
3 | var jsrefCommon = require('./JavaScriptReference.common.js');
|
4 |
|
5 | exports.transform = function (model) {
|
6 | model = jsrefCommon.transform(model);
|
7 | if (model.type.toLowerCase() === "enum") {
|
8 | model.isClass = false;
|
9 | model.isEnum = true;
|
10 | }
|
11 | model._disableToc = model._disableToc || !model._tocPath || (model._navPath === model._tocPath);
|
12 |
|
13 | return { item: model };
|
14 | }
|
15 |
|
16 | exports.getOptions = function (model) {
|
17 | return { "bookmarks": jsrefCommon.getBookmarks(model) };
|
18 | } |
\ | No newline at end of file |