You are on page 1of 2

var user = require('.

/controllers/user');
var script = require('./controllers/script');
var flag = require('./controllers/flag');
var vote = require('./controllers/vote');
var discussion = require('./controllers/discussion');
var issue = require('./controllers/issue');
var scriptStorage = require('./controllers/scriptStorage');
controllers/scriptStorage.js
Showing the top four matches Last indexed 11 days ago
JavaScript
var colors = require('ansi-colors');

//--- Model inclusions


var Script = require('../models/script').Script;
var Discussion = require('../models/discussion').Discussion;

//--- Controller inclusions

//--- Library inclusions


// var scriptStorageLib = require('../libs/scriptStorage');
app.js
Showing the top two matches Last indexed 15 days ago
JavaScript
dbOptions = {
poolSize: defaultPoolSize,
reconnectTries: 30,
reconnectInterval: 1000,
family: 4,
reconnectInterval: 1000,
family: 4,

libs/modelParser.js
Showing the top seven matches Last indexed 11 days ago
JavaScript
var useragent = require('useragent');

//--- Model inclusions


var Script = require('../models/script').Script;

//--- Controller inclusions


if (new Date().getTime() > (group.updated.getTime() + (isPro ? 1000 * 60 * 60 * 2
: 1000 * 60))) {
Script.find({
_id: { $in: group._scriptIds }
controllers/document.js
Showing the top three matches Last indexed on 26 Jun 2018
JavaScript
// Calculate when the server was last restarted
then = new Date(Date.now() - parseInt(process.uptime() * 1000, 10));
options.lockdown.scriptStorageRO = process.env.READ_ONLY_SCRIPT_STORAGE ===
'true';
options.lockdown.updateURLCheck = process.env.FORCE_BUSY_UPDATEURL_CHECK ===
'true';
libs/helpers.js
Showing the top two matches Last indexed on 10 Apr
JavaScript
'Apr',
'May',
'Jun',
'Jul',
'Aug',
'Sep',
'Oct',
'Nov',
'Dec'
];
var second = 1000;
var minute = second * 60;
// Clean filenames but leave them readable
// Based on Greasemonkey modules/remoteScript.js
// NOTE: Keep in sync with client side JavaScript

You might also like