text
stringlengths
2
1.04M
import T from 'ant-design-vue/es/table/Table' import get from 'lodash.get' export default { data () { return { needTotalList: [], selectedRows: [], selectedRowKeys: [], localLoading: false, localDataSource: [], localPagination: Object.assign({}, this.pagination) } }, ...
/** * Copyright 2017 Telerik AD * ...
import * as Sentry from '@sentry/browser'; import { escape } from 'lodash'; import { spriteIcon } from './lib/utils/common_utils'; const FLASH_TYPES = { ALERT: 'alert', NOTICE: 'notice', SUCCESS: 'success', WARNING: 'warning', }; const FLASH_CLOSED_EVENT = 'flashClosed'; const getCloseEl = (flashEl) => { r...
const BaseValidator = use('App/Validators/BaseValidator'); class ResendConfirmationEmail extends BaseValidator { get rules() { return { email: 'required|email', }; } } module.exports = ResendConfirmationEmail;
/** * Connections * (sails.config.connections) * * `Connections` are like "saved settings" for your adapters. What's the difference between * a connection and an adapter, you might ask? An adapter (e.g. `sails-mysql`) is generic-- * it needs some additional information to work (e.g. your database host, password...
import browser from "webextension-polyfill"; const msg = { request: (type, args, overwrites) => { return browser.runtime .sendMessage({ application: "LBE", prompt: true, type: type, args: args, origin: { internal: true }, ...overwrites, }) .then((...
module.exports = { // devices to watch (used with device local names) watchNames: ['Amazfit Bip Watch'], // how long minimum should be device not visible watchTimeout: 1000 * 10, // react on minimum RSSI (signal level, should be negative value) watchMinRssi: -55, // run shell cmd if devices is visible ...
import create from "zustand"; import produce from "immer"; import { v4 as uuidv4 } from 'uuid'; export const useStore = create((set) => ({ todoList: [ { id: uuidv4(), name: "Get stuff", isDone: false, date: new Date(), }, ], addTodo: (payload) => set( produce((draft) => ...
const { gql } = require('apollo-server-express'); module.exports = gql` type Video { id: ID! title: String author: String viewer: Int url: String like: Int dislike: Int } input VideoInput { title: String author: String viewer: Int url: String } extend type Que...
๏ปฟ/** * ๆจกๅ—ๅ๏ผšๅ…ฑ้€š่„šๆœฌ * ็จ‹ๅบๅ: ้€š็”จๅทฅๅ…ทๅ‡ฝๆ•ฐ * Copyright(c) 2013-2015 liuhuisheng [ liuhuisheng.xm@gmail.com ] **/ var utils = {}; /** * ๆ ผๅผๅŒ–ๅญ—็ฌฆไธฒ * ็”จๆณ•: .formatString("{0}-{1}","a","b"); */ utils.formatString = function () { for (var i = 1; i < arguments.length; i++) { var exp = new RegExp('\\{' + (i - 1) + '\\}', 'gm');...
/** * Shopware 5 * Copyright (c) shopware AG * * According to our dual licensing model, this program can be used either * under the terms of the GNU Affero General Public License, version 3, * or under a proprietary license. * * The texts of the GNU Affero General Public License with an additional * permission...
/* * FCKeditor - The text editor for Internet - http://www.fckeditor.net * Copyright (C) 2003-2010 Frederico Caldeira Knabben * * == BEGIN LICENSE == * * Licensed under the terms of any of the following licenses at your * choice: * * - GNU General Public License Version 2 or later (the "GPL") * http://www...
import { makeStyles } from "@material-ui/styles" export default makeStyles({ root: { padding: "0 64px 96px", "@media screen and (max-width: 960px)": { padding: "0 32px 48px", }, }, title: { margin: 0, padding: "96px 0", fontSize: 42, textAlign: "center", "@media screen and...
/* * Copyright (c) 2016, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 Inc. licenses this file to you 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/li...
describe('when property order is alphabetical', () => { const validCss = fixture('property-order-valid.css') beforeEach(() => { return result = stylelint.lint({ code: validCss, config, }) }) it('does not error', () => { return result.then(data => { expect(data.errored).toBe...
;(function(window) { 'use strict'; var Waves = Waves || {}; var $$ = document.querySelectorAll.bind(document); // Find exact position of element function isWindow(obj) { return obj !== null && obj === obj.window; } function getWindow(elem) { return isWindow(elem) ? elem : ...
const a = ( <div className={require("babel-plugin-react-directives/runtime/classnames.js")( "bar" )}/> );
module.exports = (on, config) => { on('before:browser:launch', (browser, launchOptions) => { if (browser.name === 'chrome' && browser.isHeadless) { launchOptions.args.push('--window-size=1400,1200') return launchOptions } }); on('task', { isFileExist }); } const { isFileExist } = requ...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.mergeAll = exports.unique = exports.hasValues = exports.isObject = exports.isString = void 0; function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; var ...
import React from 'react'; import PropTypes from 'prop-types'; import { bindActionCreators } from 'redux'; import { connect } from 'react-redux'; import styled from 'styled-components'; import HeaderLogo from './HeaderLogo'; import HeaderLeftMenu from './HeaderLeftMenu'; import HeaderRightMenu from './HeaderRightMenu';...
if (!getBuildConfiguration().parallelJS) quit(0); Array.buildPar(5, function() { return [].t = encodeURI })
(global["webpackJsonp"] = global["webpackJsonp"] || []).push([["components/nav-bar"],{ /***/ 477: /*!********************************************************************!*\ !*** D:/workspace/course/course_miniweixin/components/nav-bar.vue ***! \********************************************************************/ ...
var gapi=window.gapi=window.gapi||{};gapi._bs=new Date().getTime();(function(){var m=this,aa=function(a,b,c){return a.call.apply(a.bind,arguments)},ba=function(a,b,c){if(!a)throw Error();if(2<arguments.length){var d=Array.prototype.slice.call(arguments,2);return function(){var c=Array.prototype.slice.call(arguments);Ar...
/** * Welcome to your Workbox-powered service worker! * * You'll need to register this file in your web app and you should * disable HTTP caching for this file too. * See https://goo.gl/nhQhGp * * The rest of the code is auto-generated. Please don't update this file * directly; instead, make changes to your Wor...
(function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/cdk/testing')) : typeof define === 'function' && define.amd ? define('@angular/material/form-field/testing/control', ['exports', '@angular/cdk/testing'], factory) : (global = globa...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.transformArguments = void 0; function transformArguments(name, index) { return ['FT.ALIASADD', name, index]; } exports.transformArguments = transformArguments;
import getStyleProperty from './getStyleProperty' /** * Select all node that match the style object passed as parameter * @param {String} selector The css selector to use as base filter * @param {Object} style The style that has to match * @param {Object} [settings={}] A setting object ...
import Ext_Base from '../../../Ext/Base.js'; export default class Ext_data_schema_Role extends Ext_Base { static PROPERTIES() { return [ ]}; static EVENTS() { return [ {name:'ready', parameters:'cmp,cmpObj'}, {name:'created', parameters:'cmp'} ]}; static getProperties(properties) { properties = p...
/* * Copyright 2015 IBM Corp. * * 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 i...
"use strict"; class ListCursor { constructor({highlight_class, list}) { const config_ok = highlight_class && list && list.scroll_container_sel && list.find_li && list.first_key && list.prev_key && list.next_key; if ...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var tslib_1 = require("tslib"); tslib_1.__exportStar(require("./GroupedList"), exports); tslib_1.__exportStar(require("./GroupedList.base"), exports); tslib_1.__exportStar(require("./GroupedList.types"), exports); tslib_1.__exportStar(require(...
/********Week 5 Practice Test - Problem 3 ************************************** Let's create an class to represent a EvilDragon! ๐Ÿ‰ 1. Require the Dragon class from the `./problem-01-make-dragons.js` module. 2. Define an class named `EvilDragon` that inherits from the `Dragon` parent class you imported. The `Ev...
"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...
import * as singleSpa from "single-spa"; describe(`delayed-start`, () => { let myApp; // https://github.com/single-spa/single-spa/issues/555 it("will mount an application that began loading before start() was called", async () => { let loadPromise; singleSpa.registerApplication({ name: "delayed-s...
export default { ar: { signin: 'ุชุณุฌูŠู„ ุงู„ุฏุฎูˆู„', signin_message: 'ู‚ูู… ุจุชุณุฌูŠู„ ุงู„ุฏุฎูˆู„ ู„ุญูุธ ุงู„ู†ุชุงุฆุฌ ุงู„ุฎุงุตุฉ ุจูƒ ูˆู…ุดุงู‡ุฏุฉ ุณุฌู„ู‡ุง', signout: 'ุชุณุฌูŠู„ ุงู„ุฎุฑูˆุฌ', terms: 'ุดุฑูˆุท ุงู„ุงุณุชุฎุฏุงู…', privacy: 'ุณูŠุงุณุฉ ุงู„ุฎุตูˆุตูŠุฉ', about: 'ู…ุนู„ูˆู…ุงุช', account_settings: 'ุฅุนุฏุงุฏุงุช ุงู„ุญุณุงุจ', result_history: 'ุณุฌู„ ุงู„ู†ุชุงุฆุฌ', ...
export const Text = ({ children, size = 'f4' }) => ( <p className={`fw3 lh-copy ${size}`}>{children}</p> );
import request from '@/utils/request'; import { getPageSize } from '@/utils/common'; import {stringify} from 'qs' // 1ใ€ๆŸฅ่ฏขๅŠจๆ€่กจๅˆ—่กจ export async function selectDynamicTableList(params) { params.pageSize = params.pageSize || getPageSize(); return request(`/server/api/rule-table-version/selectRuleTableVersionList`, { ...
import { SET_INVITATIONS, ADD_INVITATION, REMOVE_INVITATION } from './type'; const defaultState = { invitations: [] } const reducer = (state = defaultState, action) => { switch(action.type) { case SET_INVITATIONS: return { ...state, invitations: [...action.payload] } case ADD_I...
import React from 'react'; import Question from '../Question' import Answer from '../Answer' import Vote from '../Vote' import NameWithIcon from '../NameWithIcon' import Comment from '../Comment' import { shallow } from 'enzyme' import sinon from 'sinon' import AnswerCreator from '../AnswerCreator'; import CommentCrea...
export SearchPanel from './SearchPanel/SearchPanel' export Login from './Login/Login' export ContentPenal from './ContentPenal/ContentPenal' export Column from './Column/Column' export FeedTab from './FeedTab/FeedTab' export SnackBar from './SnackBar/SnackBar' export TransitionItem from './TransitionItem/TransitionItem...
'use strict' var express = require('express'); var app = express(); var ws = require('express-ws')(app); var lib = require('./hub/lib') // settings var port = 8000 var basepath = 'pub' var dynamic = true const args = process.argv; for (let i = 2; i < args.length; i++) { if (args[i] === 'static') dynamic = false }...
import React, { Fragment } from 'react'; import { Card, CardBody, CardHeader, NavLink } from 'reactstrap'; import CodeHighlight from '../common/CodeHighlight'; import FalconCardHeader from '../common/FalconCardHeader'; import PageHeader from '../common/PageHeader'; const GettingStarted = () => ( <Fragment> <Page...
/** * This software is governed by the CeCILL-B license. If a copy of this license * is not distributed with this file, you can obtain one at * http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.txt * * Authors of STUdS (initial project): Guilhem BORGHESI (borghesi@unistra.fr) and Raphaรซl DROZ * Authors of la...
import React from 'react'; import PropTypes from 'prop-types'; import '../styles/Loop.css'; export class Loop extends React.Component { render() { return ( <ul> {this.props.items.map((o, k) => { const child = React.cloneElement(this.props.children, {data: o}); return ( ...
/** * Created by chandransh on 7/12/16. */
if (typeof __coverage__ === 'undefined') { __coverage__ = {}; } if (!__coverage__['build/aui-sortable-layout/aui-sortable-layout.js']) { } var __cov_Bkabxj96f5yfp8GqViY5TQ = __coverage__['build/aui-sortable-layout/aui-sortable-layout.js'];
/* eslint-disable flowtype/require-valid-file-annotation */ import TestServer from "fetch-test-server"; import app from "../app"; import { Document, View, Star, Revision, Backlink, CollectionUser, } from "../models"; import { flushdb, seed } from "../test/support"; import { buildShare, buildCollection, ...
var HDWalletProvider = require("truffle-hdwallet-provider"); // Be sure to match this mnemonic with that in Ganache! var mnemonic = "candy maple cake sugar pudding cream honey rich smooth crumble sweet treat"; module.exports = { networks: { development: { provider: function() { return new HDWallet...
๏ปฟ/* Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'colorbutton', 'ka', { auto: 'แƒแƒ•แƒขแƒแƒ›แƒแƒขแƒฃแƒ แƒ˜', bgColorTitle: 'แƒคแƒแƒœแƒ˜แƒก แƒคแƒ”แƒ แƒ˜', colors: { '000': 'แƒจแƒแƒ•แƒ˜', '800000': 'แƒ›แƒฃแƒฅแƒ˜ แƒจแƒ˜แƒœแƒ“แƒ˜แƒกแƒคแƒ”แƒ แƒ˜', '8B4513': 'แƒงแƒแƒ•...
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([[659],{TasW:function(e,a,c){"use strict";c.r(a);var t=c("q1tI"),s={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M883.7 578.6c4.1-22.5 6.3-45.5 6.3-68.5 0-51-10-100.5-29.7-147-19-45-46.3-85.4-81-120.1a375.79 37...
const { Client } = require('tplink-smarthome-api'); const { startTransitions } = require('./transitions.js'); (function main() { const config = require('./config.json'); new Client().getDevice({ host: config.ip }) .then(function (bulb) { startTransitions(config, bulb); }) .catch(console.error); })();
var express = require('express'); var fs = require('fs'); var app = express(); var HkStockHoldings = require('hkstock-holdings'); app.enable('strict routing'); app.enable('case sensitive routing'); app.disable('x-powered-by'); app.use(express.logger()); app.use(express.compress()); // pad num to string representati...
import React, { PureComponent } from 'react'; import { StyleSheet, Dimensions, Animated } from 'react-native'; import PropTypes from 'prop-types'; import LinearGradient from 'react-native-linear-gradient'; import { withNavigation } from 'react-navigation'; import { Gradients } from '@theme'; const windowWidth = Dimens...
import React from "react"; // import { Link } from 'react-router-dom'; import { useQuery } from "@apollo/client"; import { QUERY_USER } from "../utils/queries"; import { Container, Table, Row, Col } from "react-bootstrap"; function OrderHistory() { const { data } = useQuery(QUERY_USER); let user; if (data) { ...
import React from 'react'; import OracleModal from '../../components/OracleModal'; import CardImage from '../../components/CardImage'; import { Modal, Button, Segment } from 'semantic-ui-react'; import { mount } from 'enzyme'; describe('OracleModal', () => { afterEach(() => { const modal = document.querySelector...
'use strict'; var dom = {}; var ids = ['player', 'thumbnails', 'overlay', 'overlay-title', 'overlay-text', 'videoControls', 'videoFrame', 'videoBar', 'close', 'play', 'playHead', 'timeSlider', 'elapsedTime', 'video-title', 'duration-text', 'elapsed-text', 'bufferedTime', 's...
$(document).ready(function(){ console.log("TTTTTTTT"); }); function announce(event) { var message= $('input[name="announcement"]').val(); var batch = $('input[name="batch"]').val(); var programme = $('input[name="programme"]').val(); var department = $('input[name...
const ID_API_TOKEN = 'token' // eslint-disable-next-line camelcase const space_name = 'spance_name' const user = 'user' export const getToken = () => ({ token: window.localStorage.getItem(ID_API_TOKEN), authName: window.localStorage.getItem(space_name), authUser: window.localStorage.getItem(user), }) // eslint-...
const path = require('path'); const fs = require('fs'); // copy files in DOCS (examples): // from: semcore/email/.tmp/badge/examples/index.html // top website/docs/product-emails/badge-email/examples/badge-index.html (function() { const buildFolderName = '.tmp'; const rootSourceTemplate = path.join(__dirname, `../...
/* Copyright (c) 2004-2010, The Dojo Foundation All Rights Reserved. Available via Academic Free License >= 2.1 OR the modified BSD license. see: http://dojotoolkit.org/license for details */ if(!dojo._hasResource["dojo.gears"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. ...
/** * @license * Copyright ยฉ 2017-2018 Moov Corporation. All rights reserved. */ // @create-index export { default as usePersonalization } from './usePersonalization.js'; export { default as withPersonalization } from './withPersonalization.js';
import React from 'react'; import PropTypes from 'prop-types'; import classNames from 'classnames'; import withStyles from '../styles/withStyles'; import { capitalize } from '../utils/helpers'; import { darken, fade, lighten } from '../styles/colorManipulator'; export const styles = theme => ({ /* Styles applied to ...
dojo.provide("dojox.atom.widget.FeedEntryViewer"); dojo.require("dojo.fx"); dojo.require("dijit._Widget"); dojo.require("dijit._Templated"); dojo.require("dijit._Container"); dojo.require("dijit.layout.ContentPane"); dojo.require("dojox.atom.io.Connection"); dojo.requireLocalization("dojox.atom.widget", "FeedEntryView...
/* * ATTENTION: An "eval-source-map" devtool has been used. * This devtool is neither made for production nor for readable output files. * It uses "eval()" calls to create a separate source file with attached SourceMaps in the browser devtools. * If you are trying to read the output file, select a different devtool...
// https://github.com/johnwalley/d3-simple-slider v1.8.0 Copyright 2020 John Walley
/** * @fileoverview Define a style for the props casing in templates. * @author keroming */ const utils = require('eslint-plugin-vue/lib/utils'); const casing = require('eslint-plugin-vue/lib/utils/casing'); // ------------------------------------------------------------------------------ // Rule Definition // --...
/* eslint-disable no-undef */ import { MainMenu } from '../../../../../src/modules/menu/components/mainMenu/MainMenu'; import { createNoInitialStateMainMenuReducer } from '../../../../../src/store/mainMenu/mainMenu.reducer'; import { TabId, toggle } from '../../../../../src/store/mainMenu/mainMenu.action'; import { Te...
import React from 'react'; import ReactAnime from 'react-animejs'; import { Hello } from '../components/Hello'; import logo from '../assets/img/logo.svg'; import styled from 'styled-components'; import tw from 'tailwind.macro'; const { Anime } = ReactAnime; const Logo = styled.img` ${tw`block w-1/4 ml-auto mr-auto...
"use strict"; var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { if (k2 === undefined) k2 = k; Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); }) : (function(o, m, k, k2) { if (k2 === undefined) k2 = k; o[k2] = m[k]; })...
import find from 'lodash/find'; import flip from 'lodash/flip'; import sumBy from 'lodash/fp/sumBy'; import { createTranslator } from 'kolibri.utils.i18n'; import { selectContentTopicLink } from '../ManageContentPage/manageContentLinks'; const translator = createTranslator('TreeViewRowMessages', { alreadyOnYourDevic...
import React from 'react'; import { Link } from 'gatsby'; import Layout from '../components/layout' const NotFound = () => { return ( <Layout title={'404'}> <h1>404: Page not found</h1> <p><Link to="/">Head Home</Link></p> </Layout> ) } export default NotFound
import { combine } from './' const defer = stream => { let ignore = stream.initialized return combine (([ stream ], self) => { if (ignore) { ignore = false return } self.set(stream.get()) }) ([ stream ]) } export default defer
/** * The idea behind "locations" (for lack of a better term) * is that we can manage multiple goto points / zones or in the future nogo areas etc. * * They include the drawing logic (draw function) which is called by the vacuum-map, * and can define hooks for user-interaction such as tapping or panning. */ /** ...
const Discord = require("discord.js") const dig = require("discord-image-generation") const { prefix } = require("../../config.json") module.exports = { name: 'wanted', description: 'Someone is wanted... and there is a reward?', usage: `${prefix}wanted <@user> <reward>`, async execute(bot, message, arg...
'use strict' const { PeerRPCClient } = require('./../../') const Link = require('grenache-nodejs-link') const link = new Link({ grape: 'http://127.0.0.1:30001' }) link.start() const peer = new PeerRPCClient(link, {}) peer.init() const client = peer.transport('client', {}) client.on('punch', (other) => { console...
var radii = [5, 11, 18] var svg = d3.select("body") .append("svg") var circle = svg.selectAll("ellipse") .data(radii) .enter() .append("ellipse") .attr("rx", function(d){ return d }) .attr("ry",...
/* * Rich text editor with blocks form field control (WYSIWYG) * * Data attributes: * - data-control="editor" - enables the editorjs plugin * * JavaScript API: * $('div#id').editor() * */ +function ($) { "use strict"; var Base = $.oc.foundation.base, BaseProto = Base.prototype // Editor C...
import Image from './Image' import Link from './Link' const Card = ({ title, description, imgSrc, href }) => ( <div className="p-4 md:w-1/2 md" style={{ maxWidth: '544px' }}> <div className="h-full overflow-hidden border-2 border-gray-200 rounded-md border-opacity-60 dark:border-gray-700"> {href ? ( ...
export default class MapCache { constructor() { this._expire = new Map(); this._values = new Map(); this._lifetime = 0; this._interval = null; } destroy() { this._expire.clear(); this._values.clear(); this.interval(null, false); } lifetime(value) { if (typeof value === 'unde...
const { age, graduation, date } = require("../../lib/utils"); const db = require("../../config/db"); module.exports = { all(callback) { db.query( ` SELECT * FROM students ORDER BY name ASC `, (err, results) => { if (err) throw `DataBase error ${err}`; return callback(resu...
YUI.add("yuidoc-meta", function(Y) { Y.YUIDoc = { meta: { "classes": [ "CloseButton", "CompositeMask", "CornerPart", "FadableItem", "HidableItem", "Mask.Arrow", "Mask.Arrows", "Mask.ControlVariables", "Mask.DetailsPanel", "Mask.StepD...
var inlineWordContainer = document.querySelectorAll(".inline-word-container"), inlineWordChildren = document.querySelectorAll(".inline-word > div"); inlineWordContainer.forEach(function(container) { container.addEventListener("mouseenter", function() { container.classList.add("inline-word-container...
import EventEmitter from 'events'; import { request } from 'http'; import url from 'url'; import test from 'ava'; import createTestServer from 'create-test-server'; import getStream from 'get-stream'; import CacheableRequest from 'this'; let s; test.before('setup', async () => { s = await createTestServer(); s.get(...
import React from 'react' import Login from "./components/login/Login" import ClientRegistration from "./components/registration/ClientRegistration" import { useDispatch, useSelector } from 'react-redux'; import { getAllRooms } from '../src/actions/roomActions'; import './App.css' import NavBar from './components/navba...
'use strict'; /** * Cloud Formation Module. Handles stack creation, deletion, and updating. Adds * periodic polling to check stack status. So that stack operations are * synchronous. */ var filesystem = require('fs'); var Promise = require('bluebird'), AWS = require('aws-sdk'), _ = require('lodash'), sp...
'use strict'; var _ = require('lodash'); var BN = require('../crypto/bn'); var BufferUtil = require('../util/buffer'); var BufferReader = require('../encoding/bufferreader'); var BufferWriter = require('../encoding/bufferwriter'); var Hash = require('../crypto/hash'); var JSUtil = require('../util/js'); var $ = requir...
import { AppRegistry } from 'react-native'; import CampusApp from './js/CampusApp'; AppRegistry.registerComponent('CampusApp', () => CampusApp);
/*global define*/ define([ './BoundingSphere', './Cartesian3', './Cartographic', './ComponentDatatype', './defaultValue', './defined', './DeveloperError', './Ellipsoid', './Geometry', './GeometryAttribute', './GeometryAttributes', ...
var Consts = require("../consts"); module.exports = function(awd) { var i, j, geoms = awd.getDatasByType(Consts.GEOMETRY); for (i = 0, j = geoms.length; j > i; i++) { var k, l, geom = geoms[i]; for (k = 0, l = geom.subGeoms.length; l > k; k++) { var m, n, subgeom = geom.subGeoms[k],...
var { assert, '@kingjs': { '-module': { ExportEnum } } } = module[require('@kingjs-module/dependencies')]() module[ExportEnum]([ 'Foo', 'Bar', ]) var MyEnum = module.exports var { Foo, Bar } = MyEnum assert.ok(Foo instanceof MyEnum) assert.ok(Bar instanceof MyEnum)
import chai from 'chai'; import nock from 'nock'; import path from 'path'; import images from '../../src/commands/fun/images'; chai.should(); const res_fixture_cat = require(path.join(__dirname, '../fixtures/cat.json')); const res_fixture_pug = require(path.join(__dirname, '../fixtures/pug.json')); const res_fixture...
/** @jsx jsx */ import { Editor } from 'slate' import { jsx } from '../../..' export const input = ( <editor> <block>one</block> </editor> ) export const test = editor => { return Editor.start(editor, [0]) } export const output = { path: [0, 0], offset: 0 }
let express = require("express"); let router = express.Router(); let burger = require("../models/burger.js"); //GET route to get burgers from database. router.get("/", function(req, res) { burger.all(function(data) { console.log("controller call"); let hbsObject = { burgers: data }; console.log...
#! /usr/bin/env node var request = require('request'); var crawler = function () { request('http://localhost:3000/key?callback=test&_=' + (+new Date), (err, res, body) => { var key = null; var test = function(item){ key=item; } eval(body); request('http://localho...
/** * Copyright IBM Corp. 2018, 2018 * * This source code is licensed under the Apache-2.0 license found in the * LICENSE file in the root directory of this source tree. */ import { adjustLightness } from './tools'; import { white, red60, gray40 } from '@rocketsoftware/colors'; export const interactive01 = '#3d7...
var ace; var goldenOutput = ""; var goldenOutputOffset = 0; var cursorMoved = false; //Global varaible to be set when the cursor moves //after a charachter replacement occurs // Setup stderr. minigrace.stderr_write = function(value) { // this function is used only in the oldWeb interfac...
import React from 'react' import { Link } from "gatsby" const Menu = () => ( <div style={{ background: "#f4f4f4", paddingTop: "10px" }}> <ul style={{ listStyle: "none", display: "flex", justifyContent: "space-evenly" }}> <li><Link to="/">Home</Link></li> <li><Link to="/about">About<...
export const lettersList = "Q,W,E,R,T,Y,U,I,O,P,A,S,D,F,G,H,J,K,L,ENTER,Z,X,C,V,B,N,M,BACKSPACE"; export const GREEN = 'bg-emerald-700'; export const YELLOW = 'bg-amber-400'; export const DARKGREY = 'bg-slate-700'; export const LIGHTGREY = 'bg-slate-500'; export const GREY_DMODE = 'bg-letter-dark';
import React, { forwardRef } from 'react'; import { renderPathForWeight } from '../lib/index.esm.js'; import IconBase from '../lib/IconBase.esm.js'; /* GENERATED FILE */ var pathsByWeight = /*#__PURE__*/new Map(); pathsByWeight.set("bold", function (color) { return React.createElement(React.Fragment, null, React.cre...
module.exports = new Date(2020, 10, 29)