UNPKG

764 BJavaScriptView Raw
1/**
2 * @license
3 * MOST Web Framework 2.0 Codename Blueshift
4 * Copyright (c) 2017, THEMOST LP All rights reserved
5 *
6 * Use of this source code is governed by an BSD-3-Clause license that can be
7 * found in the LICENSE file at https://themost.io/license
8 */
9var LangUtils = require('@themost/common/utils').LangUtils;
10var HttpController = require('../mvc').HttpController;
11/**
12 * @classdesc HttpBaseController class describes a base controller.
13 * @class
14 * @constructor
15 * @param {HttpContext} context
16 * @augments HttpController
17 */
18function HttpBaseController(context) {
19 HttpBaseController.super_.bind(this)(context);
20}
21LangUtils.inherits(HttpBaseController, HttpController);
22
23if (typeof module !== 'undefined') {
24 module.exports = HttpBaseController;
25}
\No newline at end of file