Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
// resolve by ns
require('ns');
basis.require('ns.basisrequire');
require('ns.require');
basis.require('ns:ns-basisrequire.js');
require('ns:ns-require.js');
basis.resource('ns:basisresource.js');
resource('ns:resource.js');
basis.asset('ns:basis-asset.json');
asset('ns:asset.json');
l10n.dictionary('ns:dictionary.l10n');
// unknown ns
require('unknownns');
basis.require('unknownns.basisrequire');
require('unknownns.require');
basis.require('unknownns:ns-basisrequire.js');
require('unknownns:ns-require.js');
basis.resource('unknownns:basisresource.js');
resource('unknownns:resource.js');
basis.asset('unknownns:basis-asset.json');
asset('unknownns:asset.json');
l10n.dictionary('unknownns:dictionary.l10n');
var l10n = require('basis.l10n');
var template = require('basis.template');
basis.require('app.basisrequire');
require('app.require');
basis.require('./root/require.js');
basis.resource('./root/resource.js');
basis.asset('./root/asset.js');
require('./require.js');
resource('./resource.js');
l10n.dictionary('./root/explicit.l10n');
l10n.dictionary('./root/implicit.js');
l10n.dictionary(__dirname + '/explicit.l10n');
l10n.dictionary(__dirname + '/implicit.js');
l10n.dictionary(__filename);
// resolve by ns
require('ns');
basis.require('ns.basisrequire');
require('ns.require');
// unknown ns
require('unknownns');
basis.require('unknownns.basisrequire');
require('unknownns.require');
// templates
resource('./template/rel.tmpl');
var l10n = require('basis.l10n');
var template = require('basis.template');
basis.require('app.basisrequire');
require('app.require');
basis.require('./root/require.js');
basis.resource('./root/resource.js');
basis.asset('./root/asset.js');
require('./require.js');
resource('./resource.js');
asset('./asset.js');
l10n.dictionary('./root/explicit.l10n');
l10n.dictionary('./root/implicit.js');
l10n.dictionary(__dirname + '/explicit.l10n');
l10n.dictionary(__dirname + '/implicit.js');
var dict = l10n.dictionary(__filename);
dict.token('test');
// resolve by ns
require('ns');
basis.require('ns.basisrequire');
require('ns.require');
basis.require('ns:ns-basisrequire.js');
require('ns:ns-require.js');
basis.resource('ns:basisresource.js');
resource('ns:resource.js');
basis.require('app.basisrequire');
require('app.require');
basis.require('./root/require.js');
basis.resource('./root/resource.js');
basis.asset('./root/asset.js');
require('./require.js');
resource('./resource.js');
asset('./asset.js');
l10n.dictionary('./root/explicit.l10n');
l10n.dictionary('./root/implicit.js');
l10n.dictionary(__dirname + '/explicit.l10n');
l10n.dictionary(__dirname + '/implicit.js');
var dict = l10n.dictionary(__filename);
dict.token('test');
// resolve by ns
require('ns');
basis.require('ns.basisrequire');
require('ns.require');
basis.require('ns:ns-basisrequire.js');
require('ns:ns-require.js');
basis.resource('ns:basisresource.js');
resource('ns:resource.js');
basis.asset('ns:basis-asset.json');
asset('ns:asset.json');
var l10n = require('basis.l10n');
var template = require('basis.template');
basis.require('app.basisrequire');
require('app.require');
basis.require('./root/require.js');
basis.resource('./root/resource.js');
basis.asset('./root/asset.js');
require('./require.js');
resource('./resource.js');
l10n.dictionary('./root/explicit.l10n');
l10n.dictionary('./root/implicit.js');
l10n.dictionary(__dirname + '/explicit.l10n');
l10n.dictionary(__dirname + '/implicit.js');
l10n.dictionary(__filename);
// resolve by ns
require('ns');
basis.require('ns.basisrequire');
require('ns.require');
// unknown ns
require('unknownns');
basis.require('unknownns.basisrequire');
require('unknownns.require');
// templates
resource('./template/rel.tmpl');
var l10n = require('basis.l10n');
var template = require('basis.template');
basis.require('app.basisrequire');
require('app.require');
basis.require('./root/require.js');
basis.resource('./root/resource.js');
basis.asset('./root/asset.js');
require('./require.js');
resource('./resource.js');
asset('./asset.js');
l10n.dictionary('./root/explicit.l10n');
l10n.dictionary('./root/implicit.js');
l10n.dictionary(__dirname + '/explicit.l10n');
l10n.dictionary(__dirname + '/implicit.js');
var dict = l10n.dictionary(__filename);
dict.token('test');
// resolve by ns
require('ns');
basis.require('ns.basisrequire');
require('ns.require');
basis.require('ns:ns-basisrequire.js');
require('ns:ns-require.js');
basis.resource('ns:basisresource.js');
resource('ns:resource.js');
var YEAR = 'year';
var MONTH = 'month';
var DAY = 'day';
var HOUR = 'hour';
var FORWARD = true;
var BACKWARD = false;
var monthNumToRef = dateUtils.monthNumToAbbr;
//
// definitions
//
var dict = require('basis.l10n').dictionary(__filename);
var templates = require('basis.template').define(namespace, {
Calendar: resource('./templates/calendar/Calendar.tmpl'),
Section: resource('./templates/calendar/Section.tmpl'),
SectionMonth: resource('./templates/calendar/SectionMonth.tmpl'),
Node: resource('./templates/calendar/Node.tmpl')
});
//
// Tools
//
function unpackDate(date){
return {
hour: date.getHours(),
day: date.getDate() - 1,
var Class = basis.Class;
var arrayFrom = basis.array.from;
var DOM = require('basis.dom');
var cssom = require('basis.cssom');
var createEvent = require('basis.event').create;
var Node = require('basis.ui').Node;
var ButtonPanel = require('basis.ui.button').ButtonPanel;
var MoveableElement = require('basis.dragdrop').MoveableElement;
//
// definitions
//
var dict = require('basis.l10n').dictionary(__filename);
var templates = require('basis.template').define(namespace, {
Blocker: resource('./templates/window/Blocker.tmpl'),
Window: resource('./templates/window/Window.tmpl'),
TitleButton: resource('./templates/window/TitleButton.tmpl'),
ButtonPanel: resource('./templates/window/ButtonPanel.tmpl'),
windowManager: resource('./templates/window/windowManager.tmpl')
});
//
// main part
//
/**
* @class
var Node = require('basis.ui').Node;
var Value = require('basis.data').Value;
var sum = require('basis.data.index').sum;
var dict = require('basis.l10n').dictionary(__filename);
var Table = require('app.ui').Table;
var TableHead = require('app.ui.table').Head;
var TableRow = require('app.ui.table').Row;
var FileSizeCell = require('app.ui.cells').FileSize;
module.exports = Table.subclass({
dataSource: Value.query('data.profile.data.modules'),
sorting: 'data.index',
childClass: TableRow.subclass({
template: resource('./template/row.tmpl'),
binding: {
id: 'data:index',
name: 'data:',
fileSizeCell: 'satellite:'
},
var Node = require('basis.ui').Node;
var Value = require('basis.data').Value;
var sum = require('basis.data.index').sum;
var dict = require('basis.l10n').dictionary(__filename);
var type = require('app.type');
var Table = require('../table/index');
var TableHead = require('app.ui.table').Head;
var TableRow = require('app.ui.table').Row;
var FileSizeCell = require('app.ui.cells').FileSize;
module.exports = Table.subclass({
tableId: 'AssetTable',
sorting: 'data.name',
dataSource: type.Asset.all,
childClass: TableRow.subclass({
template: resource('./template/row.tmpl'),
binding: {
name: 'data:',
fileSizeCell: 'satellite:'