text stringlengths 2 1.04M |
|---|
import babel from 'rollup-plugin-babel'
import pkg from './package.json'
const banner = `
/**
* ${pkg.name} v${pkg.version}
* (c) ${new Date().getFullYear()} ${pkg.author}
* @license ${pkg.license}
*/`.trim()
export default [
{
input: 'src/index.js',
output: [
{
banner,
file: pkg.m... |
import React, {Component} from 'react'
import {connect} from 'react-redux'
import {Image, Segment, Header, Divider, Grid, Button, Icon} from 'semantic-ui-react'
import Dropzone from 'react-dropzone'
import Cropper from 'react-cropper'
import 'cropperjs/dist/cropper.css'
import {actionUpdateAvatar} from '../../action/us... |
'use strict';
const BTree = require(__dirname + '/..');
// numbers:
const numbersIndexes = new BTree(2);
numbersIndexes
.add(40, { primaryKey: 40, data: 'Abu Dhabi' })
.add(30, { primaryKey: 30, data: 'Ankara' })
.add(80, { primaryKey: 80, data: 'Jerusalem' })
.add(20, { primaryKey: 20, data: ... |
const url = 'https://hanguel-spelling-test.github.io/';
function setShare() {
var resultImg = document.querySelector('#resultImg');
var resultAlt = resultImg.firstElementChild.alt;
const shareTitle = '한국어능력고사 결과';
const shareDes = infoList[resultAlt - 1].name;
const shareImage = url + 'img/lv' + resultAlt + ... |
module.exports = {
url: "mongodb://MrFlyingChip:kirill1997@ds123799.mlab.com:23799/chatdb"
} |
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId]) {
/******/ re... |
module.exports = { prefix: 'fab', iconName: 'mizuni', icon: [496, 512, [], "f3cc", "M248 8C111 8 0 119.1 0 256c0 137 111 248 248 248s248-111 248-248C496 119.1 385 8 248 8zm-80 351.9c-31.4 10.6-58.8 27.3-80 48.2V136c0-22.1 17.9-40 40-40s40 17.9 40 40v223.9zm120-9.9c-12.9-2-26.2-3.1-39.8-3.1-13.8 0-27.2 1.1-40.2 3.1V136c... |
var lp__print__utils_8h =
[
[ "Stringify", "lp__print__utils_8h.html#a2d962dd3017290f04293c9cfb54761e7", null ],
[ "Stringify", "lp__print__utils_8h.html#a9145bb72c407c50a106491da9238a1c2", null ],
[ "Stringify", "lp__print__utils_8h.html#a586bf619dd1a09bb6d5c04146da78cda", null ],
[ "StringifyRational"... |
export const isDataObject = (obj, valueKey, labelKey) => {
return (
typeof obj === 'object' &&
obj.hasOwnProperty(valueKey) &&
obj.hasOwnProperty(labelKey)
);
};
export const generateGuid = () => {
function s4() {
return Math.floor((1 + Math.random()) * 0x10000)
.toString(16)
.substri... |
// All material copyright ESRI, All Rights Reserved, unless otherwise specified.
// See https://js.arcgis.com/4.3/esri/copyright.txt for details.
//>>built
define("../Color ./ColorPicker/colorUtils ./ColorPicker/HexPalette ./Widgette dijit/_TemplatedMixin dijit/_WidgetsInTemplateMixin dijit/a11yclick dojo/dom-class doj... |
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const skynode_1 = require("@hanul/skynode");
class CommonUtil {
shortenAddress(address) {
return `${address.substring(0, 6)}...${address.substring(38)}`;
}
displayBlockDuration(blockCount) {
if (blockCount < 0) {
... |
// Copyright 2016 Zipscene, LLC
// Licensed under the Apache License, Version 2.0
// http://www.apache.org/licenses/LICENSE-2.0
var utils = require('./utils');
var XError = require('xerror');
function TrainingData(fannyTrainingData, datatype) {
this._fannyTrainingData = fannyTrainingData;
this._datatype = datatype;... |
/**
* Copyright 2021 The Google Earth Engine Community Authors
*
* 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required... |
// The Nature of Code
// Daniel Shiffman
// http://natureofcode.com
let moverA;
let moverB;
function setup() {
createCanvas(640, 360);
// A large Mover on the left side of the window
moverA = new Mover(200, 30, 10);
// A smaller Mover on the right side of the window
moverB = new Mover(440, 30, 2);
createP... |
// Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors
// MIT License. See license.txt
// add a new dom element
frappe.provide('frappe.dom');
frappe.dom = {
id_count: 0,
freeze_count: 0,
by_id: function(id) {
return document.getElementById(id);
},
get_unique_id: function() {
const id = 'unique... |
import React from 'react'
import PropTypes from 'prop-types'
import { ModalBlur } from '../../components'
import RecurringList from './RecurringBulkList'
const modal = ({
visible,
onCancel,
onOk,
selectedRows,
dispatch,
loading,
}) => {
const emptyText = `${selectedRows ? selectedRows.length : 0} Volume ... |
'use strict';
/**
* 站点路由
* @param {Egg.Application} app - egg application
* @author LiQingSong
*/
module.exports = app => {
const { router, controller } = app;
// Admin路由
// const adminJwtToken = app.middleware.adminJwtToken();
const adminv1Router = router.namespace('/admin/v1');
adminv1Router.get('/gue... |
import PropTypes from 'prop-types';
import React, { PureComponent } from 'react';
import {
Text,
View,
FlatList,
Animated,
Modal,
TouchableWithoutFeedback,
Dimensions,
Platform,
ViewPropTypes,
I18nManager,
} from 'react-native';
import Ripple from 'react-native-material-ripple';
import { TextField }... |
import Component from "@ember/component";
import { popupAjaxError } from "discourse/lib/ajax-error";
import showModal from "discourse/lib/show-modal";
import User from "discourse/models/user";
export default Component.extend({
item: null,
actions: {
removeIgnoredUser(item) {
this.set("saved", false);
... |
// @ts-ignore: isolated modules error
const { useExpressDevPack } = require('@midwayjs/faas-dev-pack');
const { resolve } = require('path');
const URL = require('url');
module.exports = function (app) {
app.use(
useExpressDevPack({
functionDir: resolve(__dirname, '../'),
sourceDir: resolve(__dirname,... |
const fetch = require('node-fetch');
const rootUrl = 'http://api.ipstack.com/';
const accessKey = '?access_key=' + process.env.IPSTACKAPI;
module.exports = {
get: async function(ipAddress) {
try
{
let res = await fetch(rootUrl + ipAddress + accessKey);
let result = await res... |
/**
* Copyright 2013-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
*/
/* globals ... |
/**
* @fileoverview A rule to suggest using template literals instead of string concatenation.
* @author Toru Nagashima
*/
"use strict";
//------------------------------------------------------------------------------
// Requirements
//------------------------------------------------------------------------------
... |
import Modal from '../../src/modal'
import EventHandler from '../../src/dom/event-handler'
/** Test helpers */
import { clearBodyAndDocument, clearFixture, createEvent, getFixture, jQueryMock } from '../helpers/fixture'
describe('Modal', () => {
let fixtureEl
beforeAll(() => {
fixtureEl = getFixture()
})
... |
const version = "1";
let globalSettings;
getSettings((settings) => {
globalSettings = settings;
if (globalSettings === undefined || globalSettings.version != version) {
console.log("No settings found. Generating Defaults...");
globalSettings = {
version: version,
hashtag... |
define({
_widgetLabel: '分支版本管理',
_widgetDescription: '在分支版本化服務中切換和管理分支版本的 widget。',
actionLabelsDelete: "是否要刪除此版本:",
actionLabelsCannotDelete: "很抱歉,無法刪除預設版本",
actionLabelsNameNotBlank: "版本名稱不可空白",
actionLabelsNoServices: "未配置服務",
actionLabelsNoVersions: "找不到版本",
buttonsCancel: "取消",
buttonsDelete: "刪除... |
const chai = require("chai");
const validate = require("jsonschema").validate;
const rewire = require("rewire");
const fs = require("fs");
const assert = chai.assert;
const script = rewire("./uplink.js");
let defaultSchema = null;
let buttonPressedSchema = null;
let statusSchema = null;
const consume = script.__get__... |
import Home from './Home';
import * as actions from './actions';
import {connect} from 'react-redux';
import {getNav, getHome} from '../../reducers';
const mapStateToProps = (state, props) => {
return {
...getNav(state),
...getHome(state),
};
};
const mapDispatchToProps = {
...actions,
};
export defaul... |
/* eslint-disable id-length */
import React from 'react';
import { mount } from 'enzyme';
import MenuItem from '../../../MenuItem';
import ActionsCell from '../actionsCell';
const columnChildren = [<MenuItem />, <MenuItem />];
describe('<ActionsCell />', () => {
beforeEach(() => {
Element.prototype.getCli... |
import React from "react";
export default function useIsMobile() {
const isSSR = typeof window === "undefined";
const [windowSize, setWindowSize] = React.useState({
width: isSSR ? 1200 : window.innerWidth,
height: isSSR ? 800 : window.innerHeight,
});
function changeWindowSize() {
setWindowSize({ ... |
import React from 'react';
import PropTypes from 'prop-types';
import { StaticQuery, graphql } from 'gatsby'
import css from 'styled-components';
import Header from './header';
import Footer from './footer';
import './layout.css';
import '../static/font/iconfont.css';
const Wrap = css.div`
width: 100%;
`;
const La... |
function randomElement(array) {
return array[randomIndex(array)];
}
function randomIndex(array) {
return Math.floor(Math.random() * array.length);
}
class AntFinder {
constructor(points, size, sizeMultiplier, greed, gregariousness, spray, decay, attractionMultiplier) {
this.bestDistance = Infinit... |
import React from 'react';
import { StatusBadge } from 'shared/components/StatusBadge/StatusBadge';
import { useTranslation } from 'react-i18next';
const calculatePodState = pod => {
const containerStatuses = pod?.status?.containerStatuses;
if (containerStatuses?.length > 0) {
const waitingStatus = containerSt... |
// local imgs
const Onboarding = require("../assets/imgs/bg-1.png");
const Logo = require("../assets/imgs/hope-logo.png");
const LogoOnboarding = require("../assets/imgs/logo.png");
const ProfileBackground = require("../assets/imgs/profile-screen-bg.png");
const RegisterBackground = require("../assets/imgs/register-bg.... |
function _typeof(obj) { 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 !== Symbol.prototype ? "symbol" : typeof o... |
var EoLMap = {};
EoLMap.recs = null;
EoLMap.map = null;
EoLMap.markerClusterer = null;
EoLMap.markers = [];
EoLMap.infoWindow = null;
var markerSpiderfier = null; //for spiderfy
var statuz = []; //for back button
var statuz_all = []; //... |
"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... |
import { player, cursor_video_timeout } from "/script.js";
import { overlayText } from "./overlay.js";
export { speedEvents };
function speedEvents() {
$("#slow_icon").click(function () {
// speed
if (player.playbackRate >= 0.5) player.playbackRate -= 0.25;
// cursor timeout
clearTimeout(cursor_vi... |
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
var ImageEntity = {
image: null,
sourceRect: null,
drawWidth: null,
drawHeight: null,
imageSmoothing: true,
drawImage: function drawImage(ctx) {
var dw = this.drawWidth === null ? this.drawWidth = this.ima... |
const HtmlWebPackPlugin = require("html-webpack-plugin");
const MiniCssExtractPlugin = require("mini-css-extract-plugin");
module.exports = {
module: {
rules: [
{
test: /\.js$/,
exclude: /node_modules/,
use: {
loader: "babel-loader"
}
},
{
test:... |
import {point} from "./cardinal.js";
export function CardinalOpen(context, tension) {
this._context = context;
this._k = (1 - tension) / 6;
}
CardinalOpen.prototype = {
areaStart: function() {
this._line = 0;
},
areaEnd: function() {
this._line = NaN;
},
lineStart: function() {
this._x0 = th... |
/* jslint browser: true */
/* global $ */
'use strict';
$(document).ready(function() {
$.material.init();
}); |
/* This function is activated with the start activity button */
function showAllActivities() {
$.ajax({
url: "http://" +
window.location.hostname +
":" +
window.location.port + "/index.php" +
"/activity/activities",
method: "POST",
data: {
all: "true"
},
dataType: "json",
success: function... |
function _decorate(decorators, factory, superClass, mixins) { var api = _getDecoratorsApi(); if (mixins) { for (var i = 0; i < mixins.length; i++) { api = mixins[i](api); } } var r = factory(function initialize(O) { api.initializeInstanceElements(O, decorated.elements); }, superClass); var decorated = api.decorateClass... |
const { USER_CREATED, USER_ALREADY_EXIST } = require('../../config/constants');
module.exports = {
'/users': {
post: {
tags: ['User operations'],
description: 'Create user',
operationId: 'createUser',
parameters: [],
requestBody: {
content: {
'application/json': {
... |
import React from 'react';
import { Link } from 'react-router-dom';
import { connect } from 'react-redux';
import { fetchPeople } from '../../store/actions';
import SearchBar from '../SearchBar';
class ProfileList extends React.Component {
state = {
localStatePeople: [],
}
componentDidMount() {
this.... |
"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)... |
'use strict'
module.exports = {
walk: require('./walk'),
match: require('./match'),
parse: require('./parse'),
unpipe: require('./unpipe'),
read: require('./read'),
eventify: require('./eventify'),
streamify: require('./streamify'),
stringify: require('./stringify'),
write: require('./write'),
even... |
import { bindActionCreators, } from 'redux';
import { connect } from 'react-redux'
import * as actions from './InventoryActions';
import InventoryList from './InventoryList';
const mapStateToProps = (state) => {
return {
loading: state.InventoryReducer.loading,
inventory: state.InventoryReducer.inv... |
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.NoUsers = void 0;
var _react = _interopRequireDefault(require("react"));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
function _extends() { _extends = Object.assign || function (... |
module.exports = {
siteMetadata: {
title: 'Full-Stack Bootcamp',
author: 'Andrew Mead'
},
plugins: [
'gatsby-plugin-react-helmet',
{
resolve: 'gatsby-source-contentful',
options: {
spaceId: process.env.CONTENTFUL_SPACE_ID,
... |
const httpStatus = require("http-status");
const { omit } = require("lodash");
const User = require("../models/user.model");
/**
* Load user and append to req.
* @public
*/
exports.load = async (req, res, next, id) => {
try {
const user = await User.get(id);
req.locals = { user };
return next();
} c... |
(function(a){a.jstree.defaults.select_limit=20;a.jstree.plugins.select_limit=function(b,c){this.select_node=function(e,f,d){if(this.settings.select_limit>this.get_selected().length){c.select_node.call(this,e,f,d)}}}})(jQuery); |
define("xstyle/core/Rule", ["xstyle/core/expression", "put-selector/put", "xstyle/core/utils"], function(evaluateExpression, put, utils){
// define the Rule class, our abstraction of a CSS rule
var create = Object.create || function(base){
function Base(){}
Base.prototype = base;
return new Base;
}
var op... |
import React, { Component } from "react";
import { connect } from "react-redux";
import Post from "./posts";
class ResultsPosts extends Component {
renderPosts() {
const posts = this.props.posts.map((post, index) => {
return <Post type='result' key={index} {...post} />;
});
return posts;
}
rend... |
/**
* @version: 1.3.21
* @author: Dan Grossman http://www.dangrossman.info/
* @copyright: Copyright (c) 2012-2015 Dan Grossman. All rights reserved.
* @license: Licensed under the MIT license. See http://www.opensource.org/licenses/mit-license.php
* @website: https://www.improvely.com/
*/
(function(root, factory) {
... |
/** @jsx jsx */
import { jsx, Styled } from 'theme-ui'
import React from 'react'
import { graphql } from 'gatsby'
import Image from 'gatsby-image'
import Link from '../button-link'
import { getDataFromContentBlocks } from './utils'
function PagePreview({
fields: { slug },
description,
date,
title,
body,
... |
// --- Directions
// Implement classes Node and Linked Lists
// See 'directions' document
class Node {
constructor(data, next = null) {
this.data = data;
this.next = next;
}
}
class LinkedList {
constructor() {
this.head = null;
}
insertFirst(data) {
this.head = new Node(data, this.head);
... |
// (C) Copyright 2014-2015 Hewlett Packard Enterprise Development LP
import React, { Component } from 'react';
import PropTypes from 'prop-types';
import classnames from 'classnames';
import CSSClassnames from '../../../utils/CSSClassnames';
import Intl from '../../../utils/Intl';
import Props from '../../../utils/Pro... |
'use strict';
var EventEmitter = require('events').EventEmitter;
var options = global.SEQUENCE_OPTIONS || {};
function Sequence(){
EventEmitter.call(this);
}
function argsToArray(x){
return x;
}
function reindex(array, startOfIndex){ // designed for 'triggers'
for(var i = startOfIndex || 0; i < array.length;... |
module.exports = {
chokidar: {
sass: {
files: [
'src/themes/*.scss',
'src/core/**/*.scss',
'src/layouts/**/*.scss',
'src/components/**/*.scss',
'src/patterns/**/*.scss'
],
tasks: ['build:sass'],
options: {
livereload: true
}
},
... |
var rowData = [
{orgHierarchy: ['Erica Rogers'], jobTitle: "CEO", employmentType: "Permanent"},
{orgHierarchy: ['Erica Rogers', 'Malcolm Barrett'], jobTitle: "Exec. Vice President", employmentType: "Permanent"},
{orgHierarchy: ['Erica Rogers', 'Malcolm Barrett', 'Esther Baker'], jobTitle: "Director of Oper... |
import React, { Component } from 'react';
import PropTypes from 'prop-types';
export const SvgWithProps = ComposedComponent => {
return class SvgProps extends Component {
static propTypes = {
ariaHidden: PropTypes.bool,
focusable: PropTypes.string,
role: PropTypes.string,
style: PropTypes... |
import Vue from 'vue'
import Router from 'vue-router'
import Auth from '../components/Login'
import Signup from '../components/Signup'
import Election from '../components/Election'
// Start Admin
import Admin from '../components/Admin'
import admin_candidate from '../components/admin/admin_candidate'
import admin_elec... |
import { atom } from 'recoil';
export default atom({
key: 'logoColorState', // unique ID (with respect to other atoms/selectors)
default: '#ffffff',
}); |
/*
* Sharrre.com - Make your sharing widget!
* Version: beta 1.3.3
* Author: Julien Hany
* License: MIT http://en.wikipedia.org/wiki/MIT_License or GPLv2 http://en.wikipedia.org/wiki/GNU_General_Public_License
*/
;(function ( $, window, document, undefined ) {
/* Defaults
===============================... |
var mongoose = require('mongoose');
var currencyFormatter = require('currency-formatter');
/*********************
function Schema()
*********************/
var Schema = mongoose.Schema({
memberId: String,
year: Number,
month: Number,
bonus: Number,
}, {
collection: 'bonus_point_rewards',
toObject: { virtua... |
"use strict";
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
exports.__esModule = true;
exports.sourceNodes = void 0;
var _fp = require("lodash/fp");
var _chalk = _interopRequireDefault(require("chalk"));
var _pIteration = require("p-iteration");
var _lib = require("gatsby-s... |
const {join} = require('path');
const {readFileSync} = require('fs');
const {spawn} = require('child_process');
const asyncAuto = require('async/auto');
const asyncMapSeries = require('async/mapSeries');
const asyncRetry = require('async/retry');
const {ECPair} = require('bitcoinjs-lib');
const {networks} = require('b... |
import { makeStyles, createStyles } from "@mui/styles";
export const useFriendsListStyles = makeStyles((theme) =>
createStyles({
box: {
width: "26em",
display: "flex",
flexDirection: "column",
},
list: {
width: "100%",
maxWidth: "360",
backgroundColor: "inherit",
}... |
/* eslint-disable */
import Chart from 'chart.js';
Chart.elements.Rectangle.prototype.draw = function() {
var ctx = this._chart.ctx;
var vm = this._view;
var left, right, top, bottom, signX, signY, borderSkipped, radius;
var borderWidth = vm.borderWidth;
// Set Radius Here
// If radius is large enough to... |
import template from './sw-base-field.html.twig';
import './sw-base-field.scss';
const { Component } = Shopware;
const utils = Shopware.Utils;
Component.register('sw-base-field', {
template,
inheritAttrs: false,
props: {
name: {
type: String,
required: false,
d... |
/*
Copyright 2019 Gravitational, 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 writing, soft... |
/**
* @module ol/reproj/Image
*/
import {ERROR_THRESHOLD} from './common.js';
import {inherits} from '../util.js';
import ImageBase from '../ImageBase.js';
import ImageState from '../ImageState.js';
import {listen, unlistenByKey} from '../events.js';
import EventType from '../events/EventType.js';
import {getCenter, ... |
import './web_modules/@wonkytech/tm-examples.js';
import './web_modules/@wonkytech/template-web-component.js';
import './main.js'; |
angular.module('portainer.app')
.directive('rdHeader', function rdHeader() {
var directive = {
scope: {
'ngModel': '='
},
transclude: true,
template: '<div class="row header"><div id="loadingbar-placeholder"></div><div class="col-xs-12"><div class="meta" ng-transclude></div></div></div>',
re... |
import React from "react";
import { Grid } from "@material-ui/core";
import { PollItem } from "./PollItem";
export function PollList({
data,
setOpenDeleteAlert,
setSelectedPollId,
setSelectedPollQuestion,
setOpenResults,
setPollToDelete,
setStatusMessage,
setStatus,
setOpenAlertDialog,
}) {
return ... |
import SvgCanvas from '../../svgcanvas/svgcanvas.js'
import leftPanelHTML from './LeftPanel.html'
const { $id, $qa } = SvgCanvas
/*
* register actions for left panel
*/
/**
* @type {module}
*/
class LeftPanel {
/**
* @param {PlainObject} editor svgedit handler
*/
constructor (editor) {
this.editor =... |
import Vue from 'vue'
import 'normalize.css/normalize.css'// A modern alternative to CSS resets
import Element from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import '@/styles/index.scss' // global css
import App from './App'
import router from './router'
import store from './store'
import i18n fro... |
/**
* Gallery Component Style for tingle
* @author cm
*
* Copyright 2014-2016, Tingle Team, Alinw.
* All rights reserved.
*/
export default from './Gallery'; |
//const precioOriginal = 120;
//const descuento = 18;
var cupones = [
15,
20,
25,
30,
40,
50
]
function calcularPrecioConDescuento(precio, descuento) {
const porcentajePrecioConDescuento = 100 - descuento;
const precioConDescuento = (precio * porcentajePrecioConDescuento) / 100;
r... |
{
"skip_files": [
"test/*",
"lib/leeloo.ex"
]
} |
var searchData=
[
['accessstorage_22670',['AccessStorage',['../structabsl_1_1cleanup__internal_1_1_access_storage.html',1,'absl::cleanup_internal']]],
['accuratesum_22671',['AccurateSum',['../classoperations__research_1_1_accurate_sum.html',1,'operations_research']]],
['accuratesum_3c_20fractional_20_3e_22672',['... |
/**
* Copyright 2012-2019, Plotly, Inc.
* All rights reserved.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
'use strict';
var Registry = require('../../registry');
var Lib = require('../../lib');
var Template = require('../../plot_api... |
//# sourceMappingURL=component---src-templates-index-js-f22e64cffd667b32d4d9.js.map |
import { Origin } from 'aurelia-metadata';
import { Loader } from 'aurelia-loader';
import { DOM, PLATFORM } from 'aurelia-pal';
import { meteorRequire } from './meteor-require';
export let TextTemplateLoader = class TextTemplateLoader {
loadTemplate(loader, entry) {
return loader.loadText(entry.address).then(te... |
var game_size = 20;
var container_width = window.innerWidth / game_size;
var container_height = window.innerHeight / game_size;
var move_direction_x = move_direction_y = 0;
var trail = [];
var leftBorder = 0;
var rightBorder = container_width - 1;
var topBorder = 0;
var bottomBorder = container_height - 1;
var snake ... |
define([
'postmonger'
], function(
Postmonger
) {
'use strict';
var connection = new Postmonger.Session();
var payload = {};
$(window).ready(onRender);
connection.on('initActivity', initialize);
connection.on('requestedTokens', onGetTokens);
connection.on('requestedEndpoints', onG... |
/**
* @param {ListNode} head
* @return {TreeNode}
* @tag 链表
* @description
[有序链表转换二叉搜索树](https://leetcode-cn.com/problems/convert-sorted-list-to-binary-search-tree/)
*/
var sortedListToBST = function (head) {
if (!head) return null
if (!head.next) return new TreeNode(head.val)
const headNode = new ListNode(... |
module.exports = {
'signup': {
'username': {
notEmpty: true,
isLength: {
options: [{ min: 4, max: 20 }],
errorMessage: 'Must be between 6 and 20 chars long'
},
errorMessage: 'required'
},
'email': {
notEmpty: true,
isEmail: {
errorMessage: 'not v... |
// Copyright (c) 2019 Uber Technologies, Inc.
//
// 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... |
import React, { Component } from 'react';
import { Link } from "react-router-dom";
export default class Nav extends Component {
render() {
return (
<nav class="navbar navbar-expand-lg navbar-light bg-light rounded">
<div class="collapse navbar-collapse" id="navbarsExample09">
<ul class="na... |
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @flow
*/
import type {ReactPriorityLevel} from './ReactInternalTypes';
// Intentionally not named imports because Rollup would... |
/**
* Kendo UI v2020.2.513 (http://www.telerik.com/kendo-ui)
* Copyright 2020 Progress Software Corporation and/or one of its subsidiaries or affiliates. All rights reserved.... |
var fs = require('fs');
var path = require('path');
var childProcess = require('child_process');
var Q = require('q');
var stat = Q.nfbind(fs.stat);
var os = require('os');
var config = {
"key": {
"filename": "openshift_rsa",
"name": "openshift-deployment" + "_" + os.hostname(),
"comment":... |
const defaultWindows = {
plot: false,
draw: false,
challengeBegin: false,
attackersDeclared: true,
defendersDeclared: true,
dominance: false,
standing: false,
taxation: false
};
const defaultKeywordSettings = {
chooseOrder: false,
chooseCards: false
};
const defaultSettings = {... |
import { combineReducers } from 'redux'
import homeReducer from '../pages/home/store'
import aboutReducer from '../pages/about/store'
export default combineReducers({
home: homeReducer,
about: aboutReducer
}); |
/*!
* Cropper.js v1.2.2
* https://github.com/fengyuanchen/cropperjs
*
* Copyright (c) 2015-2018 Chen Fengyuan
* Released under the MIT license
*
* Date: 2018-01-18T15:32:38.288Z
*/ |
/*! 1.5.0 */
window.XMLHttpRequest&&window.FormData&&(XMLHttpRequest=function(a){return function(){var b=new a;return b.setRequestHeader=function(a){return function(c,d){if("__setXHR_"===c){var e=d(b);e instanceof Function&&e(b)}else a.apply(b,arguments)}}(b.setRequestHeader),b}}(XMLHttpRequest),window.XMLHttpRequest._... |
// @flow
import React, { useState, useEffect } from "react";
import {
StyleSheet,
SafeAreaView, Modal
} from "react-native";
import { connect } from "react-redux";
import { defaultStyles } from "../../styles/default-styles";
import PickupLocation from "../../components/pickup-location";
import * as R from "ramd... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.