static/js/browser.js
Function controller
has 79 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
app.controller = function() {
this.plugins = [];
this.enabledPlugins = {};
for (var prop in c.plugins) {
if (c.plugins.hasOwnProperty(prop)) {
Function view
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
app.view = function(ctrl) {
return m('div.content', [
m('div.choices', [
m('h3', 'Optionally disable some plugins'),
ctrl.plugins.map(function(n) {
Function start
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
this.start = function() {
var user = this.username();
m.startComputation();
ctrl.loading = true;
ctrl.loadingText = ctrl.getLoadingText();