text
stringlengths
3
1.05M
const path = require('path'); const HtmlWebpackPlugin = require('html-webpack-plugin'); module.exports = { mode: 'development', entry: './src/index.js', devtool: 'inline-source-map', output: { path: path.resolve(__dirname, 'dist'), filename: 'main.js' ...
import{h}from"../wv-pb-manager.core.js";import{d as _,D as setActiveNode,C as hoverNode}from"./chunk-3437f53a.js";function GetRootNodes(e){var t=new Array;return _.forEach(e,function(e){e.parent_id||t.push(e)}),_.sortBy(t,["weight"])}var WvPbNodeContainer=function(){function e(){this.pageNodeChangeIndex=1}return e.prot...
import os from flask import Flask, request, url_for, render_template app = Flask(__name__) app.config.from_object(__name__) app.config.update(dict( SECRET_KEY='development key101061',)) app.config.from_envvar('CHRISDAW_SETTINGS', silent=True) colors = { "dark blue": "#1D3557", "blue": "#457B9D", ...
import checkContainsAnyText from '../support/check/checkContainsAnyText'; import checkIsEmpty from '../support/check/checkIsEmpty'; import checkContainsText from '../support/check/checkContainsText'; import checkCookieContent from '../support/check/checkCookieContent'; import checkCookieExists from '../support/check/ch...
import React from 'react' import ExpansionPanel from '@material-ui/core/ExpansionPanel' import ExpansionPanelSummary from '@material-ui/core/ExpansionPanelSummary' import ExpansionPanelDetails from '@material-ui/core/ExpansionPanelDetails' import Typography from '@material-ui/core/Typography' import ExpandMoreIcon from...
/* eslint no-self-compare: 0 */ import can from 'can'; import 'can/map/define/define'; export default can.Map.extend({ init: opts => { if (opts && !can.isEmptyObject(opts)) { this.isEmpty = false; } }, define: { isEmpty: { value: true, type: 'bool...
import React from 'react' const defaultState = { dark: false, toggleDark: () => {}, } const ThemeContext = React.createContext(defaultState) // Getting dark mode information from OS! // You need macOS Mojave + Safari Technology Preview Release 68 to test this currently. const supportsDarkMode = () => window.ma...
import React from 'react'; import styled from 'styled-components'; import Box from 'components/atoms/Box/Box'; const Background = styled.div` background-color: hsl(228, 56%, 98%); padding: 10px 20px; `; export default { title: 'atoms/Box', component: Box, decorators: [storyFn => <Background>{storyFn()}</Bac...
#!/usr/bin/env python # -*- coding: utf-8 -*- """ test_xix-event-mib ---------------------------------- Tests for `xix-event-mib` module. """ import unittest from xix-event-mib import xix-event-mib class TestXix-event-mib(unittest.TestCase): def setUp(self): pass def test_something(self): ...
const assert = require('assert').strict; const { closePage, newPage, getAttribute, getText, } = require('../src/browser_utils'); async function run(config) { const page = await newPage(config); await page.setContent(` <div style="display:none;" id="a"></div> <input type="checkb...
/** @jsx h */ import h from 'slate-hyperscript' export const input = <block type="paragraph">word</block> export const output = { object: 'block', type: 'paragraph', data: {}, nodes: [ { object: 'text', text: 'word', marks: [], }, ], }
//ORB JavaScript // DOM Preload (function ($) { "use strict"; $(document).ready(function () { // Preload DOM of Inbox functions: inbox(); // ======================================================================== // Togglers // =====================================...
module.exports = [{'constant': true, 'inputs': [{'name': '_token', 'type': 'address'}], 'name': 'supportsToken', 'outputs': [{'name': '', 'type': 'bool'}], 'payable': false, 'stateMutability': 'view', 'type': 'function'}, {'constant': false, 'inputs': [{'name': '_newOwnerCandidate', 'type': 'address'}], 'name': 'reques...
"""Implements extra utilities required.""" import math from functools import partial def _is_min(score, best, min_delta): return score <= (best - min_delta) def _is_max(score, best, min_delta): return score >= (best + min_delta) def init_improvement(mode: str, min_delta: float): """Get the scoring fun...
# # Autogenerated by Thrift Compiler (0.10.0) # # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING # # options string: py # from thrift.Thrift import TType, TMessageType, TFrozenDict, TException, TApplicationException from thrift.protocol.TProtocol import TProtocolException import sys import airavata....
var models = require('../models'); exports.log_in_check = function(req,res){ console.log("inlogin"); console.log(req.body); var email = req.body.email; email.toLowerCase(); var filter = /^([a-zA-Z0-9_\.\-])+\@ucsd.edu+$/; var password = req.body.password; var errorMsgs = ["nopwd","invalidemail...
/* Copyright 2017 Keith Peters 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, publish, distribute, su...
import Uniq from '../../src/uniq/uniq.main'; describe('isProperSupersetOf', () => { test('should throw TypeError for invalid arguments', () => { const isProperSupersetOf = Uniq.prototype.isProperSupersetOf; expect(() => isProperSupersetOf.call(null, new Uniq())).toThrow(TypeError); expect(() => isProperS...
############################################################################## # Copyright (c) 2016 Juan Qiu # juan_ qiu@tongji.edu.cn # All rights reserved. This program and the accompanying materials # are made available under the terms of the Apache License, Version 2.0 # which accompanies this distribution, and is ...
// All material copyright ESRI, All Rights Reserved, unless otherwise specified. // See http://js.arcgis.com/3.25/esri/copyright.txt for details. //>>built define("esri/dijit/geoenrichment/ReportPlayer/supportClasses/PlayerToFullScreenAnimator",["esri/dijit/geoenrichment/utils/animation/AnimationUtil","esri/dijit/geoen...
import DS from 'ember-data'; export default DS.Model.extend({ competition: DS.attr('string'), season: DS.attr('number'), round: DS.attr('number'), kickoff: DS.attr('date'), country: DS.belongsTo('country',{ async: false }), homeClub: DS.belongsTo('club',{ async: false }), guestClub: DS.belongsTo('club',{...
# Copyright (c) Twisted Matrix Laboratories. # See LICENSE for details. """ Simple echo server that echoes back client input. You can run this .tac file directly with: twistd -ny telnet_echo.tac This demo sets up a listening port on 6023 which accepts telnet connections. No login for the telnet server is require...
var value = require("./file"); it("should accept a dependencies multiple times", (done) => { expect(value).toBe(1); module.hot.accept("./file", () => { var oldValue = value; value = require("./file"); expect(value).toBe(oldValue + 1); if(value < 4) NEXT(require("../../update")(done)); else done(); }...
/** * React Starter Kit (https://www.reactstarterkit.com/) * * Copyright © 2014-2016 Kriasoft, LLC. All rights reserved. * * This source code is licensed under the MIT license found in the * LICENSE.txt file in the root directory of this source tree. */ import React from 'react'; import App from '../components/...
/******/ (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...
""" This file offers the methods to automatically retrieve the graph Rhizobium sp. NFR03. The graph is automatically retrieved from the STRING repository. References --------------------- Please cite the following if you use the data: ```bib @article{szklarczyk2019string, title={STRING v11: protein--protein as...
/** * Test case for this Issue https://github.com/software-mansion/react-native-screens/issues/797 * A bug in Android * Tested on: Android version 9 * Description: when user pop the screen Images inside screen first hide before pop transition */ /** * How to reproduce: * The issue only occur when it's FastIm...
import { sectionProperties, pageContents } from "utils" import PageLayout from "components/notebook" export async function getStaticPaths() { const paths = [] const sections = Object.keys(sectionProperties("react")) for (let section of sections) { const { numberOfPages } = sectionProperties("react...
jQuery(function ($) { "use strict"; // Author Code Here var owlPricing; var ratio = 2; // Window Load $(window).load(function () { // Preloader $('.preloader').addClass('animated fadeOut').one('webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend', funct...
// current const myAge = 19; // 2 years is as 10.5 in dog let earlyYears = 2; earlyYears *= 10.5; // 2 years less in me let laterYears = myAge - 2; // inc in each 4 years laterYears *= 4; // Finding MyAgeInDogYears let myAgeInDogYears = earlyYears + laterYears; // To get My Name let myName = "Shubham"; myName = m...
/** * @fileoverview Enforces consistent naming for boolean props * @author Ev Haus */ 'use strict'; const Components = require('../util/Components'); const propsUtil = require('../util/props'); const docsUrl = require('../util/docsUrl'); const propWrapperUtil = require('../util/propWrapper'); // -----------------...
const Engine = Matter.Engine; const World = Matter.World; const Bodies = Matter.Bodies; const Constraint = Matter.Constraint; var engine, world; var canvas, angle, tower, ground, cannon; var balls=[]; function preload() { backgroundImg = loadImage("./assets/background.gif"); towerImage = loadImage("....
/** * TODO: Move UI->model workflows out of change events and into syncContentRecord method * TODO: make component load correctly when contentRecord is set before render without afterrender deferment hack */ Ext.define('Emergence.cms.view.Editor', { extend: 'Ext.dashboard.Dashboard', xtype: 'emergence-cms-ed...
var NAVTREE = [ [ "flexfringe", "index.html", [ [ "README", "md_pypackage_README.html", null ], [ "README", "md_pypackage_src_README.html", null ], [ "README", "md_pypackage_src_space-saving_build_README.html", null ], [ "README", "md_README.html", null ], [ "README", "md_space-saving_build_README...
import createSvgIcon from './utils/createSvgIcon'; import { jsx as _jsx } from "react/jsx-runtime"; export default createSvgIcon([/*#__PURE__*/_jsx("path", { d: "M12 4c-4.41 0-8 3.59-8 8s3.59 8 8 8 8-3.59 8-8-3.59-8-8-8zm-1 12H9V8h2v8zm4 0h-2V8h2v8z", opacity: ".3" }, "0"), /*#__PURE__*/_jsx("path", { d: "M13 8h2...
'use strict'; const SockJS = require('../modules/sockjs-client'); const { log } = require('../utils/log'); const BaseClient = require('./BaseClient'); module.exports = class SockJSClient extends BaseClient { constructor(url) { super(); // SockJS requires `http` and `https` protocols this.sock = new Soc...
const Big = require("big.js"); Big.DP = 40; Big.RM = 0; const SmartContract = require("../smartcontract"); class Comptroller extends SmartContract { /** * Figures out which markets the wallet is participating in * * @param {string} wallet account address of any user * @return {function(provider, Number?...
import { darkTheme, lightTheme } from 'utils' import { ThemeProvider as StyledThemeProvider } from 'styled-components' import { useStoreState } from 'easy-peasy' import PropTypes from 'prop-types' export const ThemeProvider = ({ children }) => { const isDarkMode = useStoreState(state => state.theme.isDarkMode) re...
import React from 'react'; import './Camera.css'; const socket = require('socket.io-client')('http://localhost:4040'); // This component is a visual representation of the movement vector // that is being sent to the server by the controller. export default class Controller extends React.Component { // Initialize ...
# from flask import Flask, Blueprint # from flask_sqlalchemy import SQLAlchemy # from flask_login import LoginManager # import os from flask import Flask, jsonify, request, make_response, redirect, url_for import jwt import datetime import os from functools import wraps from flask_sqlalchemy import SQLAlchemy import u...
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (the "License"); you may not use this file except in compliance with * the Lic...
// @flow import React from 'react' import CategoryListContent from '../CategoryListContent' import { lightTheme } from 'build-configs/integreat/theme' import { render, fireEvent } from '@testing-library/react-native' import moment from 'moment' import type Moment from 'moment' jest.mock('../../../common/components/Ti...
/* Functions for generating prime numbers up to a given limit n using the sieve of Eratosthenes method. */ const {range} = require("lodash"); const {potentialPrimes} = require("./potentialPrimes"); const FIRST_PRIME = 2; /* Returns a list of all prime numbers up to a given limit n. */ function primesUntil(n) { con...
const express = require('express'); const os = require('os'); const multer = require('multer'); const api = require('../../../../api'); const apiv2 = require('../../../../api/v2'); const mw = require('./middleware'); const auth = require('../../../../services/auth'); const shared = require('../../../shared'); // Hand...
import re import torch from .encode import EncodedParam, EncodedModule from ..utils import AverageMeter class Codec(object): def __init__(self, rule): """ Codec for coding :param rule: str, path to the rule file, each line formats 'param_name coding_method bit_leng...
'use strict'; var express = require('express'); var path = process.cwd(); var ServiceHandler = require(path + '/app/controllers/serviceHandler.server.js'); var serviceHandler = new ServiceHandler(); var multer = require('multer'); var upload = multer(); var app = express(); app.use('/controllers', express.static(...
var express = require('express') var bodyParser = require('body-parser') var routes = require('./routes/api') var mongoose = require('mongoose') /* set up express app */ var app = express() /* connect to mongodb */ mongoose.connect('mongodb://localhost/expressdemo') mongoose.Promise = global.Promise /* use body pars...
(function(){$(".tenant-change-component a").click(function(n){n.preventDefault();abp.ajax({url:abp.appPath+"Account/TenantChangeModal",type:"POST",dataType:"html",success:function(n){$("#TenantChangeModal div.modal-content").html(n)},error:function(){}})})})();
/* * Copyright 2014-2019 MarkLogic Corporation * * 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...
__author__ = 'f7b' import argparse import sys from mpi4py import MPI def tally_hosts(): """ How many physical hosts are there? """ localhost = MPI.Get_processor_name() hosts = MPI.COMM_WORLD.gather(localhost) if hosts: hostcnt = len(set(hosts)) else: hostcnt = 0 hostcnt = MPI....
const mongoose = require('mongoose'); const Schema = mongoose.Schema; const CategorySchema = new Schema ({ name: { type: String, unique: true, lowercase: true }, created: { type:Date, default: Date.now } }); module.exports = mongoose.model('Category', CategorySchema);
// Underscore.js 1.8.3 // http://underscorejs.org // (c) 2009-2015 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors // Underscore may be freely distributed under the MIT license. // 中文注释 by bob-chen @https://github.com/bob-chen 仅做学习用 (function() { // Baseline setup // ----...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ic_access_alarm_twotone = void 0; var ic_access_alarm_twotone = { "viewBox": "0 0 24 24", "children": [{ "name": "path", "attribs": { "d": "M0 0h24v24H0V0z", "fill": "none" }, "children": [] }, { ...
/* * jQuery Easing v1.3 - http://gsgd.co.uk/sandbox/jquery/easing/ * * Uses the built in easing capabilities added In jQuery 1.1 * to offer multiple easing options * * TERMS OF USE - jQuery Easing * * Open source under the BSD License. * * Copyright © 2008 George McGinley Smith * All rights res...
/* Depends on jquery couch */ /** */ Array.prototype.getUnique = function() { var u = {}, a = []; for (var i = 0, l = this.length; i < l; ++i) { if (u.hasOwnProperty(this[i])) { continue; } a.push(this[i]); u[this[i]] = 1; } return a; }; var Bot = function(dbname, corpusid, corpustitle, optionalData...
# -*- coding: utf-8 -*- # PLEASE DO NOT EDIT THIS FILE, IT IS GENERATED AND WILL BE OVERWRITTEN: # https://github.com/ccxt/ccxt/blob/master/CONTRIBUTING.md#how-to-contribute-code from ccxt.async_support.base.exchange import Exchange import hashlib from ccxt.base.errors import ExchangeError from ccxt.base.errors impor...
from __future__ import annotations import json import logging import re from typing import Any from checkov.cloudformation.checks.resource.base_resource_check import BaseResourceCheck from checkov.common.models.consts import SLS_DEFAULT_VAR_PATTERN from checkov.common.models.enums import CheckResult, CheckCategories ...
import { __makeTemplateObject } from "tslib"; import styled, { css } from 'styled-components'; import { gridSize } from '@atlaskit/theme/constants'; import { multiply } from '@atlaskit/theme/math'; import { DEFAULT_APPEARANCE } from '../../constants'; import { flagTextColor } from '../../theme'; // Outputs the styles f...
module.exports = { mockRequest: () => { const req = {}; req.body = jest.fn().mockReturnValue(req); req.params = jest.fn().mockReturnValue(req); req.login = jest.fn().mockReturnValue(req); req.logout = jest.fn().mockReturnValue(req); req.session = { destroy: jest.fn(), }; req.flas...
// All material copyright ESRI, All Rights Reserved, unless otherwise specified. // See https://js.arcgis.com/4.6/esri/copyright.txt for details. //>>built define({toggle:"Prze\u0142\u0105cz map\u0119 bazow\u0105"});
/** * Copyright 2015 The AMP HTML Authors. All Rights Reserved. * * 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 require...
/*! * sweetalert2 v7.7.0 * Released under the MIT License. */ (function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : typeof define === 'function' && define.amd ? define(factory) : (global.Sweetalert2 = factory()); }(this, (function () { 'use stric...
// This file is part of Moodle - http://moodle.org/ // // Moodle is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // // Moodle is dis...
// Licensed to Elasticsearch B.V under one or more agreements. // Elasticsearch B.V licenses this file to you under the Apache 2.0 License. // See the LICENSE file in the project root for more information 'use strict' /* eslint camelcase: 0 */ /* eslint no-unused-vars: 0 */ function buildMlGetDataFrameAnalytics (opt...
#! /usr/bin/python from lib_hayat import YasamAlani
### # Copyright (c) 2002-2004, Jeremiah Fincher # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # # * Redistributions of source code must retain the above copyright notice, # this list of co...
export default function sortDate (dateKey, order) { return function (a, b) { const timeA = new Date(a[dateKey]).getTime() const timeB = new Date(b[dateKey]).getTime() if (order === 'asc') { return timeA - timeB } // default 'desc' descending order return timeB - timeA } }
// Config for router angular.module("myApp") .run( [ "$rootScope","$state","$stateParams", function($rootScope, $state, $stateParams) { //将以下两个服务添加到根作用域方便使用 $rootScope.$state = $state; $rootScope.$stateParams = $stateParams; } ] ) ...
/* global artifacts */ const args = require('./args'); const Relay = artifacts.require('Relay'); module.exports = async (deployer) => { const { genesis, height, anchorHeigth, anchorParentTime, anchorNBits } = args; deployer.deploy(Relay, genesis, height, anchorHeigth, anchorParentTime, anchorNBits); };
require('./bootstrap'); window.Vue = require('vue'); import router from './router/index' import AxiosApi from './axios' import store from './store/store' export const app = new Vue({ el: '#app', router, AxiosApi, store });
import axios from 'axios' import { MessageBox, Message } from 'element-ui' import store from '@/store' import { getToken } from '@/utils/auth' axios.defaults.headers.post['Content-Type'] = 'application/x-www-form-urlencoded' // create an axios instance const service = axios.create({ baseURL: process.env.VUE_APP_BASE...
'use strict'; var invariant = require('../vendor/invariant'); var constants = require('./constants'); var client = require('./client'); var getUser = require('./get_user'); /** * Services all have the same constructor pattern: you initialize them * with an access token and options, and they validate those arguments...
#!/usr/bin/env python # -*- coding: utf-8 -*- # # ndexsignorloader documentation build configuration file, created by # sphinx-quickstart on Fri Jun 9 13:47:02 2017. # # This file is execfile()d with the current directory set to its # containing dir. # # Note that not all possible configuration values are present in t...
""" # --------------------------------------------------------------------------------- # -*- coding: utf-8 -*- ----------------------------------------------------------------------------------- # Copyright (c) Microsoft # Licensed under the MIT License. # Written by Bin Xiao (Bin.Xiao@microsoft.com) # Modified by Xin...
/** * 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. * * * @format */ 'use strict'; /** * A fast test to determine if two values are equal scalars: * - compares scalars such as bool...
""" This file offers the methods to automatically retrieve the graph Pseudomonas taeanensis. The graph is automatically retrieved from the STRING repository. Report --------------------- At the time of rendering these methods (please see datetime below), the graph had the following characteristics: Datetime: 2021...
from __future__ import unicode_literals from django.shortcuts import render_to_response from django.template import RequestContext from django.utils.translation import ugettext_lazy as _ from .api import setup_items def setup_list(request): context = { 'object_navigation_links': setup_items, 'ti...
import React from 'react'; import './AboutCard.scss'; export default function AboutCard (){ return ( <div className="about-card"> <h2>Software Developer</h2> <p> Hello I am software developer, who is passionate about writing quality code that is tes...
"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...
var Demo=function(){var e=function(){var e=$(".theme-panel");1===$(".page-head > .container-fluid").size()?$(".theme-setting-layout",e).val("fluid"):$(".theme-setting-layout",e).val("boxed"),$(".top-menu li.dropdown.dropdown-dark").size()>0?$(".theme-setting-top-menu-style",e).val("dark"):$(".theme-setting-top-menu-sty...
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@syncfusion/ej2-base"),require("@syncfusion/ej2-data"),require("@syncfusion/ej2-navigations"),require("@syncfusion/ej2-inputs"),require("@syncfusion/ej2-buttons"),require("@syncfusion/ej2-dropdowns"),require("@syncfusion/ej2-lists"),...
const {MongoDB} = require(`./adapters/Mongo/MongoDB`); const {Database} = require(`./adapters/Database`) exports.Database = Database; exports.MongoDB = MongoDB;
//******************************************************* // and here are the definitions of the image operators //******************************************************* function imageFromValue(val) { if (val.ctype === 'image') { return val.value; } if (val.ctype === 'string' && images.hasOwnPrope...
const fetch = require('node-fetch').default || require('node-fetch') // Webpack will sometimes export default exports in different places const { getOperations } = require('../operations') const { addBody } = require('./body.js') const { parseResponse, getFetchError } = require('./response.js') const { shouldRetry, w...
from vnpy.gateway.loopring.ethsnarks.eddsa import PureEdDSA, PoseidonEdDSA from vnpy.gateway.loopring.ethsnarks.field import FQ, SNARK_SCALAR_FIELD from vnpy.gateway.loopring.ethsnarks.poseidon import poseidon_params, poseidon from vnpy.gateway.loopring.ethsnarks.eddsa import Signature, SignedMessage import urllib impo...
var YGJS_Set = {}; YGJS_Set.Model = Ext.define('YGJS_Model', { extend: 'Ext.data.Model', fields: [ //js_dd,sal_no,sal_name,dep_name,js_no,itm,qty,up,amt,is_add,rem {name: 'js_dd', type: 'date' }, { name: 'hsal_no', type: 'string' }, { name: 'sal_no', type: 'string' }, {...
// polyfill for Array.flat() if (!Array.prototype.flat) { Array.prototype.flat = function() { var depth = arguments[0]; depth = depth === undefined ? 1 : Math.floor(depth); if (depth < 1) return Array.prototype.slice.call(this); return (function flat(arr, depth) { var len = arr.length >>> 0; ...
function managerCard(manager) { return ` <div class="col-sm-4"> <div class='card employee-card'> <div class='card-header'> <h2 class='card-title'>${manager.name}</h3> <h4>${manager.getRole()}<h4> </div> <div class="card-body"> <ul class="list-group"> <li class="list-gro...
module.exports={A:{A:{"2":"H D G E A B GB"},B:{"1":"z J L N I","2":"C p"},C:{"1":"0 3 4 6 8 9 i j k l m n o M q r s t u v w x y DB AB BB","2":"2 5 bB F K H D G E A B C p z J L N I O P Q R S T U V W X Y Z a c d e f g h ZB TB"},D:{"1":"0 3 4 6 8 9 f g h i j k l m n o M q r s t u v w x y DB AB BB NB HB b dB IB JB KB LB","...
import json import decimal import pytest from pytest import fixture from six import BytesIO from chalice import app from chalice import local, BadRequestError, CORSConfig from chalice import Response class ChaliceStubbedHandler(local.ChaliceRequestHandler): requestline = '' request_version = 'HTTP/1.1' ...
/* Template Name: Color Admin - Responsive Admin Dashboard Template build with Twitter Bootstrap 3.3.7 Version: 2.1.0 Author: Sean Ngu Website: http://www.seantheme.com/color-admin-v2.1/admin/html/ */ var handleDataTableCombinationSetting = function() { "use strict"; if ($('#data-table').length !==...
"use strict"; const lua = require('../../src/lua.js'); const lauxlib = require('../../src/lauxlib.js'); const lualib = require('../../src/lualib.js'); const {to_luastring} = require("../../src/fengaricore.js"); const checkload = ` local function checkload (s, msg) assert(string.find(select(2, load(s)), msg)...
"use strict";exports.__esModule=!0,exports.default=void 0;var _chart=require("@superset-ui/chart"),_lib=_interopRequireDefault(require("@airbnb/lunar/lib")),_transformProps=_interopRequireDefault(require("./transformProps")),_createMetadata=_interopRequireDefault(require("./createMetadata")),_buildQuery=_interopRequire...
import Type from '../orm/Type' export default { mutations: { setTypes(state, payload) { state.types = payload; }, setType(state, payload) { state.types.push(payload) } }, getters: { getTypes(state) { return Type.query().all(); ...
var clover = new Object(); // JSON: {classes : [{name, id, sl, el, methods : [{sl, el}, ...]}, ...]} clover.pageData = {"classes":[{"el":151,"id":7237,"methods":[{"el":38,"sc":5,"sl":35},{"el":74,"sc":5,"sl":40},{"el":97,"sc":5,"sl":76},{"el":150,"sc":5,"sl":99}],"name":"UsageVerifyTest","sl":31}]} // JSON: {test_ID...
import React from "react"; import PropTypes from "prop-types"; import moment from "moment/moment"; import TimePicker from "rc-time-picker"; import "rc-time-picker/assets/index.css"; import StyledTimePicker from "./index"; const disabledMinutes = () => { return [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; }; const disabledHours ...
const form = document.querySelector(".typing-area"), incoming_id = form.querySelector(".incoming_id").value, inputField = form.querySelector(".input-field"), sendBtn = form.querySelector("button"), chatBox = document.querySelector(".chat-box"); form.onsubmit = (e)=>{ e.preventDefault(); } inputField.focus(); inpu...
import template from './sw-media-list-selection.html.twig'; import './sw-media-list-selection.scss'; const { Component, Mixin, State } = Shopware; Component.register('sw-media-list-selection', { template, mixins: [ Mixin.getByName('notification') ], props: { entity: { typ...
self.__precacheManifest = (self.__precacheManifest || []).concat([ { "revision": "5d53d6639058c008deb36ad79b64d1a4", "url": "./index.html" }, { "revision": "bd9913be42b3ff5c9e3b", "url": "./static/css/main.94c10ad5.chunk.css" }, { "revision": "f2d5427cc4745cc5fa6c", "url": "./static/js...
/* * Copyright 2020 The Magma Authors. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, *...