text stringlengths 5.97k 41.2k |
|---|
'use strict';
var _ = require('lodash');
var React = require('react');
var DocumentTitle = require('react-document-title');
var color = require('../../js/color.js');
var Select = require('react-select');
var Async = Select.Async;
var reactable = require('reactable');
var Tr = reactable.Tr;
var Td = reactable.Td;
var T... |
"use strict";
var __extends = (this && this.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnPrope... |
/* ********************************************************************************
MIT license.
Copyright 2017 <NAME>
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, in... |
let webTTS = {};
webTTS.langs = {};
webTTS.initVoices = function(languages, table) {
if (languages) webTTS.langs = languages;
if (table) {
table.classList.add("sentences");
for (let key in languages) {
let value = languages[key];
let tr = document.createElement("tr");
... |
/**
* (c) 2017 cepharum GmbH, Berlin, http://cepharum.de
*
* The MIT License (MIT)
*
* Copyright (c) 2017 cepharum GmbH
*
* 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 rest... |
var RandomUtilities = (function() {
/**
* Get a random bit
* @return string with 0 or 1
*/
var getRandomBit = function() {
return Math.random() < 0.5 ? "0" : "1";
};
/**
* Get some random bits (TODO: optimise later)
* @param numBits number of bits to get
* @return s... |
import _ from 'lodash';
import PropTypes from 'prop-types';
import React from 'react';
import {
Alert,
Badge,
Button,
Col,
Container,
Form,
ProgressBar,
Row,
} from 'react-bootstrap';
import { Colosseum } from './Colosseum';
import { NotSupportedModal, StatusInput, UnitNumberInput } from './components'... |
exports.openMainWindow = function(_tab) {
_tab.open($.proposallist_window);
Ti.API.info("This is child widow proposal.js" +JSON.stringify(_tab));
//$.proposallist_table.search = $.search_history;
Alloy.Collections.proposal.fetch();
};
$.proposallist_window.addEventListener("click", function(e){
Alloy.Globa... |
#!/usr/bin/env node
//var himalaya = require('himalaya'); // https://www.npmjs.com/package/himalaya
var platform = process.argv[2];
var lib = require('./lib.js');
var fs = require('fs');
var path = require('path');
if(platform) {
if(!lib.checkPlatform(platform)) {
return;
}
}
console.log('Start Com... |
// NoService/NoService/runtime/core.js
// Description:
// "core.js" control main behavior of deamon.
// Copyright 2018-2019 NOOXY. All Rights Reserved.
'use strict';
const fs = require('fs');
const Constants = require('./constants');
const Implementation = require('./implementation');
const Plugin = require('./plugin... |
const array = require('../../lib/array');
const knex = require('../../lib/db');
const validate = require('../../lib/validate');
const finalizeColMap = require('../../lib/col_map');
const errors = require('restify-errors');
const EXPR_COLS = ['ex','lv','tt','td'];
const EXPR_COLS_MAP = finalizeColMap({
exsc: 'e... |
/*jshint esversion: 6 */
/*jslint node: true */
'use strict';
var async = require('async');
var moment = require('moment');
var _ = require('lodash');
var PublicGoogleCalendar = require('public-google-calendar');
// HOMEWORK identifiers
const lunchCalendar = new PublicGoogleCalendar({ calendarId: '<EMAIL>' });
var ... |
import {Vec2, Rect, ValRef} from "../types.js";
import {CondFlags, CornerFlags, ItemStatusFlags} from "../flags.js";
import {Dir} from "../enums.js";
import {InputTextFlags} from "./inputtext.js";
import {Color, CSSColors} from "../color.js";
import {DragPayloads} from "./drag.js";
export var ColorEditFlags =
{
No... |
//* Dependencies *//
const { Market } = require('@node-steam/market-pricing');
const { Currency } = require('@node-steam/data');
const { cli } = require('cli-ux');
const InvAPI = require('steam-inventory-api');
const repeat = require('repeat-string');
const axios = require('axios').default;
const longest = require('lo... |
export const namedColors = {
'aliceblue': '#f0f8ff',
'antiquewhite': '#faebd7',
'aqua': '#00ffff',
'aquamarine': '#7fffd4',
'azure': '#f0ffff',
'beige': '#f5f5dc',
'bisque': '#ffe4c4',
'black': '#000000',
'blanchedalmond': '#ffebcd',
'blue': '#0000ff',
'blueviolet': '#8a2be2',
'brown': '#a52a2a',
'burlywoo... |
import Phaser from "phaser";
import {
DEPTH,
HEIGHT,
RESULTS_TEXT_STYLE,
TEXT_STYLE,
WIDTH,
} from "../globals";
import store from "../store";
import ButtonFactory from "../components/uibutton";
import Stage from "./stage";
import TwitterManager from "../twitter";
import {
formatSummation,
getMessage,
s... |
const { Router } = require('express');
const { Transaction } = require('braintree');
const logger = require('debug');
const gateway = require('../lib/gateway');
const invoicelist = require('../models/List');
const UserList = require('../models/User');
const router = Router(); // eslint-disable-line new-cap
const debug ... |
/*
* Copyright 2015 Mozilla Foundation
*
* 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 agr... |
function InfluxDBClient() {}
const QUERY_BUCKETS = () =>
'buckets() |> rename(columns: {"name": "_value"}) |> keep(columns: ["_value"]) |> sort(columns: ["_value"], desc: false)'
const QUERY_MEASUREMENTS = bucket_name =>
`import "influxdata/influxdb/v1"
v1.tagValues(
bucket: "${bucket_name}",
tag: "_measurem... |
Ext.Ajax.timeout = 60000;
Ext.Loader.setConfig({
enabled: true
});
Ext.require([
'Ext.util.History',
'Ext.ux.statusbar.StatusBar',
'Ext.ux.portal.PortalPanel',
'Ext.ux.TabScrollerMenu',
'Ext.state.*'
]);
var mainTab,
//全局分页大小
globalPageSize=20,
//全局时间列宽度
globalDateColumnWidth=1... |
import React, { Component, useCallback, useEffect, useState } from "react";
import CICfactory from "./contracts/CICfactory.json";
import getWeb3 from "./getWeb3";
import ReactDOM from 'react-dom';
import "./App.css";
var mintCIC = function(arg) {
return function() { App.mintTheCIC(arg); };
};
class App extends Co... |
// server.js
// init project
const express = require("express");
const bodyParser = require("body-parser");
const sql = require("sqlite3").verbose();
const app = express();
const assets = require("./assets");
const fs = require("fs");
const FormData = require("form-data");
app.use(express.json());
// http://expressjs... |
'use strict';
// Data needed for first part of the section
const restaurant = {
name: '<NAME>',
location: 'Via Angelo Tavanti 23, Firenze, Italy',
categories: ['Italian', 'Pizzeria', 'Vegetarian', 'Organic'],
starterMenu: ['Focaccia', 'Bruschetta', 'Garlic Bread', 'Caprese Salad'],
mainMenu: ['Pizza', 'Pasta... |
/*
* Copyright (c) 2014 Juniper Networks, Inc. All rights reserved.
*/
var cowc, cowu, cowhu, cowf, cowl, cowch, cowm, cotu, cotc, covdc;
var allTestFiles = [], windowKarma = window.__karma__;
for (var file in windowKarma.files) {
if (/\.test\.js$/.test(file)) {
allTestFiles.push(file);
}
}
var de... |
function _arrayLikeToArray(arr, len) {
if (len == null || len > arr.length) len = arr.length;
for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
return arr2;
}
function _arrayWithHoles(arr) {
if (Array.isArray(arr)) return arr;
}
function _arrayWithoutHoles(arr) {
if (Array.isArray... |
const ipc = require('electron').ipcRenderer
const SVG=require('@svgdotjs/svg.js').SVG
const fs = require('fs')
const {Tile} = require('./libraries/game')
const DOM=require('./libraries/dom')
const phrases=require('./libraries/phrases')
let draw = SVG().addTo('body').size('100vw','100vh')
//***************... |
import { kebabCase } from 'lodash';
// basic
import Artboard from './artboard/index';
import MArtboard from './artboard/index.m';
import Button from './button/index';
import MButton from './button/index.m';
import Calendar from './calendar/index';
import MCalendar from './calendar/index.m';
import Card from './card/in... |
// 'use strict';
// alert('woho!');
// Esta funciona hace una cosa super loca bla bla bla
var number = 3;
var cadena = 'esto es una cadena';
var booleano = false;
// var niIdea = undefined;
var nose = null;
var lista = [];
var obj = {};
// console.log(niIdea !== nose)
console.log('log', 'other', 'other one', obj, nu... |
/**
* @file This handles the following:
* + Parsing of the query string for a roomName (if it exists)
* + Checking localStorage to determine the following information:
* - Is a userName key set with a valid value? If so, autopopulate the username field with this
* value.
* - Is a capabilities ke... |
"use strict";
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard");
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.getOffsetTop = getOffsetTop;
exports.getOffsetLeft = get... |
import { Index } from './index.js';
import './style/style.css';
const Dom = (() => {
const body = document.body;
const main = document.createElement("main");
const projectsHeader = document.createElement("div");
const projectsBody = document.createElement("div");
const projects = document.createElement("div");
c... |
/** -*- mode: java -*-
*
* ECMAScript
* testing the Array object
*
* 09.07.2001, <EMAIL>
* $Id: arrayObjectTest.js 12979 2007-03-28 00:31:48Z hallvord $
*/
var cvs = "$Id: arrayObjectTest.js 12979 2007-03-28 00:31:48Z hallvord $";
function main()
{
testmodule( "The Array object", cvs );
try
{
... |
'use strict';
var inherits = require('inherits');
var Buffer = require('buffer').Buffer;
var stream = require('readable-stream');
var EventEmitter = require('events').EventEmitter;
var EBMLDecoder = require('ebml/lib/ebml/decoder');
module.exports = EBMLRemuxer;
if (d > 99) {
var tmp = function EBMLDecoder() {
... |
/* global URL */
import pkgJson from '../package.json'
import { when, isObject, isString } from './utils'
import Tracker from './tracker'
import NativePromise from 'native-promise-only'
const version = pkgJson.version;
const Promise = window.Promise || NativePromise
export const PROMISE_TIMEOUT = 10000
// 10 seconds,... |
/* move this to cockpit widget later */
_helper_log('cockpit importer load')
var cockpiteventSource = 0
var cockpitPath = ""
var cockpitWidgetPath = ""
let importerFields
let importerStepNo = 1
let importerFileName
let importerHeaderExists = undefined
// --- FOR TESTING PURPOSES
// --- [TODO] remove
function cockpit_... |
Array.prototype.remVal = function(value){
let index = this.indexOf(value);
if (index != -1){
this.splice(index, 1);
}
}
let canvas = document.querySelector('canvas');
let ctx = canvas.getContext('2d');
canvas.height = 700;
canvas.width = 700;
let tailleCase = (canvas.width/9)*0.98;
let ... |
/**
* Datamatrix ECC 200 standard implementation.
*
* This class is intended to avoid memory leaks and/or garbage collector overusage so we
* can work on the instance and not passing references into functions creating
* possible unwanted mutations.
*/
const {
lengthRows,
lengthCols,
dataCWCount,
solomonCW... |
"use strict";
var __extends = (this && this.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (Object.protot... |
// <![CDATA[
/**
* Creative Commons has made the contents of this file
* available under a CC-GNU-GPL license:
*
* http://creativecommons.org/licenses/GPL/2.0/
*
* A copy of the full license can be found as part of this
* distribution in the file COPYING.
*
* You may use this software in accordance with the
*... |
/****************************************************************************
Copyright (c) 2010-2012 cocos2d-x.org
Copyright (c) 2008-2010 <NAME>
Copyright (c) 2011 Zynga Inc.
http://www.cocos2d-x.org
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associa... |
/**
* data_styles
*/
var utils = require('./utils')
var _ = require('underscore')
var d3_format = require('d3-format').format
module.exports = {
import_and_check: import_and_check,
text_for_data: text_for_data,
float_for_data: float_for_data,
reverse_flux_for_data: reverse_flux_for_data,
gene_string_for_d... |
/**@author <NAME> / https://github.com/isaobushi */
import * as THREE from '../three.module.js';
import { CSS3DRenderer, CSS3DObject } from "../renderers/CSS3DRenderer.js"
import { OrbitControls, MapControls } from "../controls/OrbitControls.js"
import { TWEEN } from "../tween.module.min.js"
import { apiBaseUrl } ... |
//Created By: <NAME>, U.S. Fish and Wildlife Service, Science Applications, Region 6
//Date: Oct 2014, Updated Oct 2018
// You could either use a function similar to this or pre convert an image with for example https://dopiaza.org/tools/datauri
// https://stackoverflow.com/questions/6150289/how-to-convert-... |
/////////////////////////////////////////////////////////////////////
// Copyright (c) Autodesk, Inc. All rights reserved
// Written by Forge Design Automation team for Inventor
//
// Permission to use, copy, modify, and distribute this software in
// object code form for any purpose and without fee is hereby granted,
... |
/**
* This code is mostly from the old Etherpad. Please help us to comment this code.
* This helps other people to understand this code better and helps them to improve it.
* TL;DR COMMENTS ON THIS FILE ARE HIGHLY APPRECIATED
*/
/**
* Copyright 2009 Google Inc.
*
* Licensed under the Apache License, Version 2.0... |
import {
defined, DeveloperError, Cartesian3, Color,
destroyObject, Matrix4, BoundingSphere, combine,
ComponentDatatype, defaultValue, PrimitiveType,
Buffer, BufferUsage, DrawCommand, Pass, RenderState,
ShaderProgram, ShaderSource, VertexArray, BlendingState,
CullFace, Material, SceneMode,
} from 'cesium';
... |
/* global SVG, System */
import { obj, promise, fun, num, properties, arr, string } from 'lively.lang';
import { Color } from 'lively.graphics';
import { styleProps, addPathAttributes, addSvgAttributes } from './property-dom-mapping.js';
import flubber from 'flubber';
import Bezier from 'bezier-easing';
import 'web-ani... |
/**
* vue-svg-inline-loader v1.5.0 (2020-03-15)
* Copyright 2020 <NAME>
* @license MIT
*/
"use strict";
/* require all dependencies */
const path = require("path");
const crypto = require("crypto");
const { readFileSync } = require("fs");
const { getOptions } = require("loader-utils");
const validateOptions = req... |
import async from 'async';
import chai from 'chai';
import gavel from 'gavel';
import os from 'os';
import url from 'url';
import addHooks from './addHooks';
import logger from './logger';
import reporterOutputLogger from './reporters/reporterOutputLogger';
import packageData from '../package.json';
import sortTransac... |
// If we are dev env, load dotenv
if (process.env.NODE_ENV != "production"){
require('dotenv').config();
}
var MongoClient = require('mongodb').MongoClient;
var async = require('async');
var requestify = require('requestify');
var moment = require('moment');
var Chance = require('chance');
var GCM = require('../lib... |
"use strict";
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Refl... |
/**
* @module app.WmsHelper
*/
/**
* @fileoverview Provides a wms helper iservice. That service is a function used
* to retrieve and display the info (metadata) for a layer.
*/
import appModule from './module.js';
import appOlcsExtent from './olcs/Extent.js';
import appNotifyNotificationType from './NotifyNotific... |
import _ from 'lodash';
import logger from './utils/logger';
const browserType = {
DEFAULT: 0,
SAFARI: 1,
};
//----------------------------------------------------------------------------
// Query string
/**
* Escape only dangerous chars in a query string component, use a plus instead of a space.
*
* [RFC 398... |
if (!ORYX.Plugins)
ORYX.Plugins = new Object();
var guvnorPopupEditor;
/**
* Plugin that provides a way to edit constraints in DRL format (or as plain text too).
* This plugin uses Guvnor Standalone Editor to open a popup with an editor that
* you can use to author your rules.
*
* Example of a field usi... |
"use strict";
/*!
* Copyright 2016 The ANTLR Project. All rights reserved.
* Licensed under the BSD-3-Clause license. See LICENSE file in the project root for license information.
*/
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3... |
import React from 'react';
import PropTypes from 'prop-types';
import classNames from 'classnames';
import { ResizeSensor } from 'css-element-queries';
import s from './Page.scss';
import { PageContext } from './PageContext';
import PageHeader from '../PageHeader';
import Content from './Content';
import Tail from './... |
/**
* Created by aston on 02/09/2016.
*/
export const UltrawideDirectory = {
BACKUP_DIR: 'design_backups/',
TEST_OUTPUT_DIR: 'test_outputs/'
};
export const RoleType = {
NONE: 'NONE',
DESIGNER: 'DESIGNER',
DEVELOPER: 'DEVELOPER',
MANAGER: 'MANAGER',
ADMIN: 'AD... |
"use strict";
var logger = require('./server/logger.js').get('appium')
, fs = require('fs')
, ncp = require('ncp').ncp
, request = require('request')
, _ = require('underscore')
, path = require('path')
, rimraf = require('rimraf')
, exec = require('child_process').exec
, osType = require('os').type()
... |
var gridList = [
{companyJson: {"대표자명": "----"}, a: "A", b: "A01", price: 1000, amount: 12, cost: 12000, saleDt: "2016-08-29", customer: "장기영", saleType: "A", c:"C", d:"D", e:"E", f:"F", g:"G", userType: "M"},
{companyJson: {"대표자명": "----"}, a: true, b: true, price: 1000, amount: 12, cost: 12000, saleDt: "2016-... |
import React, { Component } from "react";
import { Link } from "react-router-dom";
import { withRouter } from "react-router-dom";
//utils
import { getCurrentDateTime } from "../../utils/methods";
//Mui
import Dialog from "@material-ui/core/Dialog";
import AppBar from "@material-ui/core/AppBar";
import Toolbar from "... |
$(document).on("data_start", function(event){
var post_result = share_model.post_classify(share_model.data['data_category']);
// console.log(share_model.data['data_category'])
// console.log(post_result)
showClassification(post_result);
});
$(document).on("data_edit", function(event, input){
if(typeo... |
// This file should be included first, given the basic stuff that's defined here.
// OOP model used in this code
//
// All classes are objects defined under the "Classes" namespace.
// To subclass, use:
// Classes.subClass = Classes.parentClass.subclass({ ... new definitions });
// or alternatively:
// C... |
'use strict';
Object.defineProperty(exports, '__esModule', { value: true });
var tslib = require('tslib');
var equality = require('@wry/equality');
var tsInvariant = require('ts-invariant');
var parser = require('../parser');
var errors = require('../../errors');
var utilities = require('../../utilities');
var core =... |
/*!
* Copyright © 2012-2014 <a href="http://www.stars-soft.com">EziCloud</a> All rights reserved.
*
* 通用公共方法
* @author Starsoft
* @version 2014-4-29
*/
$(document).ready(function() {
try {
// 链接去掉虚框
$("a").bind("focus", function() {
if (this.blur) {
this.blur()
};
});
//所有下拉框使用select2
$(... |
var game = new Phaser.Game(1280, 720, Phaser.AUTO, 'game-div', {preload: preload, create: create, update: update});
WebFontConfig = {
// 'active' means all requested fonts have finished loading
// We set a 1 second delay before calling 'createText'.
// For some reason if we don't the browser cannot rend... |
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } }... |
var File = require("file"),
IO = require("io").IO,
URI = require("uri"),
HashP = require("hashp").HashP,
ByteString = require("binary").ByteString,
DOMParser = require("./dom").DOMParser;
// http://www.w3.org/TR/XMLHttpRequest/
var parser = new DOMParser();
var UNSENT = 0,
OPENED = 1,
HEA... |
const config = require('./config.json');
const axios = require('axios');
const Cleverbot = require('clevertype').Cleverbot;
const Discord = require('discord.js');
const client = new Discord.Client();
global.discordJsClient = client;
const TwitchMonitor = require("./twitch-monitor");
const FooduseMonitor = require(".... |
// file system
var fs = require('fs');
var glob = require('glob');
var path = require('path');
// console colors
var colors = require('colors');
// qdt helper
var qdt_core = require("./qdt/qdt-helpers");
var qdt_verbose = require("./qdt/qdt-verbose");
// gulp itself
var gulp = require('gulp');
var pa... |
import { computed, decorate } from "mobx";
import centroid from "@turf/centroid";
import {
groupBy,
keyBy,
flow,
values,
flatten,
entries,
map,
round,
keys,
filter,
mapKeys,
omit,
flatMap,
every as everyFP,
mapValues as mapValuesFP,
pickBy as pickByFP,
sortBy as sortByFP,
} from "lodas... |
'use strict';
// handles miscellaneous pages
var logger = require('../../../logger');
var overboard;
var sfwOverboard;
var templateHandler;
var lang;
var common;
var miscOps;
var blockBypass;
var boardCreationRequirement;
var messageLength;
var disabledLatestPostings;
exports.optionalStringLogParameters = [ 'user', ... |
"use strict";
var __extends = (this && this.__extends) || (function () {
var extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
return function (d, b)... |
import { transform } from "ol/proj";
import { canvBase, MERC_CROSSMATRIX, MERC_MAX } from "../const_ex";
import { addIdToPoi, normalizeLayer, normalizeLayers, normalizePoi } from "../normalize_pois";
import { normalizeArg } from "../functions";
import { polygon } from "@turf/helpers";
import centroid from "@turf/centro... |
/**
*
* ioBroker Logitech Harmony Adapter
*
* MIT License
*
*/
/* jshint -W097 */// jshint strict:false
/*jslint node: true */
'use strict';
const HarmonyHubDiscover = require(`@harmonyhub/discover`).Explorer;
const utils = require(`@iobroker/adapter-core`);
const HarmonyWS = require(`harmonyhubws`);
c... |
function startDualScreenMode() {
const STAND_ALONE_URL = Urls.standalone_analysis_editor_and_grid(ANALYSIS_ID);
if (!secondWindow) {
saveSettingsOnResize = false;
secondWindow = window.open(STAND_ALONE_URL, '_blank', 'toolbar=0,location=0,menubar=0');
$("#right-panel").empty();
$... |
/**
* Handles the 'explore' route for manage alert
* @module manage/alert/edit/explore
* @exports manage/alert/edit/explore
*/
import RSVP from 'rsvp';
import fetch from 'fetch';
import moment from 'moment';
import Route from '@ember/routing/route';
import { isArray } from '@ember/array';
import { later } from '@em... |
const Random = require('random-seed')
const {assert} = require('chai')
const TestDocument = require('./helpers/test-document')
const textHelpers = require('./helpers/text-helpers')
const {
traverse, traversalDistance, compare, format: formatPoint
} = require('./helpers/point-helpers')
const {Patch} = require('../..'... |
import React, { Component } from "react";
import {
//Button,
Image,
StyleSheet,
Text,
View,
Dimensions,
ScrollView,
ImageBackground,
FlatList,
TouchableOpacity,
ActivityIndicator,
Linking,
WebView
} from "react-native";
import { Icon, Button, Rating, AirbnbRating } from "react-native-elements"... |
/**
* @fileoverview Abstraction of JavaScript source code.
* @author <NAME>
*/
"use strict";
//------------------------------------------------------------------------------
// Requirements
//------------------------------------------------------------------------------
const
{ isCommentToken } = require("esli... |
//-- Filename:
//-- local_case_per_county.js
//--
//-- Author:
//-- <NAME>
function LCPC_InitFig(wrap) {
if (wrap.tag.includes('mini'))
GP_InitFig_Mini(wrap);
else if (wrap.tag.includes('overall'))
GP_InitFig_Overall(wrap);
else
GP_InitFig_Standard(wrap);
}
function LCPC_ResetText() {
if (LS_... |
import React, { Component } from 'react';
import {
View,
StyleSheet,
Platform,
Image,
ScrollView,
SafeAreaView,
Switch,
ActivityIndicator,
PermissionsAndroid,
StatusBar,
Alert,
Text,
TouchableOpacity,
TouchableWithoutFeedback,
RefreshControl,
FlatList
} f... |
'use strict';
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.prototype ? "symbol" : typeof obj; };
function _defineProperty(obj, key,... |
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
/**
* Content Security Policy
*
* Overview
* This is a stub component that will be fleshed out to do all the ... |
// ============================================================================================
// --- BREAKOUT GARDENER :: MODULES :: SGP30 ---
// (c) 2018-2019 <NAME> - breakouts*xoblite.net - http://breakouts.xoblite.net/
// =========================================================================================... |
require("./code_controls.css",true);
window.teapot = dayside.plugins.teapot = {ui:{}}
dayside.ready(function(){
// helper function to show expanded controls independent on hScroll
teapot.compensateScroll = function (els) {
els = els || teacss.jQuery(".widget.right,.widget.active-line");
var par... |
import { assert } from 'chai';
import { PipelineGraph } from '../../../src/js/components';
import { layoutGraph } from '../../../src/js/components/pipeline/PipelineGraphLayout';
import { defaultLayout } from '../../../src/js/components/pipeline/PipelineGraphModel';
import { StatusIndicator } from '../../../src/js/com... |
const fs = require('fs');
const {chunk, cloneDeep, escapeRegExp, flatten, invert, random, round, sample, shuffle, uniq} = require('lodash');
const path = require('path');
const {promisify} = require('util');
const completeBoards = {
ahokusa: [
[
':ahokusa-top-left:',
':ahokusa-top-center:',
':ahokusa-top-r... |
/* globals app, config, timer, server, contextmenu, toolbar, gmail */
'use strict';
var repeater; // main repeater
var resetTimer; // periodic repeater
// disable sound on a user action
app.actions(() => app.sound.stop());
var actions = {
silent: time => {
if (time === 'custom') {
time = config.notificat... |
/** CSKeFu All Rights Reserved, Apache 2.0 License By http://www.cskefu.com */
var layer, iframe, layerwin, cursession, curHeadImgUrl, cususerid;
$(document).ready(function () {
var hide;
$('.dropdown-menu').on("click", function () {
var distance = getDistance(this);
if (hide = true) {
... |
if(typeof(require) !== 'undefined'){
var entity = require("./entity").entity;
var helpers = require("./helpers").helpers;
var ship = require("./ship").ship;
var star = require("./star").star;
var ufo = require("./ufo").ufo;
var engine = require("./engine").engine;
}
// On update check colorsBinary table in the w... |
"use strict";
function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj ... |
import React, { Component } from 'react'
import { connect } from 'react-redux';
import PropTypes from 'prop-types'
import { withRouter } from 'react-router'
import { Link } from 'react-router-dom'
//import constants from '../../../../constants/variable.js'
import { Tooltip, Icon, Button, Spin, Modal, message, Select, S... |
'use strict'
const { describe, it, afterEach } = require('mocha')
const postmanToOpenApi = require('../lib')
const path = require('path')
const { equal, ok } = require('assert').strict
const { readFileSync, existsSync, unlinkSync } = require('fs')
const { version } = require('../package.json')
const OUTPUT_PATH = pat... |
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
// name_generator.js
// written and released to the public domain by drow <<EMAIL>>
// http://creativecommons.org/publicdomain/zero/1.0/
var name_set = {};
var chain_cache = {};
// - - - - - - - - - - - - - - - - - - - - - - - - - - - ... |
const english = require("./english");
const getFirstWeekdayInYear = require("./first-weekday-in-year");
const defaultTimezoneNames = require("./timezone-names");
const Directive = require("./directives");
const isLeapYear = require("./leap-year");
const monthLengths = require("./month-lengths");
const TimestampParseErr... |
/*-------------------------------------------------------------------------------------------------------
Global Variables
--------------------------------------------------------------------------------------------------------*/
var serverVariables = {
gameId : ''
};
var Game = {
PlayerOne : null,
PlayerTwo ... |
/*
*
* K2HR3 Web Application
*
* Copyright 2017 Yahoo! Japan Corporation.
*
* K2HR3 is K2hdkc based Resource and Roles and policy Rules, gathers
* common management information for the cloud.
* K2HR3 can dynamically manage information as "who", "what", "operate".
* These are stored as roles, resources, policie... |
/**
* ModernTable Library
* Library for displaying a data table from a JSON source.
* @author SimpleNotSimpler
* @version 1.0.8
* @license MIT
*
* @requires modern-table.css {@link modern-table.css}
*
* Recommended... |
"use strict";
var __extends = (this && this.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnPrope... |
// NPM IMPORTS
import assert from 'assert'
import { format } from 'util'
import _ from 'lodash'
// COMMON IMPORTS
import T from 'devapt-core-common/dist/js/utils/types'
import Stream from 'devapt-core-common/dist/js/messaging/stream'
// BROWSER IMPORTS
import BindingStream from './binding_stream'
import... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.