text stringlengths 2 1.04M |
|---|
import Icon from 'veui/components/Icon'
Icon.register({
'power-off': {
paths: [
{
d: 'M36.65 6a22 22 0 11-25.3 0M24 20V2',
fill: 'none',
'stroke-linecap': 'round',
'stroke-linejoin': 'round',
stroke: 'currentColor',
'stroke-width': '4'
}
],
widt... |
'use strict';
angular.module('cactusApp')
.config(function ($stateProvider) {
$stateProvider
.state('requestReset', {
parent: 'account',
url: '/reset/request',
data: {
authorities: []
},
views: {... |
import React from "react";
function MovieDetail(props) {
return (
<div className="text-center">
<img alt={props.title} className="img-fluid" src={props.src} style={{ margin: "0 auto" }} />
<h3>Director(s): {props.director}</h3>
<h3>Genre: {props.genre}</h3>
<h3>Released: {props.released}<... |
//// [collisionSuperAndParameter.ts]
class Foo {
a() {
var lamda = (_super: number) => { // No Error
return x => this; // New scope. So should inject new _this capture
}
}
b(_super: number) { // No Error
var lambda = () => {
return x => this; // New sco... |
module.exports={A:{A:{"2":"J D E F A B sB"},B:{"1":"C K L G M N O P Q R S V W X Y Z a b c d e f g T h H i"},C:{"1":"0 1 2 3 4 5 6 7 8 9 u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB iB OB jB PB QB U RB SB TB UB VB WB XB YB ZB aB bB cB dB eB P Q R kB S V W X Y Z a b c d e f g T h H i lB","2":"tB hB I j J D E F A... |
// assets
import {IconDashboard, IconDeviceAnalytics} from "@tabler/icons";
// constant
const icons = {
IconDashboard,
IconDeviceAnalytics,
};
// ===========================|| DASHBOARD MENU ITEMS ||=========================== //
const dashboard = [
{
id: "dashboard",
title: "Dashboard",
type: "gro... |
(function(){var gtConstEvalStartTime = new Date();function d(b){var a=document.getElementsByTagName("head")[0];a||(a=document.body.parentNode.appendChild(document.createElement("head")));a.appendChild(b)}function _loadJs(b){var a=document.createElement("script");a.type="text/javascript";a.charset="UTF-8";a.src=b;d(a)}f... |
import React from 'react';
const VideoListItem = ({video, onVideoSelect}) => {
console.log(video);
return (
<li onClick={() => onVideoSelect(video)} className="list-group-item">
<div className="video-list media">
<div className="media-left">
<img className="media-object" src={video.snip... |
// flow-typed signature: b85e06df55af7c7dc2be2411a2fc98b2
// flow-typed version: <<STUB>>/eslint_v^4.19.1/flow_v0.74.0
/**
* This is an autogenerated libdef stub for:
*
* 'eslint'
*
* Fill this stub out by replacing all the `any` types.
*
* Once filled out, we encourage you to share your work with the
* comm... |
/*
*
* LogIn actions
*
*/
import {
GET_USER_INFO_REQUEST,
GET_USER_INFO_SUCCESS,
UPDAE_USER_IS_VALID,
GET_USER_INFO_ERROR,
} from './constants';
export function GetUserInfoRequest(payload) {
return {
type: GET_USER_INFO_REQUEST,
payload,
};
}
export function GetUserInfoSuccess(payload) {
re... |
module.exports = {
handleChange: forwardEvent('change'),
handleFocus: forwardEvent('focus')
};
function forwardEvent(eventName) {
return function(originalEvent) {
this.emit(`checkbox-${eventName}`, {
originalEvent,
value: this.getEl('input').value,
checked: this.... |
// @flow
export type StylisPlugin = (
context: -2 | -1 | 0 | 1 | 2 | 3,
content: string,
selectors: Array<string>,
parents: Array<string>,
line: number,
column: number,
length: number,
at: number,
depth: number
) => mixed |
"use strict";
var fs = require("fs");
var path = require("path");
var gulp = require("gulp"),
runSequence = require("run-sequence"),
del = require("del"),
mocha = require("gulp-mocha"),
tslint = require("gulp-tslint"),
tsc = require("gulp-typescript"),
sourcemaps = require("gulp-sourcemaps"),
merge = requ... |
var util = require('./util')
var TERMINALS = {',': 1, '/': 2, '(': 3, ')': 4}
module.exports = compile
/**
* Compiler
*
* Grammar:
* Props ::= Prop | Prop "," Props
* Prop ::= Object | Array
* Object ::= NAME | NAME "/" Object
* Array ::= NAME "(" Props ")"
* NAME ::= ? all visible char... |
var random = Math.random();
function selectChange(img, selection) {
document.getElementById("x1").value = selection.x1;
document.getElementById("y1").value = selection.y1;
document.getElementById("x2").value = selection.x2;
document.getElementById("y2").value = selection.y2;
document.getElementById(... |
import request from '@/plugin/axios'
export function getUserPage(data) {
return request({
url: '/api/sys/user/page',
method: 'get',
params: data
})
}
export function getUser(data) {
return request({
url: '/api/sys/user',
method: 'get',
params: data
})
}
export function saveUser(data) {
... |
(function() {
'use strict';
describe('app module', function() {
var module;
var deps;
var hasModule = function(m) {
return deps.indexOf(m) >= 0;
};
beforeEach(function() {
module = angular.module('app');
deps = module.value('app').requires;
});
it('should be registe... |
import { __assign } from "tslib";
import * as React from 'react';
import { StyledIconBase } from '../../StyledIconBase';
export var Capsules = React.forwardRef(function (props, ref) {
var attrs = {
"fill": "currentColor",
"xmlns": "http://www.w3.org/2000/svg",
};
return (React.createElement(... |
#!/usr/bin/env node
'use strict';
const program = require('commander');
const { dev } = require('scripts-core');
program
.option('--config <config>', 'use custom config')
.action((cmd) => {
dev({
args: {
config: cmd.config
}
});
})
.parse(process.argv); |
/**
* @license
* Copyright (c) 2021, Oracle and/or its affiliates.
* Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
*/
'use strict';
define(['knockout'],
function (ko) {
function WktConsole() {
// notify views to show the console
this.show =... |
'use strict'
const { SMA } = require('./sma')
module.exports.EMA = function EMA(data, period){
if(data.length < period) throw new Error("data length err");
let alpha = 2/(period + 1)
let intial = SMA(data.slice(0,period), period)[period -1]
let result = [intial]
let tmp = intial
for(let i = period; i < ... |
/**
* A event recogniser which knows when you tap and hold for more than 1 second.
*
* @private
*/
Ext.define('Ext.event.recognizer.LongPress', {
extend: 'Ext.event.recognizer.SingleTouch',
inheritableStatics: {
DURATION_NOT_ENOUGH: 0x20
},
config: {
minDuration: 1000
},
h... |
<<<<<<< HEAD
window.addEventListener("message", function (event) {
if (event.source != window)
return;
if (event.data.from == 'cs') {
console.log('页面接收到内容脚本信息:' + event.data.msg);
switch (event.data.msg) {
case 'clearCacheOK':
... |
export default "M22 4L20 2C18.85 2.64 17.4 3 16 3C14.6 3 13.14 2.63 12 2C10.86 2.63 9.4 3 8 3C6.6 3 5.15 2.64 4 2L2 4C2 4 4 6 4 8S2 14 2 16C2 20 12 22 12 22S22 20 22 16C22 14 20 10 20 8S22 4 22 4M15.05 16.45L11.97 14.59L8.9 16.45L9.72 12.95L7 10.61L10.58 10.3L11.97 7L13.37 10.29L16.95 10.6L14.23 12.94L15.05 16.45Z" |
import * as React from 'react';
import { ethers } from 'ethers';
import PingPortal from './utils/PingPortal.json';
import './App.css';
export default function App() {
const [loading, setLoading] = React.useState(false);
const [activeAccount, setActiveAccount] = React.useState('');
const [allPings, setAllPings] =... |
const express = require('express');
const app = express();
app.get('', (req, res) => {
res.send('DEPLOY WEB APP HERE');
});
app.listen(8080, () => {
console.log('Listening On Port 8080');
}); |
import React, {Component} from 'react';
import {CallbackChainVisualizer} from '../src';
class Demo extends Component {
constructor() {
super();
this.state = {
value: ''
}
}
render() {
return (
<div>
<h1>dash-callback-chain Demo</h1>
... |
addEfectoTecnica(new EfectoTecnica(
KI_EFECTO_HABILIDAD_PARADA,
"",
EFECTO_DEFENSIVO,
[
new NivelEfectoTecnica("+10",2,4,5,1,2,4,1),
new NivelEfectoTecnica("+25",3,5,5,1,2,4,1),
new NivelEfectoTecnica("+40",4,6,10,2,4,7,1),
new NivelEfectoTecnica("+50",5,8,15,3,6,11,1),
... |
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var _react = _interopRequireDefault(require("react"));
var _ = _interopRequireWildcard(require(".."));
var _shared = require("./shared");
function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { ret... |
const User = require("../models/User");
const Channel = require("../models/Channel");
exports.addChannel = async (req, res, next) => {
const channelData = req.body.channelData;
const userId = req.user._id;
const username = req.user.username;
channelData.owner = {
userId: userId,
username: username,
... |
/*
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang("a11yhelp","fa",{title:"دستورالعملهای دسترسی",contents:"راهنمای فهرست مطالب. برای بستن این کادر محاورهای ESC را فشار دهید.",legend:[{name:"عموم... |
// @flow strict
import React, { type Node } from 'react';
import { Box, Link as GestaltLink, Text, Tooltip } from 'gestalt';
import { useAppContext } from './appContext.js';
import { useNavigationContext } from './navigationContext.js';
import DarkModeButton from './buttons/DarkModeButton.js';
import LTRButton from './... |
const {Article} = require('../../model/article');
const mongoose_sex_page = require('mongoose-sex-page');
const {Directory} = require('../../model/directory');
module.exports = async (req,res)=>{
var index = req.query.page || 1;
var result = await mongoose_sex_page(Article).page(index).display().size(10).find(r... |
'use strict';
var scrollTop = require('scroll-top');
var db, dd;
function get(element) {
var rect;
db || (db = document.body);
dd || (dd = document.documentElement);
rect = element.getBoundingClientRect();
return rect.top + scrollTop.get() - (
dd.clientTop || dd.parentNode.clientTop || db.clientTop
... |
$(document).ready(function() {
/**
* Parámetros para configurar el objeto DataTable.
*/
$('#lista-titular').DataTable({
"order": [[ 1, "desc" ]],
language: lenguaje_para_datatables
});
/**
* Carga la vista de detalles de titular
*/
$(document).on('click', '.btn-... |
import { DOCUMENT, CommonModule } from '@angular/common';
import { forwardRef, EventEmitter, Component, ViewEncapsulation, ChangeDetectionStrategy, ElementRef, ChangeDetectorRef, Optional, Attribute, Inject, NgZone, Input, Output, ViewChild, NgModule } from '@angular/core';
import { mixinTabIndex, mixinColor, mixinDisa... |
// Utility to make a Lambda function handler. Expects to be invoked in response
// to a message published to a FIFO SNS topic via SQS (which is the only valid
// destination for messages on FIFO topics). We expect all such messages to be
// encoded as JSON.
export default function handler(fn) {
if (typeof fn !== 'fun... |
module.exports = {
NODE_ENV: '"production"'
// NODE_ENV: '"testing"'
} |
const {
assert
} = require('chai');
const {
paramsFromClient
} = require('../../lib/services');
describe('services params-from-client', () => {
describe('basics', () => {
it('works no params', () => {
const hook = {};
const hook1 = paramsFromClient('populate', 'serialize')(hook);
assert.d... |
/* -----------------------------------------------
/* Author : Vincent Garreau - vincentgarreau.com
/* MIT license: http://opensource.org/licenses/MIT
/* Demo / Generator : vincentgarreau.com/particles.js
/* GitHub : github.com/VincentGarreau/particles.js
/* How to use? : Check the GitHub README
/* v2.0.0
/* ---------... |
(async function () {
let counter = 0;
let resolve;
let promise = new Promise((r) => (resolve = r));
let iterable = {
[Symbol.asyncIterator]() {
return {
next() {
return promise;
},
};
},
};
const res = (... |
"use strict";
var compiler = "../../../../lib/sentient/compiler";
var Level1Compiler = require(compiler + "/level1Compiler");
var Level2Compiler = require(compiler + "/level2Compiler");
var Level3Compiler = require(compiler + "/level3Compiler");
var runtime = "../../../../lib/sentient/runtime";
var Level1Runtime = re... |
import React from "react";
import { NavLink } from "react-router-dom"
export function FooterCompact({
today,
footerClasses,
footerContainerClasses,
}) {
return (
<>
{/* begin::Footer */}
<div
className={`footer bg-white py-4 d-flex flex-lg-column ${footerClasses}`}
id="kt_foote... |
/** @jsx h */
import h from "@vericus/slate-kit-utils-hyperscript";
export default function (editor, createEvent) {
const keyEvent = createEvent("keydown", {
key: "tab",
});
editor.run("onKeyDown", keyEvent);
}
export const input = (
<value>
<document>
<paragraph indentation={7}>
<anchor... |
'use strict';
const EventEmitter = require('events');
const http = require('http');
const Client = require('./client');
class Request {
constructor(req) {
this.req = req;
}
get(key) {
return this.req.headers[key] || this.req.headers[key.toLowerCase()];
}
parseJsonBody(callback) {
let postBody = '';
thi... |
import React, { Component } from 'react';
import { connect } from 'react-redux';
import * as actions from '../actions';
class RecentPosts extends Component {
componentDidMount(){
this.props.fetchRecentPosts();
}
render() {
return (
<div className="recent-posts">
... |
(function() {
var TreeWalker = tinymce.dom.TreeWalker;
var externalName = 'contenteditable', internalName = 'data-mce-' + externalName;
var VK = tinymce.VK;
function handleContentEditableSelection(ed) {
var dom = ed.dom, selection = ed.selection, invisibleChar, caretContainerId = 'mce_noneditablecaret', invisibl... |
import { SectionBreak } from 'govuk-react'
import { SPACING } from '@govuk-react/constants'
import styled from 'styled-components'
export default styled(SectionBreak)({
marginBottom: SPACING.SCALE_3,
}) |
/* Copyright 2017 Open Ag Data Alliance
*
* 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 agr... |
materialAdmin
.controller('empInfoCtrl', ['$scope','$log','$http',
function($scope,$log,$http){
$scope.months=['Jan','Feb','Mar','Apr','May','Jun','Jul',
'Aug','Sep','Oct','Nov','Dec'];
$scope.submitVariables=function(currMonth,currYear,RCN)
{$scope.info=[];$scope.i=0;$scope.history=[];
$h... |
/*
* Copyright (c) 2011 Yahoo! Inc. All rights reserved. Copyrights licensed under the New BSD License.
* See LICENSE file included with this code project for license terms.
*/
// Based on Y.Calendar by lijing00333@163.com (jayli)
YUI.add('postmile-calendar', function (Y) {
/**
* @class Y.Calendar
* @para... |
(function() {
var Emitter, ScrollbarStyleObserver, emitter, observer;
Emitter = require('event-kit').Emitter;
ScrollbarStyleObserver = require('../build/Release/scrollbar-style-observer.node').ScrollbarStyleObserver;
emitter = new Emitter();
observer = new ScrollbarStyleObserver(function() {
return em... |
/**
* DevExtreme (esm/viz/axes/xy_axes.js)
* Version: 21.2.5
* Build date: Mon Jan 17 2022
*
* Copyright (c) 2012 - 2022 Developer Express Inc. ALL RIGHTS RESERVED
* Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
*/
import {
Range
} from "../translators/range";
import formatHelper... |
/**
* @fileOverview FilePaste
*/
define([
'../../base',
'./runtime',
'../../lib/file'
], function( Base, Html5Runtime, File ) {
var $ = Base.$,
prefix = 'webuploader-dnd-';
return Html5Runtime.register( 'DragAndDrop', {
init: function() {
var elem = this.elem = this.o... |
let A, B;
function setup() {
canvas = createCanvas(windowWidth, windowHeight);
A = {x: 0, y: 0, w: 160, h: 90};
B = {x: 0, y: 0, w: 90, h: 160};
}
function draw() {
clear();
background(249, 246, 236);
let t = radians(frameCount) / 2;
A.x = cos(t) * 120 - A.w / 2;
A.y = sin(t * 2) * 120 - A.h / 2;
B... |
var test = require('tape');
import { antManufacturers } from '../src/parser';
test('should get stages manufacturer', assert => {
const line = '[13:41:35] ANT : dID 775327 MFG 69 Model 1';
const expect = 'Stages';
const actual = antManufacturers(line);
assert.equal(
actual[0].manufacturer,
expect,
... |
//# sourceMappingURL=icon.logo_mongodb-js.min.js.map |
/*globals describe, beforeEach, it, expect, module, inject, jQuery, moment */
/**
* @license angular-bootstrap-datetimepicker
* Copyright 2016 Knight Rider Consulting, Inc. http://www.knightrider.com
* License: MIT
*
* @author Dale "Ducky" Lotts
* @since 7/21/13
*/
describe('current view display... |
import {
chatListShow,
chatRoomSave,
chatRoomUpdate,
chatRoomUsersAdd,
findChatRoomByCondition,
} from "../integration/chat.integration"
import db from "../db/models"
import { col, Op, Sequelize } from "sequelize"
import { element } from "prop-types"
export const chatCreate = async (creator, users) => {
... |
(function(d){d['da']=Object.assign(d['da']||{},{a:"Kan ikke uploade fil:",b:"Fed",c:"Understreget",d:"Blot citat",e:"Insert image or file",f:"Kursiv",g:"Indsæt billede",h:"billed widget",i:"Fuld billedstørrelse",j:"Sidebillede",k:"Venstrestillet billede",l:"Centreret billede",m:"Højrestillet billede",n:"Vælg overskrift... |
const express = require('express')
const app = express()
const port = 3000
app.use(function(req, res, next) {
// Allow all origins
res.header("Access-Control-Allow-Origin", "*");
// Prohibit Frames except from Whitelisted Domain
res.setHeader("Content-Security-Policy", "default-src 'self' *.bing.com/; ... |
import { setInstance, setConfig } from './openpgp';
import { encodeUtf8, decodeUtf8, decodeUtf8Base64, encodeUtf8Base64, encodeBase64, decodeBase64 } from './utils';
export const init = (openpgp) => {
if (!openpgp) {
throw new Error('OpenPGP required');
}
setInstance(openpgp);
setConfig(openpgp... |
/**-----------------------------------------------------------------------------------------
* Copyright © 2020 Progress Software Corporation. All rights reserved.
* Licensed under commercial license. See LICENSE.md in the project root for more information
*--------------------------------------------------------------... |
function formato_rut(rut) {
var sRut1 = rut.value;
//contador de para saber cuando insertar el . o la -
var nPos = 0;
//Guarda el rut invertido con los puntos y el guión agregado
var sInvertido = "";
//Guarda el resultado final del rut como debe ser
var sRut = "";
for (var i = sRut1.leng... |
// http://www.browsersync.io/docs/options/
module.exports = {
// uses default browser or you can specify your own choice
// browser: ['google chrome'],
// browser: ['google chrome canary'],
// browser: ['firefox'],
ghostMode: false,
port: 3005,
// proxy: 'localhost:8005',
reloadDelay: 500,
reloadDebo... |
var classorg_1_1onlab_1_1packet_1_1ndp_1_1NeighborAdvertisement =
[
[ "addOption", "classorg_1_1onlab_1_1packet_1_1ndp_1_1NeighborAdvertisement.html#a4892bd05a0707985416af181aafb8e6d", null ],
[ "deserialize", "classorg_1_1onlab_1_1packet_1_1ndp_1_1NeighborAdvertisement.html#a7550c67ae65be7a2aed3718f93e9d0e6", ... |
import { ref, onMounted, watchEffect } from 'vue-demi'
import { createPopper } from '@popperjs/core'
export function usePopper(options) {
let reference = ref(null)
let popper = ref(null)
onMounted(() => {
watchEffect(onInvalidate => {
if (!popper.value) return
if (!reference.value) return
... |
/*=========================================================================================
File Name: dashboard-analytics.js
Description: dashboard analytics page content with Apexchart Examples
----------------------------------------------------------------------------------------
Item Name: Vuexy -... |
export { default as Select } from './select' |
var Search = function () {
return {
//main function to initiate the module
init: function () {
$('.date-picker').datepicker({
rtl: App.isRTL(),
orientation: "left",
autoclose: true
});
}
};
}();
jQuery(document).... |
'use strict';
var path = require('path');
var conf = require('./gulp/conf');
var _ = require('lodash');
var wiredep = require('wiredep');
var pathSrcHtml = [
path.join(conf.paths.src, '/**/*.html')
];
function listFiles() {
var wiredepOptions = _.extend({}, conf.wiredep, {
dependencies: true,
devDepende... |
import React, { Fragment } from 'react'
import {BrowserRouter, Route, Routes} from "react-router-dom";
import ContentPage from '../components/content';
import { PrivateRoute } from '../components/privateRouter';
import Sidebar from '../components/sidebar';
import Categories from '../pages/categories';
import { Dashboa... |
chrome.browserAction.onClicked.addListener(
function (tab) {
chrome.tabs.executeScript(tab.id, { file: "content.js" });
}); |
const initialState = {
price: 0,
imageUrl: "",
name: "",
description:"",
condition:"",
}
export default (state=initialState, action) => {
switch(action.type) {
case "UPDATE_NEW_ITEM_FORM":
return {
...state,
[action.formData.name]: action.formData.va... |
/**
* TODO
*
* @public @sealed
*/
export default class Subscription {
/**
* TODO
*
* @param { !Event } event TODO
*/
constructor(event) {
this._addHandler = event.addHandler.bind(event);
this._removeHandler = event.removeHandler.bind(event);
}
//#region Properti... |
// Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors
// License: GNU General Public License v3. See license.txt
frappe.ui.form.on("Timesheet", {
setup: function(frm) {
frappe.require("/assets/erpnext/js/projects/timer.js");
frm.add_fetch('employee', 'employee_name', 'employee_name');
frm.fields... |
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([[145],{DNOK:function(e,a,t){"use strict";t.r(a);var c=t("q1tI"),n={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M433.1 657.7a31.8 31.8 0 0051.7 0l210.6-292c3.8-5.3 0-12.7-6.5-12.7H642c-10.2 0-19.9 4.9-25.9 13.... |
var utils = require('cordova/utils'),
cordova_exec = require('cordova/exec'),
common = require('./Common'),
Overlay = require('./Overlay'),
BaseClass = require('./BaseClass'),
BaseArrayClass = require('./BaseArrayClass'),
LatLng = require('./LatLng'),
LatLngBounds = require('./LatLngBounds'),
MapTypeId ... |
import React from 'react';
import { Layout } from 'antd';
import { useDispatch, useSelector } from 'react-redux';
import { setCurrentGame } from '../../redux/actions/game';
import { GameScreen } from '../GameScreen';
import { generateRandomRadius } from '../../util';
import useGameMenuResize from '../../hooks/useGameMe... |
/*
* @Author : tongzonghua
* @Date : 2020-10-21 01:07:30
* @LastEditors : tongzonghua
* @LastEditTime : 2020-10-21 03:02:31
* @Email : tongzonghua@360.cn
* @Description : 开机自启动
* @FilePath : /cli/aggna-electron-template/src/main/startOnBoot.js
*/
// 引用winreg模块
var WinReg = require('w... |
var builder = require("creep_builder");
var repairer = require("creep_repairer");
var transporter = require("creep_transporter");
var bootstrapper = require("creep_bootstrapper");
var miner = require("creep_miner");
var system_constants = require("system_constants");
var creep_helpers = require("creep_helpers");
Memor... |
//非保存フラグ
let save_flag = true;
//ロード時
window.onload = function() {
newload();
Options_onload();
SoftVersionWrite();
//10ミリ秒ごとの処理
const intervalId = setInterval(() => {
if (save_flag == true) {
Options_view_select("video_downloading");
Options_view_input("video_patte... |
// This is a backup of our Google Cloud Function deployed at:
// https://us-central1-vacs-1581499154312.cloudfunctions.net/vacs-ncco
//
// To make edits, visit the console at:
// https://console.cloud.google.com/functions/list?project=vacs-1581499154312
//
// ncco = Nexmo Call Control Object: the data needed to for... |
/*
* Licensed to Elasticsearch B.V. under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch B.V. licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not u... |
// This is a karma config file. For more details see
// http://karma-runner.github.io/0.13/config/configuration-file.html
// we are also using it with karma-webpack
// https://github.com/webpack/karma-webpack
var webpackConfig = require('../../build/webpack.test.conf')
module.exports = function (config) {
confi... |
/*global QUnit sinon */
sap.ui.define([
'sap/ui/thirdparty/jquery',
'sap/base/Log',
'sap/ui/layout/BlockLayoutCell',
'sap/ui/layout/BlockLayoutCellData',
'sap/ui/layout/BlockLayoutRow',
'sap/ui/layout/BlockLayout',
'sap/ui/layout/library',
'sap/m/Dialog',
'sap/m/Link',
'sap/m/Text',
'sap/ui/core/Core',
'sap... |
const Config = require('markdown-it-chain')
const anchorPlugin = require('markdown-it-anchor')
const slugify = require('transliteration').slugify
const containers = require('./containers')
const overWriteFenceRule = require('./fence')
const config = new Config()
config
.options.html(true).end()
.plugin('anchor').... |
const express = require("express");
const passport = require("passport");
const session = require("./config/sessionConfig");
const authRouter = require("./routes/auth/authRoutes");
const app = express();
// Session config
app.use(session);
app.use(express.json());
app.use(passport.initialize());
app.use(passport.ses... |
"use strict";
// Thanks JavaScript-Load-Image repo
// https://github.com/blueimp/JavaScript-Load-Image/blob/1e4df707821a0afcc11ea0720ee403b8759f3881/js/load-image-orientation.js#L37-L53
Object.defineProperty(exports, "__esModule", { value: true });
exports.getBrowserOrientation = void 0;
const readImage_1 = require("./... |
import { __assign } from "tslib";
import * as React from 'react';
import { StyledIconBase } from '@styled-icons/styled-icon';
export var ExchangeFunds = React.forwardRef(function (props, ref) {
var attrs = {
"fill": "currentColor",
"xmlns": "http://www.w3.org/2000/svg",
};
return (React.crea... |
const path = require("path");
module.exports = {
outputDir: path.resolve(__dirname, "../client"),
devServer: {
proxy: {
"^/backend": {
target: "http://localhost:3000",
pathRewrite: { "^/backend/": "/" },
changeOrigin: true,
},
}
},
transpileDependencies: ["vuetify"]
... |
// 汉字拼音首字母列表 本列表包含了20902个汉字,用于配合 ToChineseSpell
//函数使用,本表收录的字符的Unicode编码范围为19968至40869, XDesigner 整理
//此处收录了375个多音字,数据来自于http://www.51window.net/page/pinyin
//参数,中文字符串
//返回值:拼音首字母串数组
function makePy(str){
if(typeof(str) != "string")
throw new Error(-1,"函数makePy需要字符串类型参数!");
var arrResult = new Array... |
(function(b){var a=b.cultures,d=a.en,e=d.calendars.standard,c=a.cs=b.extend(true,{},d,{name:"cs",englishName:"Czech",nativeName:"čeština",language:"cs",numberFormat:{",":" ",".":",",percent:{pattern:["-n%","n%"],",":" ",".":","},currency:{pattern:["-n $","n $"],",":" ",".":",",symbol:"Kč"}},calendars:{standard:b.extend... |
import React, { Component } from 'react';
import PropTypes from 'prop-types';
import DomHandler from '../utils/DomHandler';
import classNames from 'classnames';
export class ScrollPanel extends Component {
static defaultProps = {
id: null,
style: null,
className: null
}
static pro... |
$(".sidebar-link.painel-controle").addClass("active").addClass("only");
$(".sidebar-link.painel-controle-quantidade-vendas").addClass("active");
var GraphTicksColor = 'black';
var GraphBorderColor = 'rgba(255, 255, 255, .9)';
var radialBackgroundColorGraph = $("#card-quantidade-vendas").outerHeight();
var activeQuanti... |
// Packages
import React, { useEffect } from 'react';
import { useHistory, Link } from 'react-router-dom';
import Button from '@material-ui/core/Button';
import TextField from '@material-ui/core/TextField';
// import Slide from '@material-ui/core/Slide';
import { useApolloClient } from '@apollo/react-hooks';
import use... |
import { Random } from 'meteor/random';
import { getRoom } from '../../../livechat/server/api/lib/livechat';
import { Livechat } from '../../../livechat/server/lib/Livechat';
import LivechatRooms from '../../../models/server/models/LivechatRooms';
import LivechatVisitors from '../../../models/server/models/LivechatVis... |
import React, { useEffect, useCallback, useState } from 'react';
import Grid from '@material-ui/core/Grid';
import { withStyles } from '@material-ui/core/styles';
import Typography from '@material-ui/core/Typography';
import { Paper, TableRow, Tooltip } from '@material-ui/core';
import Button from '@material-ui/core/Bu... |
import React from "react"
import TweenOne from "rc-tween-one"
import OverPack from "rc-scroll-anim/lib/ScrollOverPack"
import QueueAnim from "rc-queue-anim"
import { Row, Col } from "antd"
import { isImg } from "../utils/utils"
import Map from "./map"
class Event extends React.Component {
componentDidMount() {
c... |
const express = require('express');
const {
clearSessionValue,
getCountryList,
getId,
sendEmail,
getEmailTemplate,
clearCustomer
} = require('../lib/common');
const {
paginateData
} = require('../lib/paginate');
const {
emptyCart
} = require('../lib/cart');
const { restrict, checkAccess ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.