text stringlengths 3.22k 29.5k |
|---|
/* eslint-disable space-before-function-paren */
/* eslint-disable no-shadow */
/* eslint-disable comma-dangle */
/* eslint-disable import/no-unresolved */
/* eslint-disable import/extensions */
/* eslint-disable no-case-declarations */
import keymirror from 'keymirror'
import R from 'ramda'
import Immutable from 'imm... |
"use strict";
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
return new (P || (P = Promise))(function (resolve, reject) {
function fulfilled(value) { t... |
import "antd/es/notification/style";
import _notification from "antd/es/notification";
import "antd/es/form/style";
import _Form from "antd/es/form";
var _slicedToArray = function () { function sliceIterator(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iter... |
import "normalize.css";
import CustomSelect from "custom-select";
function faq() {
const items = document.querySelectorAll(".faq__item") ?? null;
if (items === null) return;
items.forEach((item) => {
item.addEventListener("click", (e) => {
item.classList.toggle("dropdown");
});
... |
// getTime() returned the number of miliseconds since the Unix Epoch (Jan 1, 1970 00:00:00 GMT)
const premiereDate = new Date("July 13, 21 21:00:00 EST").getTime()
const episodeDates = [new Date("July 13, 21 21:00:00 EST").getTime(),
new Date("July 20, 21 21:00:00 EST").getTime(),
new Date("July 27, 21 21:00:0... |
var Direction = {
UP: 1,
LEFT: 2,
DOWN: 3,
RIGHT: 4
};
var Entity = Class.extend({
posX: 0,
posY: 0,
height: 0,
width: 0,
sprite: null,
spriteShadow: null,
spriteHurt: null,
velocityX: 0,
velocityY: 0,
movementSpeed: 2,
direction: 0,
headBobTimer: 0... |
var meshes = [];
var cameras = [];
var lights = [];
var materials = [];
var BabylonMesh = function(obj)
{
var core = obj.core();
if(core == null)
{
this.notMesh = true;
return;
}
if(obj.materialTags() && obj.materialTags().length > 0)
{
var matId = obj.materialTags()[0].linkedToMaterial();
... |
import React, { Component } from 'react'
import { Platform, View, StyleSheet, Image, TouchableOpacity, ActivityIndicator, ScrollView, FlatList, ImageBackground} from 'react-native'
import {connect} from 'react-redux'
import Ripple from 'react-native-material-ripple'
//Style
import { Button, Icon, Thumbnail, Text, Item... |
const Discord = require('discord.js');
const client = new Discord.Client();
//For authentication
const auth = require('./auth.json');
//For reading / writing files
const fs = require("fs");
//For fileshare reads encoding parameter
const encoding = "'encoding: 'utf-8'";
//Log to the console when we sign on
cl... |
'use strict';
const nkm = require(`@nkmjs/core`);
const u = nkm.u;
const CmdSetActiveRange = require(`./operations/commands/cmd-set-active-range`);
const UniBlock = require(`./catalogs/definition-uni-block`);
const UniCategory = require(`./catalogs/definition-uni-cat`);
const UniCategoryGroup = require(`./catalogs/def... |
activeDoc = '';
storeDiagram = function(bg_diagram_instance){
localStorage[activeDoc] = JSON.stringify(bg_diagram_instance);
}
loadDiagram = function(){
return JSON.parse(localStorage[activeDoc]);
}
//Render the 'menu' area
renderDocs = function(){
$('#saves').empty();
for(var i in localStorage){
... |
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.proto... |
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _react = require('react');
var _react2 = _interopRequireDefault(_react);
var _propTypes = require('prop-types');
var _propTypes2 = _interopRequireDefault(_propTypes);
var _SvgContainer = require('./SvgContainer');
var _SvgContaine... |
let arreglo = [1,32,4,6,87,8];
let personas = [
{ name: "Juan", age: 20 },
{ name: "Pedro", age: 30 },
{ name: "Maria", age: 40 },
{ name: "Carlos", age: 50 },
];
let nombres = ["Juan","Pedro","Maria"];
let largoArreglos = 0;
/* Metodo que permite agregar un nuevo elemento al final del arreglo - push*/... |
////////////////////////////////////////////////////////////////
// BASE VARIABLE
////////////////////////////////////////////////////////////////
var WIN = $(window)
var WINW = WIN.width()
var WINH = WIN.height()
var PIC_WRAP = $('.slide_wrap')
var PIC = $('.slide_wrap ul.pic li')
var PIC_LEN = $('.slide_wrap ul.pi... |
// -----------------------------------------------------------------------------
// entities : 엔티티 객체들
// -----------------------------------------------------------------------------
var createPack = {players:[],bullets:[]};
var removePack = {players:[],bullets:[]};
// ---------------------------------------------... |
/**
* Created by Gowtham on 5/17/2016.
*/
//global variables
var selectedCombination = null;
var globalQuantity = 0;
var colors = [];
var size_id = 0;
var colors_id = 0;
$(document).ready(function(){
//init the serialScroll for thumbs
$('#thumbs_list').serialScroll({
items:'li:visible',
pr... |
import React, {Component} from 'react';
class Country extends Component {
render() {
return (
<select name="country" placeholder="country" onChange={this.props.onChange} value={this.props.value} className={this.props.className}>
<option></option>
<option>Afghani... |
import config from 'config';
import Sequelize from 'sequelize';
import models, { setupModels } from '../models';
import { TransactionTypes } from '../constants/transactions';
import roles from '../constants/roles';
import errors from '../lib/errors';
import { exportToPDF } from '../lib/utils';
import { getTransactions ... |
/*
* Kuzzle, a backend software, self-hostable and ready to use
* to power modern apps
*
* Copyright 2015-2020 Kuzzle
* mailto: support AT kuzzle.io
* website: http://kuzzle.io
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.... |
import store from 'store/index'
export function spliceData(object,index){
var obj =object;
for(var i=0;i<obj.length;i++){
if(index == obj[i].index){
obj.splice(i,1);
break;
}
}
return obj;
}
export function mergeArray(arr1,arr2){
var arr ... |
import AppDispatcher from 'dispatcher';
import AuthConstants from 'constants/actions/Auth';
import ProductConstants from 'constants/actions/Products/Product';
import {ReduceStore} from 'flux/utils';
import Product from 'entities/Product';
import Platform from 'entities/Platform';
i... |
import React, { useEffect, useRef } from 'react';
import styled from 'styled-components';
import { SectionTitle, PaddingLeft } from '../shared/index';
import Mailbox from '../assets/svg/mailbox.svg';
import gsap from 'gsap';
import ScrollTrigger from 'gsap/ScrollTrigger';
import Button from './Button';
import { ... |
import React, {PropTypes} from 'react'
import withStyles from 'isomorphic-style-loader/lib/withStyles'
import s from './Home_Intro.css'
import Link from '../../Link'
import Waypoint from 'react-waypoint'
class Home_Intro extends React.Component {
state = {
fade: false,
videoHide: true,
paused: false,
... |
import $ from 'jquery';
import { Calculate } from '../calculations';
import { Ichimoku } from '../util/ichimokuAnalytics';
import { getTemplate } from '../util/templater';
import { Request } from '../util/requester';
import { tickerPoints } from '../util/tickerPoints';
import { Coloriser } from '../util/coloriser';
//@... |
import React from 'react';
import { TouchableOpacity,ScrollView, View,ImageBackground, Image, StyleSheet, StatusBar, Dimensions, Platform } from 'react-native';
import { Block, Text, theme } from 'galio-framework';
const { height, width } = Dimensions.get('screen');
import { Images, argonTheme, Language } from '../con... |
const inventoryFilename = 'global\\excel\\inventory.txt';
const inventory = D2RMM.readTsv(inventoryFilename);
inventory.rows.forEach((row) => {
const id = row.class;
const classes = [
'Amazon',
'Assassin',
'Barbarian',
'Druid',
'Necromancer',
'Paladin',
'Sorceress',
];
if (
class... |
import log from '../logger.js';
import { system } from 'appium-support';
import { exec } from 'teen_process';
import { retry } from 'asyncbox';
import _ from 'lodash';
let systemCallMethods = {};
const DEFAULT_SDB_EXEC_TIMEOUT = 20000;
systemCallMethods.getConnectedDevices = async function () {
log.debug('Getting ... |
const diablo2Data = require('diablo2-data')('pod_1.13d')
const fs = require('fs')
const path = require('path')
function inject (bot) {
// Idk what name should it has
// When joining a game you get D2GS_ITEMACTIONOWNED for each items you have equipped,
// D2GS_ITEMACTIONWORLD for each item in your inventory / stas... |
import React, { useEffect, useState } from 'react';
import { AndroidBackHandler } from 'react-navigation-backhandler';
import { SafeAreaView, View, Text, Image, StyleSheet, ScrollView, Dimensions, TouchableOpacity } from 'react-native';
import Cores from '../assets/cores';
import getover from '../assets/GETOVERFEED.png... |
// Copyright 2017, Google, Inc.
// 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/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in wr... |
const getSources = (params) => {
const { eleventy } = params;
const { content } = params;
const { langCode } = params;
const { hasGrayBackground } = params;
const { title } = params;
const { type } = params;
const { publicationListData } = params;
const { tableStructure } = params;
const prefix = con... |
import React, { useState, useMemo, useCallback } from 'react';
import useResizeObserver from '../../../utils/useResizeObserver.js';
import * as Immutable from "immutable";
import update from "immutability-helper";
import { Scrollbars } from 'react-custom-scrollbars';
import { useTable } from 'react-table... |
'use strict';
// modules
var assemble = require('fabricator-assemble');
var browserSync = require('browser-sync');
var csso = require('gulp-csso');
var del = require('del');
var gulp = require('gulp');
var gutil = require('gulp-util');
var gulpif = require('gulp-if');
var imagemin = require('gulp-imagemin');
var prefi... |
const widgets = require('@jupyter-widgets/base');
const Chart = require('chart.js');
const ChartDataLabels = require('chartjs-plugin-datalabels');
const ChartColorSchemes = require('chartjs-plugin-colorschemes');
const ChartZoom = require('chartjs-plugin-zoom');
const Colorschemes = require('./colorschemes.js')['defaul... |
/**
* Embargo Utility is a script that improves the AccessStep functionality, easing the work
* of the user by the selection of friendly and intuitive graphics elements to allocate the embargo.
*
* EXAMPLE OF USE:
* //Add a group of radio buttons in a 'li' element under the selector indicated.
* $(document).ready(... |
window.canvas = document.getElementById("board");
window.ctx = canvas.getContext("2d");
function isNumber(i) {
return typeof i === 'number';
}
function isInteger(num) {
return num === (num | 0);
}
function random(minOrMax, maxOrUndefined, dontFloor) {
dontFloor = dontFloor || false;
var min = this.isNumber(maxO... |
/* Format of map script
var mapScript = {
title: "Example Map",
elements: [
{
id: "1",
name: "Element 1",
visibility: 0.25,
maturity: 0.75
},
{
id: "2",
name: "Element 2",
visibility: 0.75,
maturity: 0.25
}
],
links: [
{
start: "1",
end: "2"
}
]
}; */
var renderSwardley =... |
import PIXI from 'pixi.js';
import Player from './Player.js';
import Board from './Board';
//aliases
var Container = PIXI.Container,
resources = PIXI.loader.resources,
Sprite = PIXI.Sprite;
//matrix used to find board pieces (players/AI checked slots)
var boardMap = [
[0, 0, 0, 0, 0, 0, 0],
[0, 0, 0, ... |
import React, { useState, useEffect } from 'react';
import { makeStyles, withStyles } from '@material-ui/core/styles';
import Button from '@material-ui/core/Button';
import Typography from '@material-ui/core/Typography';
import Select from '@material-ui/core/Select';
import MenuItem from '@material-ui/core/MenuItem';
i... |
/* eslint-disable react/no-multi-comp */
import React, { useCallback, useEffect, useMemo, useRef, useState } from 'react'
import { array, bool, func, node, number, object, shape, string } from 'prop-types'
import { InputText } from '@welcome-ui/input-text'
import { FixedSizeList } from 'react-window'
import { Text } fr... |
'use strict';
console.log('this page is running!');
//global variables
var imageElements = document.getElementsByTagName('img');
var totalclicks = 0;
var rounds = 25;
var itemIndex = [];
var itemNames = ["bag", "banana", "bathroom", "boots", "breakfast", "bubblegum", "chair", "cthulhu", "dog-duck", "dragon", "pen", "p... |
import React, {Component} from 'react';
import * as d3 from 'd3';
// Hello, this component was designed by https://gist.github.com/tomerd/1499279
// I tweaked it and set it up as a react component
class CurrentUsage extends Component {
constructor(props) {
super(props)
this.createBarChart = this.c... |
"use strict";
import T from '../lib/tool.js';
import Asset from '../lib/asset.js';
import Task from '../lib/task.js';
import SnapshotNodeChange from '../snapshot/change.js';
async function captureBackgroundAttr(node, {baseUrl, storageInfo, config, requestParams, clipId}) {
let change = new SnapshotNodeChange... |
$(document).ready(function() {
coords.push([]);
initMap();
initAPR();
startApp();
});
function initAPR() {
firstAddress = "Russia";
secondAddress = "pekin";
createLine(true).then(function () {
firstAddress = "Russia";
secondAddress = "United States";
creat... |
/* global Resources, ctx */
var enemyCount = 0;
var timer = 0;
window.EASY = {
"num_enemies": 3,
"min_speed": 100,
"max_speed": 300,
"get_speed": function() {
return randomRange(this.min_speed, this.max_speed);
}
};
window.MEDIUM = {
"num_enemies": 4,
"min_speed": 100,
"max_speed": 500,
"get_spee... |
const fs = require("fs");
const csstree = require("css-tree");
const util = require("./lib/util");
const builtins = require("./lib/builtins");
let styles = {}
let scripts = {}
let runtime = {}
{ // read files
console.log("- reading files...");
let fileList = fs.readdirSync("../@Sources");
let scriptList = fileLis... |
var activa=false;
var sonido;
var animacion;
var activado=false;
var nov_notif = [];
var audio = new Audio('packages/notificaciones/sonidos/alarm2.mp3');
var boolean = false;
const colores = ['rgb(32, 163, 6,.7)','rgb(32, 163, 176,.7)','rgb(32, 163, 6,.7)','rgb(32, 163, 176,.7)','rgb(32, 163, 176,.7)','rgb(32, 1... |
import AppwriteService from "./appwriteService.js";
// import "../../node_modules/bootstrap/dist/js/bootstrap.bundle.min.js";
var toast;
var modal;
var userID;
function init() {
// check if user is logged in
AppwriteService.getCurrentSession().then(data => {
console.log(data);
userID = data.u... |
var assert = require('assert');
var utils = require('../utils');
var ghUtils = require('../ghUtils');
var config = require('../config');
const peqData = require( '../peqData' );
var issHan = require('./githubIssueHandler');
var gh = ghUtils.githubUtils;
var ghSafe = ghUtils.githubSafe;
async function nam... |
// 'use strict';
// const https = require('https');
const fs = require('fs');
let parameters = { NameOfState: "california" };
// function succeed(o) { /* console.log("Succeed:", JSON.stringify(o, null, 4)) */ }
// function fail(e) { console.error("ERROR:", e) }
// ######################################################... |
const Tariff = {
data: function () {
return {
tariffs: {},
}
},
mounted() {
this.getData();
},
methods: {
getData() {
this.tariffs = this.sendRequest('/api/tariffs');
this.setPriceRange();
},
setPriceRange() {
thi... |
// Based on TrackAnalyze from LCSIII, 2008
// Delphi code by <NAME> and <NAME>
// www.billpct.org
// JS version by <NAME>, 2016
// MIT licence
var Demo3 = (function () {
"use strict";
var user, model, running, max_data, ta, handle, h, cursor, target, dots, start_button, counter, difficulty;
running = false;
... |
import {Diagonal} from './utils.js';
import {CUSTOM_SLUG} from './constants.js';
/** A sequence of repeated words. */
class Lala {
constructor(start, end, word) {
this.start = start;
this.end = end;
this.word = word;
this.length = 1 + (this.end - this.start);
}
includes(i) {
return (this.sta... |
// Copyright 2018 by arcos and OS.Vision.
// This software is licensed under the Apache 2 open source license
// <EMAIL> - <EMAIL>
// 919-244-4448
// The TMenu object is a kind of spreadsheet. It can have any number of columns and rows
// It generates an array of TMenuItems where each has a name, an action method, an... |
import {
isObj,
isObject,
isArrayLike
} from "./is";
import {
composeOptionsTemplates,
createOptionsObject
} from "./internal/options";
import { assign } from "./object";
import { genFuncParamsStr } from "./typed-str";
import clone from "./clone";
import hasOwn from "./has-own";
import matchType from "./match-type... |
var canvas = document.getElementById("gameCanvas");
var ctx = canvas.getContext("2d");
var score = document.getElementById("score");
var xMousePosition = 0;
var yMousePosition = 0;
var running = true;
var gameOver = false;
var start = false;
var gameTimer = 0;
var points = 0;
var playerBullet = [];
var enemyBullet = ... |
import { genUID } from '../utils.js'
// NOTE: Lot of things thrown at a wall. I will have to clean this mess up and make it performant.
// Very much borrowed from VueJS templating syntax, which I love. ❤️
const interpolationRE = /(\{\{\s*[a-zA-Z_][a-zA-Z_\d]*\s*\}\})/
const analyzeInterpolations = root => {
const m... |
const express = require('express');
const app = express();
const session = require('express-session');
const passport = require('passport');
const localStrategy = require('passport-local').Strategy;
const dbConnect = require('./config/db');
const User = require('./models/User');
const dotenv = require('dotenv');
const ... |
/*
Copyright (c) 2010 <NAME>, http://www.tilltheis.de
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, pub... |
if (typeof process.env.WORKFLO_CONFIG === 'undefined') {
console.error('Please provide the absolute path to workflo.conf.ts location as WORKFLO_CONFIG environment variable!')
process.exit(1)
}
require('ts-node/register')
require('tsconfig-paths/register')
const path = require('path')
const _ = require('lodash')
c... |
import React, { Component } from 'react';
import {
Grid, Icon, Header, Divider, Button, TextArea, Card, Image,
Label, Form, Checkbox, Message, GridColumn
} from 'semantic-ui-react';
import { connect } from 'react-redux';
import { getGrv, grvSend, clrGrv } from '../../../actions/grv';
import '../../../index.css';
im... |
/**
* This contract tests the Oracle functions
*To write - testing forks, adding only owner to forks?
*/
const Web3 = require('web3')
const web3 = new Web3(new Web3.providers.WebsocketProvider('ws://localhost:8545'));
const BN = require('bn.js');
const helper = require("./helpers/test_helpers");
const TellorStorage... |
var socket = io();
var client_id = null;
socket.on('connect', function () {
socket.emit('join');
});
socket.on('new object available', function (obj_id) {
socket.emit('subscribe', { obj_id: obj_id, client_id: client_id });
});
socket.on('id assigned', function (id) {
console.log("Client id assigned " + id.t... |
import React, { Component } from 'react';
import DroppableLocation from './DroppableLocation';
import { LOCATIONS, ITEMS, ITEM_COPIES, JUNK_POOL } from './Constants';
import { Draggable, DragDropContext } from 'react-beautiful-dnd';
import { MersenneTwister19937, pick as randomPick } from 'random-js';
import { Tab, Tab... |
import { NativaXQuery } from "../Traduccion/TranslateXQuery";
import { Consulta } from "../XPath/Consulta";
export class Return {
constructor(tipoRet, identificador, listaNodos, html, ifthen, funcion, linea, columna) {
this.tipo = tipoRet;
this.funcion = funcion;
this.html = html;
th... |
const r = require('../r');
const model = require('../../../shared/model');
const _ = require('lodash');
const db = require('./db');
const commonQueries = require('../../../lib/common-queries');
const dbExec = require('./run');
const sampleCommon = require('./sample-common');
function* getProcess(dbr, processID) {
... |
/*****************************************************************************
* CS 419 - Software Projects
* Oregon State University - Summer 2016
* WEB 1: Real-Time Strategy Game
*
* Project Team: Xi
* Members: <NAME>, <NAME>, <NAME>
*
* Filename: gameLogic.js
* Version: 0b
* Descriptio... |
/**
* @author <a href="http://www.affka.ru"><NAME></a>
* @license MIT
*/
'use strict';
const Jii = require('../BaseJii');
const NotSupportedException = require('../exceptions/NotSupportedException');
const InvalidParamException = require('../exceptions/InvalidParamException');
const _isEmpty = require('lodash/isEm... |
import fetch from 'isomorphic-fetch';
const scikicUrl = 'http://dev.scikic.org';
/**
* Starts a new Promise chain, resolving immediately.
* @param callback Must return a Promise.
* @returns {Promise}
*/
export const newPromiseChain = () => (
new Promise((resolve) => {
resolve();
})
);
/**
* Given a pro... |
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const collection_utils_1 = require("collection-utils");
const Naming_1 = require("./Naming");
const Source_1 = require("./Source");
const Annotation_1 = require("./Annotation");
const Support_1 = require("./support/Support");
function getBlank... |
const sjcl = require('brdc-sjcl')
const sm2 = require('brdc-sm-crypto').sm2
const sm3 = require('brdc-sm-crypto').sm3
const crypto_sm2 = {}
crypto_sm2._bytesToHex = (bytes) => {
for (var hex = [], i = 0; i < bytes.length; i++) {
hex.push((bytes[i] >>> 4).toString(16))
hex.push((bytes[i] & 0xF).toSt... |
import React, { Component } from 'react';
import axios from 'axios';
import { Link, Redirect } from 'react-router-dom';
import AssignmentCard from '../Assignments/AssignmentCard';
class AssignmentAdd extends Component {
constructor(props) {
super(props);
this.state = {
name: '',
... |
'use strict';
var Q = require('q');
var fs = require('fs');
var Docker = require('dockerode');
var docker = new Docker();
var tar = require('tar-fs');
var split = require('split');
var _ = require('lodash');
var logger = require('winston');
var path = require('path');
var ignore = require('ignore');
/**
* DockerTool... |
import React, { Component } from 'react';
import { withRouter } from 'react-router-dom';
import { injectIntl, FormattedMessage } from 'react-intl';
import {
Button, Divider, Tooltip, Icon, Input, Dropdown, Menu, Breadcrumb,
} from 'choerodon-ui';
import { stores, Permission } from '@choerodon/boot';
import './DocHeas... |
var ctx;
var myChart;
var times = [];
var timeRange = 50;
//coefficients for the indicator line in form A(val)^B+C
var indicatorData = [];
var deltaIndicatorDataScaled = []
var tweetCoefs = [1,1];
var retweetCoefs = [1,1];
var favCoefs = [1,1];
var indicatorOffset = 0;
var socialCorrIndex = 0;
//demoData
var demo... |
import { modifyEntryProfile } from '../governors/entryGovernor/modifyEntryProfile';
import { findStructure } from './findStructure';
import {
findDrawDefinitionExtension,
findExtension,
} from '../../tournamentEngine/governors/queryGovernor/extensionQueries';
import { ENTRY_PROFILE, TALLY } from '../../constants/e... |
import config from './config';
import action from './action';
import model from './model';
const {
rownum, name, sex, birthday, tel, cardDate, disease, drugs, present, diseaseCase,
remark, operation, visit, followUp
} = config.ritField;
const root = '/';
const worker = root + config.userType.worker + '/';
const do... |
import React, { useState, useEffect } from "react"
import PropTypes from "prop-types"
import { fromJS } from "immutable"
import classNames from "classnames"
import Link from "highline/components/secure_link"
import EmailForm from "highline/components/application/email_form"
import Imgix from "highline/components/imgix"... |
import { graphql } from "gatsby"
import Layout from "../components/layout"
import { Link, navigate } from "gatsby"
import { AwesomeButton } from "react-awesome-button"
import { kebabCase } from "lodash"
import Seo from "../components/seo"
import React from "react"
import ComunidadWidgets from "../components/Comunidad/H... |
/**
* Copyright (c) 2017-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
const React = require('react')
const CompLibrary = require('../../core/CompLibrary.js')
const MarkdownBlock = CompLibrary.MarkdownBloc... |
var dropdownElement = document.querySelector('#versionDropdown');
var innerContent = document.querySelector('#allVersions');
var body = document.querySelector('body');
var hamburger = document.querySelector('#menuIcon');
var subMenu = document.querySelector('#subMenu');
var sidebar = document.querySelector('#sidebar');... |
// Calendar
window.ee = new EventEmitter()
let month_list = {
0: 'Январь',
1: 'Февраль',
2: 'Март',
3: 'Апрель',
4: 'Май',
5: 'Июнь',
6: 'Июль',
7: 'Август',
8: 'Сентябрь',
9: 'Октябрь',
10: 'Ноябрь',
11: 'Декабрь'
}
class MonthFrame extends React.Component {
render... |
import React from 'react';
const c3dchelp = {};
c3dchelp.C3DCGeneral =
<div>
<h1>C3DC</h1>
<p>The command Culture 3D Cloud (C3DC) is the first version of a 100% automatic point
cloud correlation. It is possible to launch it just after the AperiCloud so the PLY can use
the 3D mask. It is based on Apero... |
/*jslint vars: true, browser: true, devel: true, plusplus: true, unparam: true*/
/*global $, jQuery, alert, db_name, test_suite_name */
var STATE_NAMES = {0: 'Detected',
1: 'Staged',
10: 'Active',
20: 'Not to be Fixed',
21: 'Ignored',
... |
langResources['Twitter search'] = ['Twitter検索','在Twitter上搜索'];
langResources['remove tab'] = ['タブを閉じる','关闭标签'];
langResources['Are you sure to close this tab?'] = ['このタブを閉じてもよろしいですか?','确认要关闭标签?'];
var tws_page = 0;
var tws_next_max_id = -1;
var tws_update_timer = null;
var tws_list = (readCookie('twicli_search_list')... |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License")... |
var TableComponent = Vue.extend({
props: ['header', 'type'],
template: '<table :id="header" v-on:click=loadDocs(type)>' +
'<tr v-if="type.kind==\'INTERFACE\'"><td class="interface">\<\<{{ header }}\>\></td></tr>' +
'<tr v-else-if="type.kind==\'UNION\'"><td class="union">{{ header }}</td></tr>' +
'<tr v-else-i... |
/* --------------------------------------------------------------------
* This class is an attempt to fixup the token stream to reparse strings
* as tokens that failed to parse in the tokenizer because of sol or
* other constraints OR because tags were being constructed in pieces
* or whatever.
*
* This is a pure... |
const bigWeatherTitle = document.getElementsByTagName('big-weather-title')[0]
const bigWeatherExtras = document.getElementsByTagName('big-weather-extras')[0]
const bigWeatherDaily = document.getElementsByTagName('big-weather-daily')[0]
const bigWeatherWeekly = document.getElementsByTagName('big-weather-weekly')[0]
cons... |
import { firestore, fb } from '../common/fbConfig';
import { authGoogle, authFacebook, authSignOut, authWithEmailAndPassword } from '../platforms/authSocial';
// import { useChangeRd } from '../../screens/useMorfos';
// Seria interessante esse arquivo conseguir visualizar o estado do app.
firestore.settings({
cacheS... |
/* Main Process */
"use strict";
const OSMAPI = "https://api.openstreetmap.org/api/0.6/changesets";
const COLORS = ["gold", "aquamarine", "blueviolet", "brass", "brown", "burlywood", "cadetblue",
"darkgreen", "darkkhaki", "darkolivegreen", "darkorange", "darksalmon", "darkseagreen", "deeppink",
"deepskyblue", "dimgra... |
selectedSchedule = "";
let CRNs = [];
function loadScheduleSessions() {
//getting the passed in crns from the previous page
var sessionString = sessionStorage.getItem('selectedSchedule');
selectedSchedule = JSON.parse(sessionString);
console.log(selectedSchedule);
}
$(document).ready(function(){
... |
var moment = require('moment');
var _ = require('underscore');
var util = require('util');
var fs = require('fs');
var gm = require('gm').subClass({ imageMagick: true }); // Enable ImageMagick integration.
var jackrabbit = require('jackrabbit');
var request = require('request');
var async = require('async');
var AWS = ... |
//variables
//$(".mode").on('click',modeChange);
var mo=$(".mode");
var icon=$(".mode-icon");
var pageOne=$(".main-content-1");
var pageTwo=$(".main-content-2");
var pageThree=$(".main-content-3");
var pageFour=$(".main-content-4");
var triangle=$(".fa-caret-down");
var cnum=$(".confnum");
var rnum=$(".recnum");
var d... |
// global scope
class Board {
constructor() {
this.points = [
0, 0, 0,
0, 0, 0,
0, 0, 0
];
}
}
class Game {
constructor(name) {
this.name = name;
this.board = new Board();
this.playerIsX = true;
}
isRangeAWinForPlayer(play... |
'use strict';
const dns = require('dns');
const util = require('util');
const spfParse = require('spf-parse');
const ipaddr = require('ipaddr.js');
const tlsjs = require('tldjs');
const _ = require('lodash');
/** Result messages. */
const messages = {
None: 'Cannot assert whether or not the client host is author... |
const ver = "20211005.1";
console.log("Bootstrap-Extended", "version", ":", ver);
function toast($_msg, _$t='default', _hT, $_t, _0pts={}) {
let _reTi = 5000;
let no_Co = HTML_Con = false;
let pos = {top:0, left:0};
let tc = $('.toasted');
let ntc;
for(let k in _0pts) {
switch(k) {
case "noCollaspe":
no... |
'use strict';
var _promise = require('babel-runtime/core-js/promise');
var _promise2 = _interopRequireDefault(_promise);
var _stringify = require('babel-runtime/core-js/json/stringify');
var _stringify2 = _interopRequireDefault(_stringify);
var _map = require('babel-runtime/core-js/map');
var _map2 = _interopRequ... |
/**
*
*/
var infoWinU;
var tchIdT;
var picUp = 0;
var picPath = "";
var picPath_dt = "";
Ext.onReady(function() {
var themeCssS = parent.themeCss;
Ext.util.CSS.swapStyleSheet('window', '../../extjs/resources/css/' + themeCssS +'.css');
Ext.QuickTips.init();
var infoPageStore = new Ext.data.Gro... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.