text stringlengths 2 1.04M |
|---|
'use strict';
const Interaction = require('./Interaction');
const InteractionWebhook = require('./InteractionWebhook');
const InteractionResponses = require('./interfaces/InteractionResponses');
const Collection = require('../util/Collection');
const { ApplicationCommandOptionTypes } = require('../util/Constants');
/... |
const { readFileSync } = require("fs")
const [[numCases], ...lines] = readFileSync("/dev/stdin", "utf8")
.split('\n')
.map(line => line.split(' '))
const fitFromEnd = (target, tail) => target.slice((-1) * tail.length) === tail
function main() {
const responses = lines
.slice(0, +numCases)
.map(([a, b]) => fitF... |
import {
FETCH_FILTERED_TASK_START,
FETCH_FILTERED_TASK_ERROR,
FETCH_FILTERED_TASK_RESULTS,
FETCH_FILTERED_TASK_NEW_PAGE,
} from './constants';
/**
* Fetch task start
* @function fetchFilteredTaskStart
* @returns {Object} contains the type
*/
export function fetchFilteredTaskStart(filter) {
return {
... |
NaN &= ( Symbol . unscopables ) ; |
var Web_UserList = function(options) {
this.init(options);
};
Web_UserList.prototype = {
init: function(options) {
var that = this;
//设置初始参数
that.setOptions(options);
//初始化查询列表
that.initQueryParam();
//初始化Button的点击事件
var oButtonInit = that.buttonInit();
oButtonInit.Init();
//初始化Table
var userLi... |
module.exports = function help(channel) {
channel.send(
"**Elrond** - Lord of the Rings: The Card Game sage bot - List of commands\n" +
"!help - This help message\n" +
"!rings <query> - Find and display card text from RingsDB\n" +
"!ringsimg <query> - Find and display card image from RingsDB\n... |
import SceneInfoView from '../views/sceneInfoView.js';
import { NarrativeEvents } from '../aux/consts.js';
import { extractEntities } from '../aux/extractEntities.js';
const SceneInfoController = (narrative) => {
const sceneInfoView = SceneInfoView();
function init() {
sceneInfoView.resetFocusEvent.addListener(re... |
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var DataValidator_1 = require("./components/errors/DataValidator");
console.log("Achilles Setup");
var item = new DataValidator_1.DataValidator({ name: 'arn' }, { name: 'arn' });
// console.log("Item", item);
console.log("Testing equality", it... |
// @ts-check
/* global HTMLUListElement */
/* global location */
/* global self */
/**
* TodoFilters are the filters All, Active and Completed
*
* @export
* @class TodoFilters
*/
export default class TodoFilters extends HTMLUListElement {
constructor () {
super()
this.hashchangeListener = event => thi... |
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
function generateDict(str) {
let dict = new Map();
const lines = str.split("\r\n");
while (dict.size !== lines.length) {
lines: for (let line of lines) {
let [index, rule] = line.split(":");
if (dict... |
const profileModel = require('../models/profileModel');
const discussionModal = require('../models/discussionAndPostModel');
let discPostModel = require('../models/discussionAndPostModel');
exports.serveProfile = async (req, res) => {
let id = req.params.id;
let sessionId = req.session.userId;
let postCount, lik... |
function appQaView() {
/**
* Init editor for answer
*/
var editor = CKEDITOR.replace('answer-content', {
toolbar: [
[ 'Bold', 'Italic', 'Underline', 'Strike' ],
[ 'NumberedList', 'BulletedList', '-', 'Outdent', 'Indent', '-', 'Blockquote' ],
[ 'Undo', 'Redo... |
/**
* @param {number} n
* @return {string[][]}
*/
var solveNQueens = function(n) {
var res = [];
helper(n, 0, [], res);
return res;
};
var helper = function(n, row, columnForRow, res){
if(row === n){
var item = [];
for(var i = 0; i < n; i++){
var strRow = "";
... |
/**
* 获取客户端信息
*/
function isMobileDevice(){
var userAgentInfo = navigator.userAgent;
var Agents = new Array("Android", "iPhone", "SymbianOS", "Windows Phone", "iPad", "iPod");
var agentinfo = null;
for (var i = 0; i < Agents.length; i++) {
if (userAgentInfo.indexOf(Agents[i]) > 0) { return ... |
import { always, and, camelize, equals, isNil, join, ifElse, isEmpty, omit, or, pick, pipe, suffix, transform, transformArr } from '@yagni-js/yagni';
import { attrsToObj, stringifyObj } from './attr.js';
import { quotedText } from './text.js';
// FIXME do not use nodejs path module
// eslint-disable-next-line import/... |
import {getConfig, copyObject} from 'helptos';
import {randomInt} from 'random-tools';
import * as properties from './properties';
import {createName} from './name';
const config = getConfig('../config/door.json', __dirname);
const doorNames = getConfig('../config/names/door-names.json', __dirname);
const name = stat... |
/**
* Created by haruna on 8/7/17.
*/
import React, { Component } from 'react'
import { TextField } from 'material-ui'
import SubmitButton from './SubmitButton'
import { addFormRequest } from '../actions/index'
import { bindActionCreators, getState } from 'redux'
import { connect } from 'react-redux'
class NewCardA... |
class MyBranch extends CGFobject{
constructor(scene){
super(scene);
this.branch = new MyCylinder(scene,3,0.4,1);
}
display(){
this.scene.materialWood.apply();
this.branch.display();
}
} |
const Page = require('../VirtualGridListPage');
describe('Change ItemSize', function () {
beforeEach(function () {
Page.open();
});
it('should change minWidth and minHeight [GT-28445]', function () {
// Step 3: Knobs > VirtualGridList > ItemSize.minWidth > 800
Page.inputMinWidth.moveTo();
Page.spotlightSe... |
let express = require('express');
let app = express();
console.log(__dirname);
app.use(express.static('client'));
app.get('/ancestry', (req, res) =>
res.sendFile(`${__dirname}/materials/ancestry.json`));
app.get('/ancestry/:born', (req, res) =>
res.sendFile(`${__dirname}/materials/${req.param.born}.json`... |
const test = require('ava')
const AbstractSyntaxTree = require('../..')
const { negationOperatorRemoval } = require('../..')
test('negationOperatorRemoval', assert => {
var tree = new AbstractSyntaxTree('if (!(foo === bar)) { console.log("foo") }\n')
tree.replace(negationOperatorRemoval)
assert.deepEqual(tree.so... |
import {v4} from 'uuid'
import {Component} from 'react'
import Chess from 'chess.js'
import chess_sets from './chess-sets'
const steimberg = 155978933
class ChessBoard extends Component {
static version = '0.4.9'
static Modes = {
MODE_SETUP: 'MODE_SETUP',
MODE_ANALYSIS: 'MODE_ANALYSIS',
... |
//# sourceMappingURL=webpack-runtime-aed001d710f08446990b.js.map |
'use strict';
const fs = require('fs');
const path = require('path');
const YAML = require('yamljs');
const filenamify = require('filenamify');
const Column = require('./column.js');
const Task = require('./task.js');
const SpacewalkValidator = require('../schema/spacewalkValidator');
function translatePath(procedur... |
import { handleActions } from 'redux-actions';
import {
RESET_DFSP_JWS,
SET_DFSP_JWS_ERROR,
SET_DFSP_JWS_JWS_CERTIFICATE,
SET_DFSP_JWS_INTERMEDIATE_CHAIN,
SET_DFSP_JWS_JWS_CERTIFICATE_INFO,
SET_DFSP_JWS_INTERMEDIATE_CHAIN_INFO,
SET_DFSP_JWS_VALIDATIONS,
SET_DFSP_JWS_VALIDATION_STATE,
CHANGE_DFSP_JWS_J... |
module.exports = (members, categories) => {
//Create object such that { member1_category1: 0, member2_category1: 0 ... memberN_categoryN: 0}
let usersMessageFreqBlankObject = {};
for(const category of categories){
for (const member of members){
usersMessageFreqBlankObject[`${member}... |
/*
Copyright (c) 2018-2021 Qualcomm Technologies, Inc.
All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted (subject to the limitations in the
disclaimer below) provided that the following conditions are met:
* Redistributions of source code must retai... |
var $ = require("jquery"),
devices = require("core/devices"),
fx = require("animation/fx"),
renderer = require("core/renderer"),
viewPort = require("core/utils/view_port").value,
isRenderer = require("core/utils/type").isRenderer,
config = require("core/config"),
Submenu = require("ui/menu/u... |
const Category = require('./categoryModel');
const _ = require('lodash');
const logger = require('../../util/logger');
exports.param = (req, res, next, id) => {
Category.findById(id)
.exec()
.then((category) => {
if (!category) {
res.status(404);
res.json({
_message: `No categ... |
process.env.NODE_ENV = 'test';
var chai = require('chai');
var chaiHttp = require('chai-http');
var server = require('../app.js');
chai.use(chaiHttp);
describe('test demos.js', () => {
describe('test demos error', () => {
it('should return 500 error', (done) => {
chai.request(server)
.get(... |
var ReactiveArray,
extend = function(child, parent) {
for (var key in parent) {
if (hasProp.call(parent, key)) child[key] = parent[key];
}
function ctor() {
this.constructor = child;
}
ctor.prototype = parent.prototype;
child.prototype = new ctor();
child.__super__ = parent.pro... |
const _ = require('lodash');
/**
* Derive whether value is a number number or number as a string
* If value is a string, it'll determine whether the string is numeric
* Zero-padded number strings are not considered numeric
* @param {*} value
*/
function isNumeric(value) {
if (_.isNumber(value)) {
return tru... |
const nexe = require('nexe');
const path = require('path');
const packageJson = require('../package.json');
const baseOptions = {
build: true,
};
const build = {
win64: async (customOptions = {}) => {
const win64Options = {
target: `windows-x64-${process.versions.node}`,
output: path.join(process... |
define(function(){return function a(b){return typeof b==="function"&&typeof b.nodeType!=="number"}}); |
/*! JpegCamera 1.3.3 | 2020-05-22
(c) 2013 Adam Wrobel
https://amw.github.io/jpeg_camera */ |
self["webpackHotUpdate_N_E"]("webpack",{},
/******/ function(__webpack_require__) { // webpackRuntimeModules
/******/ "use strict";
/******/
/******/ /* webpack/runtime/getFullHash */
/******/ !function() {
/******/ __webpack_require__.h = function() { return "6a75dc37fcc36bf9d5d7"; }
/******/ }();
/******/
/******/... |
define('ace/mode/powershell', ['require', 'exports', 'module' , 'ace/lib/oop', 'ace/mode/text', 'ace/tokenizer', 'ace/mode/powershell_highlight_rules', 'ace/mode/matching_brace_outdent', 'ace/mode/behaviour/cstyle', 'ace/mode/folding/cstyle'], function(require, exports, module) {
var oop = require("../lib/oop");
var ... |
var jsPsychCategorizeAnimation = (function (jspsych) {
'use strict';
const info = {
name: "categorize-animation",
parameters: {
/** Array of paths to image files. */
stimuli: {
type: jspsych.ParameterType.IMAGE,
pretty_name: "Stimuli",
defau... |
const serviceTypes = state => state.services.map(service => service.title)
const contactMethods = state => Object.values(state.business).filter(business => business.icon)
export default {
serviceTypes,
contactMethods
} |
// Copyright (c) 2012 Ecma International. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
es5id: 15.2.3.6-4-325
description: >
Object.defineProperty - 'O' is an Arguments object, 'name' is own
property of [[ParameterMap]] of 'O', test 'name' is deleted if
... |
#!/usr/bin/env node
"use strict";
var cli = require(".");
// Parse and execute arguments
cli.execArgs(cli.parseArgs()); |
// External dependencies
import React from 'react';
import PropTypes from 'prop-types';
export default function UserLink({ user }) {
if (!user || !user._id) {
return <em>Unknown</em>;
}
const { _id, displayName, username } = user;
return (
<a href={`/admin/user?id=${_id}`} title="Show user report card... |
import React from 'react';
import ReactDOM from 'react-dom';
import './assets/indexBlack.css';
import App from './components/App/App';
import { Provider } from 'react-redux';
import store from './redux/store';
ReactDOM.render(
<Provider store={store}>
<App />
</Provider>,
document.getElementById('root')); |
export const dateToString = (_date) => {
if (!_date) return _date
const date = new Date(_date.replace(/T.*/g, ''))
return (date.getDate() + 1) + ' ' + [
'Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul',
'Aug', 'Sep', 'Oct', 'Nov', 'Dec'
][date.getMonth()] + ' ' + date.getFullYear()
} |
/**
* Serial chart module.
*/
import * as tslib_1 from "tslib";
/**
* ============================================================================
* IMPORTS
* ============================================================================
* @hidden
*/
import { Chart, ChartDataItem } from "../Chart";
import { ListTe... |
import './App.css';
import Todo from './components/Todo'
import React from 'react'
function App() {
return (
<div className="container">
<Todo />
</div>
);
}
export default App; |
const WAIT = {
opCode: 0x00,
size: 1,
parameters: ["int"],
action(context) {
}
}; |
exports.go = function(prefix, message, fs, config) {
if (message.content.startsWith(prefix + "prefix")) {
let newPrefix = message.content.split(" ").slice(1, 2)[0];
config.prefix = newPrefix;
fs.writeFile("./../config.json", JSON.stringify(config), (err) => console.error);
message.channel.send("Now y... |
// @flow
import type { BoxProps } from './Box';
import type { Color, Theme } from '../themes/types';
import Box from './Box';
import React from 'react';
import colorLib from 'color';
import isReactNative from '../../common/app/isReactNative';
// Universal styled Text component. The same API for browsers and React Nati... |
deepmacDetailCallback("000eee000000/24",[{"d":"2003-12-21","t":"add","a":"Pleimuiden 12e\nAmsterdam NH 1046 AG\n\n","c":"NETHERLANDS","o":"Muco Industrie BV","s":"wireshark.org"},{"d":"2015-08-27","t":"change","a":"Pleimuiden 12e Amsterdam NH NL 1046 AG","c":"NL","o":"Muco Industrie BV"}]); |
module.exports = {
web3: null
} |
let repoToUrlMap = new Map();
repoToUrlMap.set('angular', 'LimeChain/etherlime-shape-angular.git');
repoToUrlMap.set('react', 'LimeChain/etherlime-shape-react.git')
module.exports = { repoToUrlMap } |
/**
* Cesium - https://github.com/AnalyticalGraphicsInc/cesium
*
* Copyright 2011-2017 Cesium Contributors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/l... |
/*======= Fade Snackbar ======*/
import React from 'react';
import Button from '@material-ui/core/Button';
import Snackbar from '@material-ui/core/Snackbar';
import Fade from '@material-ui/core/Fade';
export default class FadeSnackbar extends React.Component {
state = {
open: false,
};
handleClick = ()... |
'use strict';
/**
* Base connector object.
*
* Provides properties and functions allow to get
* track info from a website.
*
* @constructor
*/
function BaseConnector() {
/**
* Selector of an element containing artist name.
*
* Only applies when default implementation of
* `BaseConnector.getArtist` is u... |
/**
* Copyright (c) Tiny Technologies, Inc. All rights reserved.
* Licensed under the LGPL or a commercial license.
* For LGPL see License.txt in the project root for license information.
* For commercial licenses see https://www.tiny.cloud/
*
* Version: 5.0.14 (2019-08-19)
*/
(function (domGlobals) {
'use s... |
process.env.NODE_ENV = "test";
process.env.CI = true;
var chalk = require("chalk");
const exec = require("child_process").exec;
var output = [];
function runCmd(cmd) {
return new Promise((resolve, reject) => {
const testProcess = exec(cmd, { stdio: [0, 1, 2] });
testProcess.stdout.on("data", msg => output.... |
const { Command } = require("klasa");
module.exports = class extends Command {
constructor(...args) {
super(...args, {
runIn: ["text"],
cooldown: 5,
permissionLevel: 4,
requiredPermissions: ["MANAGE_MESSAGES", "USE_EXTERNAL_EMOJIS"],
description:... |
/*
* Activiti Modeler component part of the Activiti project
* Copyright 2005-2014 Alfresco Software, Ltd. All rights reserved.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; ei... |
// -*- mode: js; indent-tabs-mode: nil; js-basic-offset: 4 -*-
//
// This file is part of Genie
//
// Copyright 2020 The Board of Trustees of the Leland Stanford Junior University
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
//... |
import { graphql, useStaticQuery } from 'gatsby';
export default function useDestinations() {
const { gcms = {} } = useStaticQuery( graphql`
query {
gcms {
destinations {
id
name
peakNumber
winter
location {
latitude
longitud... |
//! moment.js locale configuration
//! locale : Chinese (Macau) [zh-mo]
//! author : Ben : https://github.com/ben-lin
//! author : Chris Lam : https://github.com/hehachris
//! author : Tan Yuanhong : https://github.com/le0tan
import moment from '../moment';
export default moment.defineLocale('zh-mo', {
months: '一... |
class Particle{
constructor(x,y,radius){
var options={
restitution:0.4,
}
this.body = Bodies.circle(x,y,radius,options);
this.radius = radius;
this.color = color(random(0,255),random(0,255),random(0,255));
World.add(world,this.body);
}
display(){... |
import ComponentConstruct from '../../src/ComponentConstruct.js';
/*
* Testilaajennos, joka dekoroi kalenterin jokaisen solun komponentilla,
* johon renderöityy laajennoksen sisällön latauskerrat.
*/
class TestExtension {
constructor(calendarController) {
this.args = [...arguments];
this.calenda... |
angular.module('task_htmlmin').run(['$templateCache', function($templateCache) {
'use strict';
$templateCache.put('test/fixtures/two.html',
"<h2>Two</h2><textarea readonly>We are two.</textarea>"
);
}]); |
import React from "react"
import { Link } from "gatsby"
import Layout from "../components/layout"
import Image from "../components/image"
import SEO from "../components/seo"
const IndexPage = () => (
<Layout>
<SEO title="Home" keywords={[`gatsby`, `application`, `react`]} />
<h1>Hi people</h1>
<p>Welcom... |
export const BACKGROUND_COLOR = '#222838'
export const DEFAULT_COLOR = 'rgb(209, 212, 220)';
export const UP_COLOR = '#26a69a';
export const DOWN_COLOR = '#f44336'; |
(function (translator) {
translator.translations["jp"] = {
// javascript alerts or messages
"testneteditionactivated": "テストネット版が有効になりました。",
"paperlabelbitcoinaddress": "MillenniumClubアドレス",
"paperlabelprivatekey": "プライベートキー",
"paperlabelencryptedkey": "暗号化されたプライベートキー(パスワード必須)",
"bulkgeneratingaddresses": ... |
import { getMetadataArgsStorage } from "../../index";
/**
* JoinTable decorator is used in many-to-many relationship to specify owner side of relationship.
* Its also used to set a custom junction table's name, column names and referenced columns.
*/
export function JoinTable(options) {
return function (object, ... |
(function($, WITHEMES) {
"use strict";
var WITHEMES = WITHEMES || {};
/* Functions
--------------------------------------------------------------------------------------------- */
var isMobile = {
Android: function() {
return navigator.userAgent.match(/Android/i);
},
BlackBerry: function() {
... |
const quickdb = require('../../index.js'); // require('quickdb') for you
/* DOCS */
async function createDoc(){
const { success, results, error } = await quickdb.doc.create(
'sweetTemplate.html',
'<h1>Sweet Template Bro</h1>'
);
console.log(success);
console.log(results);
console.log(error);
}
cre... |
import React, { PureComponent } from 'react';
import PropTypes from 'prop-types';
import autobind from 'autobind-decorator';
import fs from 'fs';
import { clipboard, ipcRenderer, remote } from 'electron';
import { parse as urlParse } from 'url';
import HTTPSnippet from 'httpsnippet';
import ReactDOM from 'react-dom';
i... |
import { Code } from '@sparkpost/matchbox-icons';
export default {
name: 'componentExample',
title: 'Component Example',
type: 'object',
icon: Code,
fields: [
{
name: 'name',
title: 'Example Title',
type: 'string',
required: true
},
{
name: 'description',
title... |
/*/
* Created on 29.12.2018.
* Copyright(c) 2018 SAP SE
*/
/*global sap */
sap.ui.define([], function() {
'use strict';
// using this singleton is not thread safe. However, getUriFromODataSpy is used in one test only.
var sUri;
function injectODataDouble() {
sUri = '';
function extractEntityType(sUri) {
... |
const pkg = require('../package.json');
const fs = require('fs'),
recursive = require('recursive-readdir'),
browserify = require('browserify'),
path = require('path'),
babelify = require('babelify'),
watchVendor = require('watch');
require('dotenv').config();
const dir = process.env.JS_PATH,
d... |
import React, { Component } from 'react';
import PropTypes from 'prop-types';
import { observer, PropTypes as MobxPropTypes } from 'mobx-react';
import { defineMessages, intlShape } from 'react-intl';
import ReactTooltip from 'react-tooltip';
import { ProBadge, H1, H2 } from '@meetfranz/ui';
import moment from 'moment'... |
/*! ========================================================================
* Bootstrap Toggle: bootstrap-toggle.js v2.2.0
* http://www.bootstraptoggle.com
* ========================================================================
* Copyright 2014 Min Hur, The New York Times Company
* Licensed under MIT
* ... |
/**
* Created by Administrator on 2016/4/24.
*/
describe('your user name', function() {
it('should bind to input', function() {
browser.get('http://localhost:63342/learn-angular/demo-2/index.html');
var nameInput = element(by.model('name'));
var nameOutput = element(by.binding('name'));
... |
var searchData=
[
['sc16is740rk',['SC16IS740RK',['../index.html',1,'']]]
]; |
'use strict'
import { readFile, getDirsNames, saveDataToJSON } from '@utils/file'
export function processResults(path) {
const dirNames = getDirsNames(path)
const simulationResults = dirNames.map(name => {
const _path = `${path}/${name}/results.json`
return {
name: name,
... |
import React, { Component } from 'react';
import { withRouter } from 'react-router-dom';
import BottomNav from '../components/Nav/BottomNav/BottomNav';
import SignUpForm from '../components/Auth/SignUp/SignUpForm';
class SignUpPage extends Component {
render() {
return (
<div className="SignUpPage contain... |
module.exports = [
'weave.trait.locale.LocaleStateTrait',
'weave.trait.locale.LocaleAvailabilitySettingsTrait',
'weave.trait.locale.LocaleSettingsTrait',
'weave.trait.locale.LocaleCapabilitiesTrait',
'weave.trait.description.LabelSettingsTrait',
'weave.trait.description.DeviceIdentityTrait',
... |
const {splitLines} = require('./utils');
// Return value should be in form
// {part1, part2, duration}
function solve (input) {
let puzzle = parseInput(input);
return {part1: p1(puzzle), part2: p2(puzzle)};
}
function p1(puzzle) {
const start = new Date();
let state = [...puzzle];
for (let i = 0; i < 80; i... |
const CronJob = require('cron').CronJob;
//定义一个任务,1参数是任务的执行时机 2参数是任务定义
// * * * * * * 秒 分钟 小时 日期 月 星期
// * 代表任意值
// ,代表枚举值
// - 代表范围 20-30
// / 代表每隔多少一次
const job = new CronJob('*/10 * * * * *', function () {
console.log(new Date().toLocaleTimeString());
});
job.start();
setTimeout(()=>{
job.stop()
}, 11000) |
/** @license
*
* SoundManager 2: JavaScript Sound for the Web
* ----------------------------------------------
* http://schillmania.com/projects/soundmanager2/
*
* Copyright (c) 2007, Scott Schiller. All rights reserved.
* Code provided under the BSD License:
* http://schillmania.com/projects/soundmanager2/lice... |
mycallback( {"CONTRIBUTOR OCCUPATION": "Strategic Manager", "CONTRIBUTION AMOUNT (F3L Bundled)": "400.00", "ELECTION CODE": "", "MEMO CODE": "", "CONTRIBUTOR EMPLOYER": "ConocoPhillips Company", "DONOR CANDIDATE STATE": "", "CONTRIBUTOR STREET 1": "104 WATERFORD PL", "CONTRIBUTOR MIDDLE NAME": "M", "DONOR CANDIDATE FEC... |
gx.evt.autoSkip=!1;
gx.define("tbw04_crf",!1,function(){this.ServerClass="tbw04_crf";this.PackageName="";this.setObjectType("trn");this.setOnAjaxSessionTimeout("Warn");this.hasEnterEvent=true;this.skipOnEnter=false;this.SetStandaloneVars=function(){this.AV8Pgmname=gx.fn.getControlValue("vPGMNAME");this.Gx_mode=gx.fn.ge... |
/*
@licstart The following is the entire license notice for the
JavaScript code in this file.
Copyright (C) 1997-2019 by Dimitri van Heesch
This program is free software; you can redistribute it and/or modify
it under the terms of version 2 of the GNU General Public License as published by
the Free Software Foundati... |
const heading = {
fontFamily: 'heading',
fontWeight: 'heading',
lineHeight: 'heading',
}
export default {
colors: {
text: 'hsl(10, 20%, 20%)',
background: 'hsl(10, 10%, 98%)',
primary: 'hsl(10, 80%, 50%)',
secondary: 'hsl(10, 60%, 50%)',
highlight: 'hsl(10, 40%, 90%)',
purple: 'hsl(250,... |
'use strict';
const PostReplyTest = require('../post_reply_test');
class CodeErrorReplyTest extends PostReplyTest {
get description () {
return 'should be ok to reply to a code error';
}
getExpectedFields () {
const expectedFields = [...(super.getExpectedFields().post)];
const idx = expectedFields.findInde... |
import React from 'react';
import PropTypes from 'prop-types';
import { connect } from 'react-redux';
import { Link as RouterLink } from 'react-router';
import Helmet from 'react-helmet';
import globals from '../../Globals';
import { Heading } from '../UIKit/atoms';
import styles from './ErrorPage.scss';
export class... |
(function ($) {
'use strict';
var galleryDefaults = {
csrfToken: $('meta[name=csrf-token]').attr('content'),
csrfTokenName: $('meta[name=csrf-param]').attr('content'),
nameLabel: 'Name',
descriptionLabel: 'Description',
hasName: true,
hasDesc: false,
uploadUrl: '',
deleteUrl: '',
... |
/**
* @author Dr. Kibitz <info@drkibitz.com>
*/
'use strict';
module.exports = {
NORMAL: 0,
SCREEN: 1
}; |
System.register([], function(exports_1, context_1) {
"use strict";
var __moduleName = context_1 && context_1.id;
var Pelicula;
return {
setters:[],
execute: function() {
Pelicula = (function () {
function Pelicula(id, pelicula, director, anio) {
... |
module.exports =
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId])
/******/ ret... |
import Document, { Html, Head, Main, NextScript } from 'next/document'
class MyDocument extends Document {
static async getInitialProps(ctx) {
const initialProps = await Document.getInitialProps(ctx)
return { ...initialProps }
}
render() {
return (
<Html>
<Head>
<link rel="st... |
module.exports = function(grunt) {
'use strict';
var exec = require('child_process').exec,
fs = require('fs'),
gzip = require('zlib').gzip;
// ==========================================================================
// TASKS
// =================================================================... |
const merge = require('webpack-merge');
const MergeJsonWebpackPlugin = require('merge-jsons-webpack-plugin');
const common = require('./webpack.common.js');
module.exports = merge(common, {
mode : 'production',
plugins: [
new MergeJsonWebpackPlugin({
'file... |
import React from 'react'
import { Link, graphql } from 'gatsby'
import Header from '../components/Header'
const IndexPage = ({ data }) => {
const { edges } = data.allMarkdownRemark
return (
<div>
<Header />
<div
style={{
display: 'flex',
flexDirection: 'column',
... |
import { connect } from 'react-redux';
import {
selectContactFormEmailValid,
selectContactFormEmail,
updateContactFormEmail,
requestContactFormSubmit,
} from 'store/contact-form/contact-form';
import { FooterSiteMapLearnMoreInput } from './footer-site-map-learn-more-input';
const mapStateToProps = (state) => (... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.