eslint (additional rules)

This commit is contained in:
RainLoop Team 2016-06-30 03:02:45 +03:00
parent 77a1d3f3df
commit 8e8a041032
150 changed files with 21911 additions and 23106 deletions

View file

@ -1,32 +1,25 @@
(function () {
var
_ = require('_'),
'use strict';
AbstractScreen = require('Knoin/AbstractScreen');
var
_ = require('_'),
/**
* @constructor
* @extends AbstractScreen
*/
function AboutUserScreen()
{
AbstractScreen.call(this, 'about', [
require('View/User/About')
]);
}
AbstractScreen = require('Knoin/AbstractScreen')
;
_.extend(AboutUserScreen.prototype, AbstractScreen.prototype);
/**
* @constructor
* @extends AbstractScreen
*/
function AboutUserScreen()
{
AbstractScreen.call(this, 'about', [
require('View/User/About')
]);
}
AboutUserScreen.prototype.onShow = function()
{
require('App/User').default.setWindowTitle('RainLoop');
};
_.extend(AboutUserScreen.prototype, AbstractScreen.prototype);
AboutUserScreen.prototype.onShow = function ()
{
require('App/User').default.setWindowTitle('RainLoop');
};
module.exports = AboutUserScreen;
}());
module.exports = AboutUserScreen;