text
stringlengths
2
1.04M
/* global document */ import React from 'react'; import ReactDOM from 'react-dom'; import {AppContainer} from 'react-hot-loader'; import {head} from 'lodash'; import Root from './containers/Root'; import configureStore from './store'; import './sass/app.scss'; import App from './App'; const store = configureStore(); ...
import Foo from './foo' import Bar from './bar' const foo = new Foo('Hello', 20) console.log(foo.toString()) const bar = new Bar() bar.print()
const fs = require('fs') const _ = require('lodash') const exifParser = require('exif-parser') const Config = require('../Config') const AbstractFlashAirCard = require('../AbstractFlashAirCard') module.exports = class FlashAirCardV1 extends AbstractFlashAirCard { constructor(ssid, w_lan_mode) { super() this.confi...
import request from '@/utils/request' export default { // 1 添加课程信息 addCourseInfo(courseInfo) { return request({ url: '/eduservice/course/addCourseInfo', method: 'post', data: courseInfo }) }, // 2 查询所有讲师 getListTeacher() { return request({ url: '/eduservice/teacher/findAll'...
import { createAction } from 'swagger-adjust'; export const addItem = createAction('todoList/addItem');
export const systemMessage = (msg) => console.log(msg)
/* Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */
const path = require('path') const webpack = require('webpack') const WriteFilePlugin = require('write-file-webpack-plugin') const AutoDllPlugin = require('autodll-webpack-plugin') const ExtractCssChunks = require('extract-css-chunks-webpack-plugin') module.exports = { name: 'client', target: 'web', // devtool: ...
/* ***** BEGIN LICENSE BLOCK ***** * Distributed under the BSD license: * * Copyright (c) 2012, Ajax.org B.V. * 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 sou...
var data = { "body": "<path d=\"M16.37 12.87h-.99l-2.54 2.54v.99l6.01 6.01l3.54-3.54l-6.02-6z\" fill=\"currentColor\"/><path d=\"M17.34 10.19l1.41-1.41l2.12 2.12a3 3 0 0 0 0-4.24l-3.54-3.54l-1.41 1.41V1.71l-.7-.71l-3.54 3.54l.71.71h2.83l-1.41 1.41l1.06 1.06l-2.89 2.89l-4.13-4.13V5.06L4.83 2.04L2 4.87L5.03 7.9h1.41l4.1...
import Breadcrumbs from "./Breadcrumbs"; export default Breadcrumbs;
import React from 'react'; import Layout from '../../../../components/Layout'; import Header from '../../../../components/Header'; import theme from '../../../../theme/theme'; import Head from 'next/head'; import PastSpeakersButton from '../../../../components/speakers/PastSpeakersButton'; import { library } from '@for...
const TelegramBot = require('node-telegram-bot-api') const request = require('request') const { Client } = require('pg') if(process.env.NODE_ENV != 'production'){ require('dotenv').config(); } const TOKEN = process.env.TOKEN || ''; const GOOGLE_CLOUD_API_KEY = process.env.GOOGLE_CLOUD_API_KEY || ''; const WEBHOOK_U...
const fs = require("fs"); const path = require("path"); const express = require("express"); const { accounts, users, writeJSON } = require("./data"); const app = express(); app.set("views", path.join(__dirname, "views")); app.set("view engine", "ejs"); app.use(express.static(path.join(__dirname, "public"))); app.use(...
'use strict'; var transferableMessage = self.webkitPostMessage || self.postMessage, // enum MESSAGE_TYPES = { WORLDREPORT: 0, COLLISIONREPORT: 1, VEHICLEREPORT: 2, CONSTRAINTREPORT: 3 }, // temp variables _object, _vector, _transform, knownConstraints = {}, // functions public_functions = ...
import detectEthereumProvider from '@metamask/detect-provider'; import Web3 from 'web3'; import MyToken from "./contracts/MyToken.json"; import MyTokenSale from "./contracts/MyTokenSale.json"; import KYCContract from "./contracts/KYCContract.json"; export const getWeb3 = () => { return new Promise(async (resolve, r...
import * as allName from './mutations-types' export default { /* 一般来说,使用mutations一个方法尽量只改变单一的状态,方便于devtool监听状态的改变 所以设计原则是,如果一个mutations的方法执行多个状态操作时,将其放在action里面, 然后再在mutations内部进行进一步的分离*/ [allName.ADD_COUNTER](state,payload) { payload.count++; }, [allName.ADD_TO_CART](state,payload) { payloa...
// 再帰関数 const deepPick = (fields, object = {}) => { const [first, ...remaining] = fields.split('.'); return remaining.length ? deepPick(remaining.join('.'), object[first]) : object[first]; }; const dan = { type: 'person', data: { gender: 'male', info: { id: 22, fullName: { f...
// BLAKE.js v1.0.1 // Adaptation of https://github.com/dcposch/blakejs // // Blake2B in pure Javascript // Adapted from the reference implementation in RFC7693 // Ported to Javascript by DC - https://github.com/dcposch var ERROR_MSG_INPUT = 'Input must be an string, Buffer or Uint8Array'; // For convenience, let peop...
import { Meteor } from 'meteor/meteor'; import { Session } from 'meteor/session'; import { Template } from 'meteor/templating'; import { settings } from 'meteor/rocketchat:settings'; import { RoomHistoryManager, RoomManager, call } from 'meteor/rocketchat:ui-utils'; import { t, roomTypes } from 'meteor/rocketchat:utils...
$(document).ready(function () { $("#file-upload").on('change', function () { url = "http://127.0.0.1:3001/file"; file = $("#file-upload")[0].files[0]; let data = new FormData(); data.append("file", file); successFx = function (ans) { let $errorA = $("#error-alert"...
ServerTask.setToken = function (token) { ServerTask._token = token } ServerTask.run = function () { var args = Array.prototype.slice.call(arguments) var name = args.shift() Meteor.call('_ServerTask', ServerTask._token, name, args, function (error, result) { if (error) { throw error } else { ...
class AudioManager { constructor(element, loopTime) { this.element = element; this.loopTime = loopTime; if(this.loopTime!=null) { this.element.addEventListener("ended", this.loop.bind(this)); } } play() { this.element.play(); } ...
var json = require('./json'); module.exports = function(data, format) { data = json(data, format); return toTable(data, (format && format.children)); }; function toTable(root, childrenField) { childrenField = childrenField || 'children'; var table = []; function visit(node) { table.push(node); va...
import React from "react"; import ReactDOM from "react-dom"; import _ from "lodash"; import { LazyLoad } from "webiny-app"; // These will be lazy loaded when first growl is performed let GrowlComponents = null; let GrowlContainer = null; function getGrowler() { if (!GrowlContainer) { document.body.appendC...
//# sourceMappingURL=beautifier.min.js.map
import { v4 as uuid } from 'uuid'; import { SET_ALERT, REMOVE_ALERT } from './types'; export const setAlert = (msg, alertType, duration = 5000) => (dispatch) => { const id = uuid(); dispatch({ type: SET_ALERT, payload: { msg, alertType, id } }); // Remove alert after 5seconds setT...
/* * Copyright (C) 2011 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...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = (function () { return console.log('Hello from package01'); });
#!/usr/bin/env node import fs from 'fs' import path from 'path' import { getOctokit } from '@actions/github' import enterpriseDates from '../../lib/enterprise-dates.js' import { latest, oldestSupported } from '../../lib/enterprise-server-releases.js' const acceptedMilestones = ['release', 'deprecation'] const teamsTo...
import { Modal, Icon } from "semantic-ui-react"; export default function BaseModal(props) { const { showModal, setShowModal, title, children, ...rest } = props; const onClose = () => setShowModal(false); return ( <Modal className="base-modal" open={showModal} onClose={onClose} {...rest}> <Modal.Heade...
/* Hindi initialisation for the jQuery UI date picker plugin. */ /* Written by Michael Dawart. */ (function (factory) { if (typeof define === "function" && define.amd) { // AMD. Register as an anonymous module. define(["../datepicker"], factory); } else { // Browser globals fac...
const browserSync = require('browser-sync'); const {getSSLKeyPath, getSSLCertPath} = require('../ssl'); module.exports = class DevServer { constructor(options) { this.bs = browserSync.create(); this.target = `https://${options.target}`; this.themeId = options.themeId; this.port = options.port; t...
import React from "react"; import Link from "next/link"; import { SvgList, SvgBookmark, SvgShuffle } from "../svgs"; import truncate from "../../utils/truncate"; const Card = ({ chapter }) => { return ( <Link href={`/chapter/${chapter.id}`}> <div className="flex flex-col bg-white dark:bg-dark-100 z-30 shad...
import responsivePropType from './responsivePropType'; import style from './style'; import compose from './compose'; import { createUnaryUnit, getValue } from './spacing'; import { handleBreakpoints } from './breakpoints'; function getBorder(value) { if (typeof value !== 'number') { return value; } return "...
module.exports={A:{A:{"2":"K C YB","132":"G E A B"},B:{"132":"D w Z I M H"},C:{"1":"0 1 3 5 6 7 8 f L h i j k l m n o p q r s t u v z x","132":"WB AB F J K C G E A B D w Z I M H N O P Q R S T U V W X Y y a b c d e UB OB"},D:{"1":"8 BB IB DB FB ZB GB","132":"0 1 3 5 6 7 F J K C G E A B D w Z I M H N O P Q R S T U V W X ...
// gatsby-config.js // const myQuery = `{ // allMarkdownRemark { // nodes { // frontmatter { // author // date // path // tags // title // } // fields { // slug // } // html // } // } // } // ` // const pageQuery = `{ // pag...
import TilesFlow from './TilesFlow/TilesFlow.js'; import ReadingTracker from './FlowReadingTracker.js'; function doIt(readingTracker){ var space1 = "#tilesflowContainer"; var space2 = "#tilesflowContainer2"; var spaces = [space1, space2]; var space = spaces.shift(); spaces.push(space); var a = TilesF...
Clazz.declarePackage ("J.image"); Clazz.load (["J.image.CRCEncoder"], "J.image.PngEncoder", ["java.io.ByteArrayOutputStream", "java.util.zip.Deflater", "$.DeflaterOutputStream"], function () { c$ = Clazz.decorateAsClass (function () { this.encodeAlpha = false; this.filter = 0; this.bytesPerPixel = 0; this.compressionLe...
var _CaptionTransitions = []; _CaptionTransitions['L'] = {$Duration: 900, x: 0.6, $Easing: {$Left: $JssorEasing$.$EaseInOutSine}, $Opacity: 2}; _CaptionTransitions['R'] = {$Duration: 900, x: -0.6, $Easing: {$Left: $JssorEasing$.$EaseInOutSine}, $Opacity: 2}; _CaptionTransitions['T'] = {$Duration: 900, y: 0.6, $Easing:...
//# sourceMappingURL=vendors~pdf_viewer.b5317e99.chunk.js.map
const common = require('./webpack.common.config.js'); const config = common({ es6: false, minified: false }); config.module.rules.push({ test: /\.html$/, exclude: /node_modules/, loader: 'html-loader' }); config.externals = []; config.entry['salte-auth'] = ['../index.html', '../index.js']; config.devtool = ...
(function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === 'object' && typeof module === 'object') module.exports = factory(require("omi")); else if(typeof define === 'function' && define.amd) define(["omi"], factory); else if(typeof exports === 'object') exports["power-input-two-tone"] ...
// Copyright (c) 2012 Ecma International. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /*--- info: | This test is actually testing the [[Delete]] internal method (8.12.8). Since the language provides no way to directly exercise [[Delete]], the tests are placed he...
/* * X3DOM JavaScript Library * http://www.x3dom.org * * (C)2009 Fraunhofer IGD, Darmstadt, Germany * Dual licensed under the MIT and GPL * * Based on code originally provided by * Philip Taylor: http://philip.html5.org */ /** If used as standalone lib, define some basics first. */ if (typeof x3dom === "unde...
import React from 'react' import ReactDOM from 'react-dom' import { BrowserRouter } from 'react-router-dom' import './custom.scss' import App from './App' import * as serviceWorker from './serviceWorker' const TheApp = ( <BrowserRouter> <App /> </BrowserRouter> ) ReactDOM.render(TheApp, document.getElementBy...
export const DEBUG = process.env.NODE_ENV === 'development' export const URL = process.env.NODE_ENV === 'development' ? 'http://localhost:3000' : 'https://zettl-835a3.firebaseapp.com'
import { TodoApp } from './todo-app'; import { TodoForm } from './todo-form'; import { TodoItem } from './todo-item' window.customElements.define('todo-app', TodoApp); window.customElements.define('todo-form', TodoForm); window.customElements.define('todo-item', TodoItem);
/* * * * * Copyright 2021 eBay 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 a...
/*============================================= = Gulp Starter by @dope = =============================================*/ /** * * The packages we are using * Not using gulp-load-plugins as it is nice to see whats here. * **/ var gulp = require('gulp'); var sass = require('gulp-sas...
//Browser.resizeCanvas = true; //LibassJs.Module = Module; LibassJs.prototype.init = Module['cwrap']('libassjs_init', null, ['number', 'number']); LibassJs.prototype.resize = Module['cwrap']('libassjs_resize', null, ['number', 'number']); LibassJs.prototype.render = Module['cwrap']('libassjs_render', null, ['...
import { Template } from 'meteor/templating'; import { ReactiveVar } from 'meteor/reactive-var'; import { FlowRouter } from 'meteor/kadira:flow-router'; import { AutoComplete } from '../../../../../../app/meteor-autocomplete/client'; import { hasAllPermission } from '../../../../../../app/authorization/client'; import...
'use strict'; const Service = require('egg').Service; class UserService extends Service { async login({ username, password }) { // 查找用户是否存在 let currentUser = null; this.config.admin.some(user => { if (user.username === username && user.password === password) { currentUser = user; ...
// Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /*--- info: If one expression is undefined or null and another is not, return false es5id: 11.9.1_A6.2_T1 description: x is null or undefined, y is not ---*/ //CHECK#1 if ((undefined == ...
import * as React from 'react'; import createSvgIcon from './utils/createSvgIcon'; import { jsx as _jsx } from "react/jsx-runtime"; export default createSvgIcon( /*#__PURE__*/_jsx("path", { d: "M10 20H5v2h5v2l3-3-3-3v2zm4 0v2h5v-2h-5zm3-20H7C5.9 0 5 .9 5 2v14c0 1.1.9 2 2 2h10c1.1 0 2-.9 2-2V2c0-1.1-.9-2-2-2zm-5 6c-1....
app.controller("EditProfileCtrl", function($scope, $http, $sessionStorage){ console.log($sessionStorage.user); });
var $ = require('jquery'); var React = require('react'); var ReactDOM = require('react-dom'); var $node = $('<div />').appendTo(document.body); var node = $node.get(0); var Hello = React.createClass({displayName: "hello", render: function (){ return React.createElement('div', {className: 'helloworld'}, 'Hello World!...
const execSync = require('child_process').execSync; function testSyncCommand(commandStr) { const stdout = execSync(commandStr, {encoding: 'utf8'}); console.log(`stdout = ${stdout}`); } let cmd1 = 'cd /home/john/terraform-scripts/'; let terraCmd = `${cmd1}; terraform destroy -auto-approve`; let delCmd = 'rm terra...
import React, { Component } from 'react'; import { connect } from 'react-redux'; import '../styles/index.css'; import { createMeme } from '../actions'; import MemeItem from './MemeItem'; import { Form, FormGroup, FormControl, ControlLabel } from 'react-bootstrap'; import MyMemes from '../components/MyMemes'; class Ap...
const chai = require('chai'); const expect = chai.expect; const should = chai.should(); const Fk = require('../'); describe('Test API', function() { beforeEach(function() { this.feik = new Fk(); }); it('Expect the feik instance to be an object', function() { expect(this.feik).to.be.a('object'); }); ...
const plc = require('../index').parseLC exports["Resiliant: don\'t throw errors on weird/local call numbers"] = function (test) { plc("Optics 3.10") plc("Personal Copy - Le Sueur") plc("N") test.done() } exports["Parse single letter superclass from call number"] = function (test) { test.ok( plc("N...
const Engineer = require('../lib/Engineer.js'); test('creates an Engineer object', () => { const engineer = new Engineer('Luis',2,'luis@email.com','luiscabrera77'); expect(engineer.github).toEqual(expect.any(String)); expect(engineer.role).toBe('Engineer'); }); test('get engineer github', () => { const engine...
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved. // See LICENSE.txt for license information. // *************************************************************** // - [#] indicates a test step (e.g. # Go to a page) // - [*] indicates an assertion (e.g. * Check the title) // - Use element ID when selec...
// ========================================================================= // Copyright © 2017 T-Mobile USA, 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.apa...
/* * Copyright 2013 The Toolkitchen Authors. All rights reserved. * Use of this source code is goverened by a BSD-style * license that can be found in the LICENSE file. */ suite('Text', function() { test('instanceof', function() { var div = document.createElement('div'); div.textContent = 'abc'; ass...
/*! @azure/msal-common v5.0.0 2021-09-08 */ 'use strict'; import { ClientAuthError } from '../error/ClientAuthError.js'; /* * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */ /** * @hidden */ var StringUtils = /** @class */ (function () { function StringUtils() { ...
"use strict"; var OFFSET = 23; var NORMAL_WIDTH = 6; var SELECT_WIDTH = 8; var NORMAL_OPACITY = 0.1; var SELECT_OPACITY = 1; var CHART_WIDTH = 500; var CUTOFF = 9; // The top NINE var height = 390; var padding = 40; var middlePadding = (padding * 2) + 100; var width = $(window).width() - middlePadding - CHART_WIDTH -...
function getCookie(name) { var cookieValue = null; if (document.cookie && document.cookie != '') { var cookies = document.cookie.split(';'); for (var i = 0; i < cookies.length; i++) { var cookie = jQuery.trim(cookies[i]); if (cookie.substring(0, name.length + 1) == (name ...
const fs = require('fs'); const zAddress = fs.readFileSync('zAddress', 'utf8'); var sgdz = JSON.parse(fs.readFileSync('../build/contracts/SGDz.json', 'utf8')); if(!sgdz.networks['1']){ sgdz.networks['1'] = {}; } sgdz.networks['1'].address = zAddress; fs.writeFile('../build/contracts/SGDz.json', JSON.stringify(sg...
class LogsAccountPasswordCtrl { constructor ($q, $state, $stateParams, $uibModalInstance, ControllerHelper, CloudMessage, LogsAccountService) { this.$q = $q; this.$stateParams = $stateParams; this.$uibModalInstance = $uibModalInstance; this.serviceName = this.$stateParams.serviceName...
load("201224b0d1c296b45befd2285e95dd42.js"); // Breakpoints should be hit on scripts gotten not via Debugger.Frame. var g = newGlobal(); g.eval("function f(x) { return x + 1; }"); g.eval("function g(x) { f(x); }"); // Warm up so f gets OSRed into the jits and g inlines f. g.eval("for (var i = 0; i < 10000; i++) g(i);"...
// For details on each option run `ember help release` module.exports = { // local: true, // remote: 'some_remote', // annotation: "Release %@", // message: "Bumped version to %@", // manifest: [ 'package.json', 'bower.json', 'someconfig.json' ], publish: true, // strategy: 'date', // format: 'YYYY-MM-D...
const _ = require('lodash'); const ThemeConfig = require('../../../lib/theme-config'); const internals = { options: { storeUrl: '', apiKey: '', port: '', }, paths: { renderer: '/{url*}', staticAssets: '/assets/{path*}', internalApi: '/internalapi/{path*}', ...
import Vue from 'vue' import bugsnag from 'bugsnag-js' import bugsnagVue from 'bugsnag-vue' const bugsnagClient = bugsnag('2356d00da6d31eeccd1ebcf2ef867da3') bugsnagClient.use(bugsnagVue(Vue)) console.log(bugsnagClient) bugsnagClient.notify('hiiiii from the client!!!') export default bugsnagClient
const SimpleInput = (props) => { return ( <form> <div className='form-control'> <label htmlFor='name'>Your Name</label> <input type='text' id='name' /> </div> <div className="form-actions"> <button>Submit</button> </div> </form> ); }; export default SimpleInp...
 CKEDITOR.plugins.setLang( 'placeholder', 'he', { placeholder : { title : 'מאפייני שומר מקום', toolbar : 'צור שומר מקום', text : 'תוכן שומר המקום', edit : 'ערוך שומר מקום', textMissing : 'שומר המקום חייב להכיל טקסט.' } });
require('should')(); require('should-sinon'); const sinon = require('sinon'); const restify = require('restify'); const adminOnly = require('./../src').Middlewares.adminOnly; describe('Middleware > AdminOnly', () => { it('Should have a proper call', () => { (() => adminOnly(null, null, null)).should.throw();...
var MerchToken = artifacts.require("./MerchToken.sol"); module.exports = function(deployer) { deployer.deploy(MerchToken); };
//remove CORS when deployed // CORS - This code allows you to develop locally. Otherwise this app only works when deployed (function () { var cors_api_host = 'cors-anywhere.herokuapp.com'; var cors_api_url = 'https://' + cors_api_host + '/'; var slice = [].slice; var origin = window....
// Created by STRd6 // MIT License // jquery.paste_image_reader.js (function ($) { var defaults; $.event.fix = (function (originalFix) { return function (event) { event = originalFix.apply(this, arguments); if (event.type.indexOf('copy') === 0 || event.type.indexOf('paste') === 0...
export class Observer { disconnected = false constructor(callback) { IntersectionObserver.instance = this ResizeObserver.instance = this this.callback = callback } simulateChange(intersectionRatio, target) { this.callback([{ intersectionRatio, isIntersecting: intersectionRatio > 0, target }]) ...
angular.module('examind.components.style.editor.new.raster.sld', []) .controller('RasterSldController', RasterSldController) .directive('rasterSld', rasterSldDirective); function rasterSldDirective() { return { restrict: "E", templateUrl: "components/style-editor/new-style/raster-style/rast...
describe('DOM', () => { process.env.FRAMEWORK = 'nerv' const runtime = require('../../dist/runtime.esm') const document = runtime.document global.document = runtime.document global.window = runtime.window global.navigator = runtime.navigator // eslint-disable-next-line no-use-before-define const React =...
import '../../styles/templates/page.scss' import init from "../../vue/init.js" init()
const RightTrackAgency = require("right-track-core/modules/classes/RightTrackAgency"); const config = require("@/utils/config.js"); const api = require("@/utils/api.js"); const API_CACHE = "rtapi-cache-" + config.api.host; /** * Get the API Server info (cache first, then network) * - Cache Length: 7 days * @param...
'use strict' var path = require('path') module.exports = function(grunt) { var pkg = grunt.file.readJSON('package.json') var paths = { app: path.join(path.resolve(), '/'), test: path.join(path.resolve(), '/test/**/*.js'), } var notify = { test: { options: { ...
var app = {} ; $(document).ready(function(){ app.hookupScrollShadow(); $('.bigtext').bigtext(); }) function populateBigNumber(id) { var csvFile = "data/" + id + "-big.csv"; d3.csv(csvFile, function(error, data) { if(error){ console.log(error); } else { $("#" + id + "-number").text(data[0...
// All symbols in the `Sc` category as per Unicode v9.0.0: [ '\x24', '\xA2', '\xA3', '\xA4', '\xA5', '\u058F', '\u060B', '\u09F2', '\u09F3', '\u09FB', '\u0AF1', '\u0BF9', '\u0E3F', '\u17DB', '\u20A0', '\u20A1', '\u20A2', '\u20A3', '\u20A4', '\u20A5', '\u20A6', '\u20A7', '\u20A8', '\u20A9', '\u2...
const path = require('path') module.exports = { siteMetadata: { title: `Lefron Clothier`, description: `Beautiful portfolio for your fashion career.`, author: `@thegleam_josh`, menuLinks: [ { name: 'Home', link: '/' }, { name: 'Collections', link: '/c...
const Discord = require('discord.js'); const neko = require('nekos.life') const { nsfw } = new neko() module.exports = { name:'girl', category:'nsfw', description:'', usage:'girl', cooldown:10, run: async(client, message, args) => { if (!message.channel.nsfw) return; try { const genre = [nsfw...
var TwilioSms = require('./TwilioSms'); /** * SmsFactory factory class * @constructor */ function SmsFactory() { } SmsFactory.prototype = Object.create({ constructor: SmsFactory, /** * Create new sms instance * @param {String} type Sms type * @param {Object} options Object with options */ create...
/*!----------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Version: 0.6.1(8f43cf5d0d3d233c9ba1c9085f2bb529f834c841) * Released under the MIT license * https://github.com/Microsoft/vscode/blob/master/LICENSE.txt *-------------------------------------...
/** * @fileoverview Implements UnmergeCell * @author Jiung Kang(jiung.kang@nhnent.com) FE Development Lab/NHN Ent. */ import CommandManager from '../../commandManager'; import dataHandler from './tableDataHandler'; import tableRangeHandler from './tableRangeHandler'; import tableRenderer from './tableRenderer'; co...
const {Listener} = require("./Listener.js") const { clientId } = require("../config.json"); const database = require("../helper/database.js") const exec = (message) => { if(message.author.id === clientId) { return } if(database.read("sexCounter") === false) { database.create("sexCounte...
layui.use(['form'],function() { var form = layui.form; // var layer = layui.layer; // layer.msg(form.field) }); layui.use(['jquery'],function() { var $ = layui.jquery; //是否要删除 是的话再执行删除操作 $("") }) function add() { location.href = "...
// @flow import * as React from 'react'; import { withStyles } from '@material-ui/core/styles'; import Paper from '@material-ui/core/Paper'; import i18n from '@dhis2/d2-i18n'; import OfflineEventsList from '../../../../EventsList/OfflineEventsList/OfflineEventsList.component'; import { listId } from './RecentlyAddedEve...
import { syntax } from 'micromark-extension-wiki-link' import { fromMarkdown, toMarkdown } from 'mdast-util-wiki-link' let warningIssued function wikiLinkPlugin (opts = {}) { const data = this.data() function add (field, value) { if (data[field]) data[field].push(value) else data[field] = [value] } ...
import { useState } from 'react'; import PropTypes from 'prop-types'; import { Box, Button, Chip, InputAdornment, TextField, Typography } from '@mui/material'; import MobileDatePicker from '@mui/lab/MobileDatePicker'; import { ArrowRight as ArrowRightIcon } from '../../../icons/arrow-right'; export const JobDetailsSte...
'use strict'; var DataReader = require('./dataReader'); function ArrayReader(data) { if (data) { this.data = data; this.length = this.data.length; this.index = 0; this.zero = 0; for(var i = 0; i < this.data.length; i++) { data[i] = data[i] & 0xFF; } ...
import { getContract } from '../helpers/contracts'; const environment = process.env.ENVIRONMENT || 'development'; const DEFAULT_NETWORKS = require(`../config/networks.${environment}.config.js`); // eslint-disable-line const kovanToken = getContract('dgd', DEFAULT_NETWORKS, 'eth-kovan'); const testRpcToken = getContrac...