in static/js/com/toc.js [67:80]
get: function (options) {
var that = this;
var selector = (options && typeof options.selector != 'undefined') ? options.selector : that.selector;
var scope = (options && typeof options.scope != 'undefined') ? options.scope : that.scope;
var sectMap, tocList;
sectMap = that.__getMap(selector, scope);
if (sectMap.length == 0) {
return [];
}
tocList = that.__getBranch(sectMap, sectMap[0].level, 0);
return tocList;
},