text
stringlengths
2
1.04M
/*! * stack-admin-theme (https://pixinvent.com/bootstrap-admin-template/stack) * Copyright 2017 PIXINVENT * Licensed under the Themeforest Standard Licenses */
// export const BASE_URL = 'http://localhost:9004/backend'; export const BASE_URL = 'https://ojt-management.link/backend'; export const getRequiredAuthenHeader = (token) => ({ 'Content-Type': 'application/json', Authorization: `Bearer ${token}` }); export const getRequiredAuthenHeaderFormData = (token) => ({ 'Co...
import math from 'mathjs'; export default function(buttonProps, display, result) { result.total = math.unaryMinus(result.total); display.currentDisplay = math.format(result.total); return { display, result }; };
const regex = /\n\n<!-- probot = (.*) -->/ module.exports = (context, issue = null) => { const github = context.github const prefix = context.payload.installation.id if (!issue) issue = context.issue() return { async get (key = null) { let body = issue.body if (!body) { body = (await...
import request from '@/utils/request' export function add(data) { return request({ url: 'api/yxSystemConfig', method: 'post', data }) } export function del(id) { return request({ url: 'api/yxSystemConfig/' + id, method: 'delete' }) } export function edit(data) { return request({ url...
const plover = require('plover'); const util = require('./util'); const installLogger = require('./install-logger'); /* eslint no-process-env: 0, no-console: 0 */ module.exports = function(options) { options = options || {}; const settings = util.loadSettings(options.applicationRoot); const restore = install...
import GraphVertex from '../../../data-structures/graph/GraphVertex'; import GraphEdge from '../../../data-structures/graph/GraphEdge'; import Graph from '../../../data-structures/graph/Graph'; import floydWarshall from '../floydWarshall'; describe('floydWarshall', () => { it('should find minimum paths to all vertic...
// Copyright Joyent, Inc. and other Node contributors. // // 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, modi...
const packageName = 'simple-line-icons' const distName = 'simple-line-icons' const iconSetName = 'Simple Line Icons' const prefix = 'sli' const iconPath = 'src/svgs' const svgPath = '/*.svg' // ------------ const glob = require('glob') const { writeFileSync } = require('fs') const { copySync } = require('fs-extra') c...
/* @flow */ var React = require('react'); var Example = React.createClass({ propTypes: { literal: React.PropTypes.oneOf(["foo"]).isRequired }, }); var ex1 = <Example literal="foo" />; var ex2 = <Example literal="bar" />;
import React from 'react' // import React, { useContext } from 'react' import Layout from '../../components/Layout' import PreviousPage from '../../components/PreviousPage' import NextPage from '../../components/NextPage' import Text from '../../components/Text' // import LanguageContext from '../../context/language-co...
import Vue from "vue"; Vue.component('Sport', require('./components/Sport').default) Vue.component('SportsList', require('./components/SportsList').default)
import EffectComposer from './EffectComposer'; import postProcessingConfig from '../../config/postProcessing'; /** * PostProcessing */ class PostProcessing { /** * Constructor function * @param {Scene} scene Scene instance * @param {Renderer} renderer Renderer instance * @param {Camera} camer...
import React from 'react'; import { Switch, Route } from 'react-router'; import routes from './constants/routes'; import App from './containers/App'; import {Link} from 'react-router-dom' import LoginPage from './containers/LoginPage'; import RegisterPage from './containers/RegisterPage'; import GuestAboutPage from '....
import { declare } from "@babel/helper-plugin-utils"; export default declare(api => { api.assertVersion(7); return { name: "syntax-function-bind", manipulateOptions(opts, parserOpts) { parserOpts.plugins.push("functionBind"); }, }; });
/************************************************************* * * MathJax/localization/sk/TeX.js * * Copyright (c) 2009-2018 The MathJax Consortium * * 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...
var searchData= [ ['getcleartablesql_74',['getClearTableSql',['../class_base_table.html#ae2629b5ac8ce9dd1a9a483f0843d4bf6',1,'BaseTable']]], ['getcreatetablesql_75',['getCreateTableSql',['../class_base_table.html#a7de0b013b3af40ff671d2f80fc5b0aa5',1,'BaseTable']]], ['getdeletesql_76',['getDeleteSql',['../class_ba...
import { useEffect, useState } from "react"; import { useMoralis, useMoralisWeb3Api } from "react-moralis"; export const useERC20Transfers = () => { const { account } = useMoralisWeb3Api(); const { isInitialized, account: walletAddress, chainId } = useMoralis(); const [ERC20Transfers, setERC20Transfers] = useSta...
//Copyright {2016} {NIIT Limited, Wipro Limited} // // 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 ap...
var mongoose = require('mongoose'); var dbUrl = ''; var Account = require('../accountSchema.js'); var Action = require('../actionSchema.js'); var Answer = require('../answerSchema.js'); var Hint = require('../hintSchema.js'); var Session = require('../sessionSchema.js'); mongoose.connect(dbUrl, {useNewUrlParser: true}...
import axios from 'axios' export const saveTodo = (todo) => axios.post('http://localhost:3030/api/todos', todo); export const loadTodos = () => axios.get('http://localhost:3030/api/todos'); export const destroyTodo = (id) => axios.delete(`http://localhost:3030/api/todos/${id}`); export const updateTodo = (tod...
import request from '@/utils/request'; const pref = '/services/monitor'; /** * 获取所有设备数据 */ export async function getAllDevice() { return request(`${pref}/lookup/getAllDeviceTypeById/1083`); } /** * 获取所有区域 */ export async function getAllArea() { return request(`${pref}/area/list`); } /** * 新增设备信息 * @param ...
Bridge.assembly("TestProject", function ($asm, globals) { "use strict"; require(["Test", "Test", "Test"], function (Test, lib2, lib3) { /** @namespace Test.BridgeIssues.N3488 */ /** * The output here must be something like: require(["Test", "Test", "Test"], function (Test...
/** * Created by bgllj on 2016/9/7. */ // // Vue.filter('lang', ) console.info("[module] - lang.js") var VueLang = { currentLANG: null, fiterFunc: function (value, postfix) { VueLang.LANG_DEBUG[value + (postfix||'')] = value; if (VueLang.currentLANG == undefined...
const quick = require('quick-tmp')('chrome-launch') const spawn = require('child_process').spawn const chrome = require('chrome-location') const copy = require('shallow-copy') const rimraf = require('rimraf') module.exports = launchChrome function launchChrome(uri, opts) { var closed = false opts = Array.isA...
'use strict'; const fs = require('fs'); const request = require('request'); const SlackWebClient = require('@slack/client').WebClient; const jimp = require('jimp'); module.exports = classifyImage; /** * @param {FaasEvent} event * @param {FaasContext} context * @return {Promise|*} */ function classifyImage(event,...
// ml5.js: Pose Estimation with PoseNet // The Coding Train / Daniel Shiffman // https://thecodingtrain.com/Courses/ml5-beginners-guide/7.1-posenet.html // https://youtu.be/OIo-DIOkNVg // https://editor.p5js.org/codingtrain/sketches/ULA97pJXR let video; let poseNet; let pose; let skeleton; function setup() { create...
import React from 'react'; import EventListItem from './EventListItem'; const CreatedEventList = ({events, handleDeleteEvent}) => { return ( <div> <h1 className="text-gray-900 text-center text-3xl font-semibold pt-6 pb-6">My Events</h1> <div className="grid grid-cols-3 gap-4"> ...
/** * oAuth callback. Encrypts the access token and sends the new token with the response, */ const tokenService = require('../helpers/jwt') const logger = require('../logger') /** * * @param {object} req * @param {object} res * @param {function} next */ module.exports = function callback (req, res, next) { ...
/* * 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, *...
/** * <DataBlock view|style={} textViewStyle={} textStyle={} inputStyle={} /> * * +---------------------+ * | Text | * +---------------------+ * | ___________________ + * +---------------------+ * * Kevin Lee 16 Aug 2017 **/ import React from 'react' import { View, StyleSheet, ViewPropTypes } fr...
window.onload = function(){ console.log('Ready') } function statusChangeCallback(response) { console.log('statusChangeCallback'); console.log(response); // The response object is returned with a status field that lets the // app know the current login status of the person. // Full docs on the res...
import * as actionType from '../actions/ActionTypes' var cartCount = 0; export default function CartReducer(state=[],action) { switch(action.type) { case actionType.ADD_CART : var product = {...action.payload.product,qty:1,cartid:++cartCount} ret...
const BaseAbility = require('./baseability.js'); const Costs = require('./costs.js'); class MarshalCardAction extends BaseAbility { constructor() { super({ cost: [ Costs.payReduceableGoldCost('marshal'), Costs.playLimited() ] }); this....
/* Библиотека работа с файлами */ GlFile = function(id){ var file;//дескриптор файла //конструктор file = document.getElementById(id).files[0]; console.log(file); //конец //private //процесс считывания function upload(evt){ if (evt.lengthComputable) { // evt.loaded and evt.total are ProgressEvent prope...
/** * @overview 核心库 * * ============================================================================= * Compat - Polyfill 浏览器兼容高级特性 * ============================================================================= * * List: * Array.forEach * Array.includes * Object.assign * * RadioNodeList.value...
'use strict'; /* * This is the application entry point. * * It is a Immediately Invoked Function Expression. (IIFE) * * We declare explicitly witch globals we want to use. * By doing this we got a clear list of dependencies, we can deal easily with long namespaces. * We can also aliases the dependencies used in...
import firebase, { googleProvider } from '../firebase/firestore'; export const loginUser = userDetails => ({ type: 'LOGIN', user: { uid: userDetails.uid, name: userDetails.displayName || userDetails.email || 'User' } }); export const startLogin = () => { return dispatch => firebase .auth() ...
namespaceService.$inject = ['$stateParams']; /** * namespaceService - Service for getting namespaces from the API. * @param {Object} $stateParams Angular's $stateParams object. * @return {Object} Object for interacting with the namespace API. */ export default function namespaceService($stateParams...
import { DivIcon, Marker, DomEvent } from 'leaflet'; import { polygons, modesKey, notifyDeferredKey } from '../FreeDraw'; import { createFor } from './Polygon'; import { updateFor } from './Layer'; import { CREATE, EDIT } from './Flags'; import mergePolygons from './Merge'; /** * @method createEdges * @param {Object...
import { take, takeLatest, call, put, select, fork, cancel, } from 'redux-saga/effects'; import { LOCATION_CHANGE, push } from 'connected-react-router'; import Api from '../../../utils/Api'; import * as types from './constants'; import * as actions from './actions'; import { makeSelectOne } from './select...
// Import vue component import Component from './VubularLayout.vue'; export default { install(Vue, options) { Vue.component(Component.name, Component) } };
'use strict'; // returns configured servers const fn = require('../fn'); const fs = require('../fs'); const Server = require('./server'); module.exports = (serverConfigs) => { // prepare server auth options and JWT according config const preparedServers = []; serverConfigs.forEach((config) => { // ...
const DateScalar = require('./Date'); const TimeScalar = require('./Time'); const NumericScalar = require('./Numeric'); const BigIntScalar = require('./BigInt'); module.exports = { DateScalar, TimeScalar, NumericScalar, BigIntScalar, }
import request from '../utils/request'; import { serverwebapi } from '../utils/constant'; export async function list(params) { return request(`${serverwebapi}/interfaceType/list`, { method: 'POST', body: { ...params, method: 'post', }, }); } export async function del(params) { return request(`...
// Copyright (c) 2021 Jamie Kyle. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /*--- esid: sec-object.hasown description: Properties - [[HasOwnProperty]] (literal own getter property) author: Jamie Kyle features: [Object.hasOwn] ---*/ var o = { get foo() { return ...
// from data.js var tableData = data; // YOUR CODE HERE! // Creating References var $tbody = d3.select("tbody"); var button = d3.select("#filter-btn"); var inputFieldDate = d3.select("#datetime"); var inputFieldCity = d3.select("#city"); var columns = ["datetime", "city", "state", "country", "shape", "durationMinutes...
var mongoose = require('mongoose'); var eventSchema = new mongoose.Schema({ id: Number, title: String, shortDescription: String, description: String, pictureURL: String, category: String, season: String, owners: [String], mentors: [String], open: Boolean, location: String, science: Boolean, n...
"use strict"; var myGreeting = setTimeout(function sayHi() { return('Hello, Mr. Universe!'); }, 2000); // With a function defined separately /*function sayHi() { return('Hello Mr. Universe!'); } //let myGreeting = setTimeout(sayHi, 2000);*/
let diff = require('./list-diff'); let list_a = [1, 2, 3, 4, 5, 6, 7, 8, 9, 100, 123123] let list_b = [3, 10, 4, 55, 9, 99, 7] let patches = diff(list_a, list_b) let { INSERT, REORDER, DELETE } = diff; // patches.forEach(patch => { // let { type, idx, item } = patch; // if (type === DELETE){ // ...
/* Copyright (c) 2015-present, salesforce.com, inc. All rights reserved */ /* Licensed under BSD 3-Clause - see LICENSE.txt or git.io/sfdc-license */ /* eslint-disable import/no-mutable-exports */ import deprecatedProperty from '../../utilities/warning/deprecated-property'; import deprecatedPropertyValue from '../../u...
import view from './views/location' import reducer from './reducer' export { view, reducer }
import React from 'react' import List from './Elements/List' const Tags = ({ tags }) => ( <List items={tags} /> ) export default Tags
import { html } from 'lit-element'; // @ts-ignore import styles from './style.css'; /** * * @param {any} self */ export const template = self => function () { // @ts-ignore // const { topic } = this; console.log(this); return html` <style> ${styles} </style> History `; }.bind(self)();
import { getCoreFilter } from '../shared/filter' import getDefaultImages from '../utils/defaultImages' import ProductCountdown from '../mixins/ProductCountdown' import { GroupImage } from '../mixins/GroupImage' import ProductImages from '../blocks/Product/ProductImages' import Dropdown from '../blocks/Product/ProductDr...
/* * Copyright (c) 2016, Two Sigma Open Source * 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...
/******/ (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...
'use strict'; var utils = require('./utils'); function setWallpaper(settings, config) { // Grab the default wallpaper and convert it into a base64 string let devpixels = ''; if (config.GAIA_DEV_PIXELS_PER_PX != '1') { devpixels = '@' + config.GAIA_DEV_PIXELS_PER_PX + 'x'; } let wallpaper = utils.resolv...
import { CLOSE_LOADER, OPEN_LOADER } from 'action-types'; import showLoaderReducer from './show-loader.reducer'; describe('Reducer: showLoader', () => { it('opens the loader', () => { const action = { type: OPEN_LOADER }; const state = showLoaderReducer(false, action); expect(state).toEqual(true); }); ...
const blockTags = [ 'div', ]; window.nextgenEditor.addPlugin('GravPreserveBlock', { init() { const fromPlugins = window.nextgenEditor.getVariable('preserveBlockTags'); blockTags.concat(fromPlugins) .filter((value, index, self) => self.indexOf(value) === index) .forEach((tagName) => { c...
let fs = require('fs') let code = fs.readFileSync('lib/sequence.js').toString() module.exports = (request, response)=>{ response.setHeader('content-type', 'text/html') let body = ` <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"/> <s...
import { applyMiddleware, createStore } from 'redux'; import thunk from 'redux-thunk'; import rootReducer from './Reducers'; export default function (initialState = {}) { return createStore(rootReducer, initialState, applyMiddleware(thunk)); }
var React = require('react'); var assign = require('domkit/appendVendorPrefix'); var insertKeyframesRule = require('domkit/insertKeyframesRule'); /** * @type {Object} */ var keyframes = { '0%, 100%': { transform: 'scale(0)' }, '50%': { transform: 'scale(1.0)' } }; /** * @type {Strin...
function solve() { class Employee { constructor(name, age) { if (new.target === Employee) { throw new Error('Cannot instantiate directly.') } this.name = name; this.age = age; this.salary = 0; this.tasks = []; } ...
/**! * @fileOverview Kickass library to create and place poppers near their reference elements. * @version 1.14.3 * @license * Copyright (c) 2016 Federico Zivolo and contributors * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files...
// Download the Node helper library from twilio.com/docs/node/install // These identifiers are your accountSid and authToken from // https://www.twilio.com/console const accountSid = 'ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'; const authToken = 'your_auth_token'; const client = require('twilio')(accountSid, authToken); clie...
import React from 'react' export default function Navbar(){ return( <div className="navbar"> <h1>San Fernando Hospital</h1> <h1>Vaccine Pre-registration</h1> <h2>Pre-registration for vaccine</h2> <h3>(We will notify you once vaccine is available)</h3> </div> ) }
import React from 'react'; import AppProvider from '../../../src/components/AppProvider'; const theme = { colors: { topBar: { background: '#357997', }, }, logo: { width: 124, topBarSource: 'https://cdn.shopify.com/s/files/1/0446/6937/files/jaded-pixel-logo-color.svg?62156480400700109...
const api = require('./net').default let Property = { async create (state) { return await api.post('/properties', {'value': state}, {}) } } export default Property;
/** * https://tools.ietf.org/html/rfc7515#appendix-A.5 */ const fs = require('fs'); const path = require('path'); const test = require('tap').test; const jwa = require('../../'); const input = fs.readFileSync(path.join(__dirname, 'input.txt')); const algo = jwa('none'); test('A.5', function (t) { t.plan(2); ...
'use strict'; /** * compact.js * * Bulk inserts 1000 documents and builds indexes. Then alternates between compacting the * collection and verifying the number of documents and indexes. Operates on a separate collection * for each thread. */ load('jstests/concurrency/fsm_workload_helpers/drop_utils.js'); // for...
/* * This file is part of the TYPO3 CMS project. * * It is free software; you can redistribute it and/or modify it under * the terms of the GNU General Public License, either version 2 * of the License, or any later version. * * For the full copyright and license information, please read the * LICENSE.txt file ...
export { default as BookingDatesForm } from './BookingDatesForm/BookingDatesForm'; export { default as ContactDetailsForm } from './ContactDetailsForm/ContactDetailsForm'; export { default as EditListingAvailabilityForm } from './EditListingAvailabilityForm/EditListingAvailabilityForm'; export { default as EditListingD...
function emitWarning() { if (!emitWarning.warned) { emitWarning.warned = true; console.log( 'Deprecation (warning): Using file extension in specifier is deprecated, use "highlight.js/lib/languages/java" instead of "highlight.js/lib/languages/java.js"' ); } } emitWarning(); impo...
import React from "react"; import * as Icon from 'react-bootstrap-icons'; const Footer = () =>{ return( <div className="text-center position-relative "> <footer className=" bg-dark justify-content-center" style={{paddingTop:"20px",margin:0}}> <div className="container text-center"> <ul cla...
import React, { Component } from "react"; import { Link } from "react-router-dom"; import { Col, Container, Row } from "reactstrap"; // Modal Video import ModalVideo from "react-modal-video"; import "../../../node_modules/react-modal-video/scss/modal-video.scss"; //import bg image import bgimg from "../../assets/imag...
var WebSocketServer = require('ws').Server, wss = new WebSocketServer({port: 8000}), CLIENTS=[], USERDATA=[]; wss.on('connection', function(ws) { CLIENTS.push(ws); ws.on('message', function(message) { console.log('received:', message); var obj = JSON.parse(message); if(obj.state == 'new'){ ...
class Food { constructor() { this.position = board.getRandomEmptyCell(); } draw() { let cellDivide = board.cellSize / 2; ctx.beginPath(); ctx.arc(this.position.x * board.cellSize + cellDivide, this.position.y * board.cellSize + cellDivide, cellDivide, 0, 2 * Math.PI); ctx.closePath(); ctx.fillStyle = 'r...
import { __assign } from "tslib"; import * as React from 'react'; import { StyledIconBase } from '../../StyledIconBase'; export var ShieldStar = React.forwardRef(function (props, ref) { var attrs = { "fill": "currentColor", "xmlns": "http://www.w3.org/2000/svg", }; return (React.createElemen...
module.exports = { entry: [ './src/index.js' ], output: { path: __dirname, pulicPath: '/', filename: 'bundle.js' }, module: { loaders: [{ exclude: /node_modules/, loader: 'babel', query: { presets: ['react', 'es2015', 'stage-1'] } }] }, resolve: { ...
import React,{Fragment,useState} from "react"; const Editcliente = ({todo}) =>{ const [rfc,setRfc] = useState(todo.rfc); //edit data const updateRfc = async (e) =>{ e.preventDefault(); try { const body = {rfc}; const response = await fetch(`http://localhost:50...
(function () { 'use strict'; angular.module('BlurAdmin.theme.components') .directive('chat', chat); /** @ngInject */ function chat() { return { restrict: 'E', templateUrl: 'app/theme/components/chat/chat.html', controller: 'ChatCtrl', co...
import { useEffect, useState } from 'react'; import ResizeObserver from 'resize-observer-polyfill'; /** * This hook helps dynamically resizes the graph's data */ const useResizeObserver = (ref) => { const [dimensions, setDimensions] = useState(null); useEffect(() => { const observeTarget = ref.current; ...
module.exports = { plugins: [ 'filenames', 'jsdoc', 'mocha' ], extends: [ 'eslint:recommended', 'plugin:import/errors', 'plugin:import/warnings', 'plugin:jsdoc/recommended', 'plugin:mocha/recommended', 'plugin:you-dont-need-lodash-underscore/compatible' ], parserOptions: {}, env: { ...
/* * Copyright (C) 2012 Google Inc. 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 conditio...
const ng = require('angular'); const controller = require('./user.ctrl'); /** * [module description] * @param {[type]} "porybox.add" [description] * @param {[type]} [] [description] * @return {[type]} [description] */ ng.module('porybox.userMenu', []) .component('userMenu', { ...
/* Copyright 2016 Google Inc. 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 required by applicable law or a...
/* -*- Mode: Javascript; indent-tabs-mode:nil; js-indent-level: 2 -*- */ /* vim: set ts=2 et sw=2 tw=80: */ /************************************************************* * * MathJax/jax/output/HTML-CSS/autoload/maction.js * * Implements the HTML-CSS output for <maction> elements. * * ----------------------...
var _ = require('underscore'); var $ = require('jquery'), Backbone = require('backbone'), friendInviteTemplate = require('../templates/friendInvite.tpl'), friendInviteSucessTemplate = require('../templates/friendInviteSuccess.tpl'); var config = require('../conf'); Backbone.$ = $; exports = module.exports = Backbo...
var Rx = require('rxjs/Rx'); Rx.Observable.interval(1000).map((value) => "x" + value).take(4) .mergeMapTo( Rx.Observable.interval(400).take(4), (outerValue, innerValue, outerIndex, innerIndex) => { return { outerIndex: outerIndex, innerIndex: innerIndex, ...
const comidas = ['Pizza', 'Frango', 'Carne', 'Macarrão']; // Remova o primeiro valor de comidas e coloque em uma variável const primeiroValor = comidas.shift(); console.log(primeiroValor); // Remova o último valor de comidas e coloque em uma variável const UltimoValor = comidas.pop(); console.log(UltimoValor); // Adici...
//# sourceMappingURL=app.335fb5d2.js.map
/** * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components * @version v24.0.0 * @link http://www.ag-grid.com/ * @license MIT */ var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics ...
import * as R from 'ramda'; import { assert } from 'chai'; import * as RA from '../src'; import Symbol from './shared/Symbol'; describe('isMap', function() { context('given a map', function() { specify('should return true', function() { assert.isTrue(RA.isMap(new Map())); assert.isTrue(RA.isMap(new ...
// import { ProjectOptions } from '@vue/cli-service' /** * @type { ProjectOptions } */ const config = { publicPath: process.env.NODE_ENV === 'production' ? './' : '/', productionSourceMap: false, devServer: { port: 3100, open: true, }, css: { loaderOptions: { less: { lessOptions: ...
load("201224b0d1c296b45befd2285e95dd42.js"); // |jit-test| module import { a } from "module1.js"; import { b } from "module2.js"; import { c } from "module3.js"; import d from "module4.js"; assertEq(a, 1); assertEq(b, 2); assertEq(c, 3); assertEq(d, 4);
/**! * lightgallery.js | 1.0.1 | December 22nd 2016 * http://sachinchoolur.github.io/lightgallery.js/ * Copyright (c) 2016 Sachin N; * @license GPLv3 */(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var ...
import Link from './Link' import siteMetadata from '@/data/siteMetadata' import SocialIcon from '@/components/social-icons' export default function Footer() { return ( <footer> <div> <div data-mooform-id="c6742ad0-dada-4101-9c76-265c86aa89ed"></div> </div> <div className="flex flex-col ...
import React from 'react'; import PropTypes from 'prop-types'; import { parse as parseDoctrine } from 'doctrine'; import Markdown from '../Markdown'; import styles from './styles.scss'; function generatePropType(type) { let values; switch (type.name) { case 'func': return 'function'; case 'custom'...
import { filter } from '../array'; import mergeSort from '../array/mergeSort'; export const getReachable = (getNeighbors, resist) => (start, maxResist = Infinity) => { const result = []; const frontier = [start]; const costSoFar = new Map(); costSoFar.set(start, 0); let current = start; while (f...