mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-02 03:55:55 +01:00
Merge branch 'master' into styleguide
This commit is contained in:
@@ -1,7 +1,14 @@
|
||||
'use strict';
|
||||
|
||||
(function (exports) {
|
||||
var helpers = {};
|
||||
'use strict';
|
||||
|
||||
/* globals define, utils, config */
|
||||
|
||||
// export the class if we are in a Node-like system.
|
||||
if (typeof module === 'object' && module.exports === exports) {
|
||||
exports = module.exports/* = SemVer*/;
|
||||
}
|
||||
|
||||
var helpers = exports;
|
||||
|
||||
helpers.displayMenuItem = function (data, index) {
|
||||
var item = data.navigation[index];
|
||||
|
||||
Reference in New Issue
Block a user