text stringlengths 2 1.04M |
|---|
$.noConflict();
jQuery(document).ready(function($) {
"use strict";
[].slice.call( document.querySelectorAll( 'select.cs-select' ) ).forEach( function(el) {
new SelectFx(el);
} );
jQuery('.selectpicker').selectpicker;
$('#menuToggle').on('click', function(event) {
$('body').toggleClass('open');
});
$('... |
// Knockout-Metadata library v0.1.0
// Author: Geert Klinckaert (https://github.com/klinckag/Knockout-Metadata)
// License: MIT (http://www.opensource.org/licenses/mit-license.php)
//Based on Knockout-Validation (https://github.com/Knockout-Contrib/Knockout-Validation)
//Author: Eric M. Barnard - @ericmbar... |
/*
* Copyright (c) 2017, Oracle and/or its affiliates. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License, version 2.0, as
* published by the Free Software Foundation.
*
* This program is also distributed with certa... |
/*
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang("widget","pl",{move:"Kliknij i przeciągnij, by przenieść.",label:"Widget %1"}); |
// AXEL tutorial - Javascript file for using AXEL
// Functions commons to the 3 different parts of the tutorial
// for loading and serializing XML content from a template
var level = 0;
var form; // for interacting with the template-generated-editor
// Retrieves an XML data file and loads it inside a template object
... |
export default [
{ height: 7, id: 1, name: 'metapod' },
{ height: 7, id: 1, name: 'butterfree' },
{ height: 7, id: 1, name: 'weedle' },
{ height: 7, id: 1, name: 'kakuna' },
{ height: 7, id: 1, name: 'beedrill' },
{ height: 7, id: 1, name: 'pidgey' },
{ height: 7, id: 1, name: 'pidgeotto' },
{ height: 7... |
import React, { Component } from 'react';
import { useNavigate, useParams } from 'react-router-dom';
import axios from 'axios';
import { Button, Card, Col, Row } from 'antd';
import TextField from '@mui/material/TextField';
import Swal from 'sweetalert2';
function ProveedorEdit() {
const navigate = useNavigate()... |
import {useState, useEffect} from 'react';
import authConfig from './authConfig.js';
export const useAuth = (auth) => {
const [authenticated, setAuthentication] = useState(null);
function removeQueryString() {
if (window.location.href.split('?').length > 1) {
window.history.replaceState({}, document.tit... |
//switch cases
/*
switch Casesswitch(expression){
case n:
code block
break;
case n:
code block
break;
default:
default code block
}
*/
var marginOfColtSuperBowlWin = 16;
var result;
switch (marginOfColtSuperBowlWin){
case 3:
result = "Cool, that will be a good game";
break;
case 7:
result = "I like... |
import size from 'lodash/size'
export const name = 'Users'
export const variants = (metadata) => {
const combinations = []
if (size(metadata.data.github.usedBy) > 0) {
combinations.push({
users: metadata.data.github.usedBy
})
}
return combinations
}
export default {
name,
variants
} |
'use strict'
const crypto = require('crypto')
const parse = require('url').parse
const bodyify = require('querystring').stringify
const eapiKey = 'e82ckenh8dichen8'
const linuxapiKey = 'rFgB&h#%2?^eDg:Q'
const decrypt = (buffer, key) => {
let decipher = crypto.createDecipheriv('aes-128-ecb', key, '')
return Buffer... |
import React from 'react'
import { connect } from 'react-redux'
import { set_character } from '../redux/actions'
import { Redirect } from 'react-router'
import { StyledTextArea, StyledSubmit, StyledLabel, StyledTextInput, StyledHeader } from '../assets/StyledComponents'
class NewCharacter extends React.Component {
... |
'use strict';
angular.module('fibonacci').factory('Fibonacci', ['$resource',
function($resource) {
return $resource('fibonacci/:argument', {
argument: 'argument'
}, {
compute: {
method: 'GET'
}
});
}
]); |
HTMLWidgets.widget({
name: 'sunburst',
type: 'output',
factory: function(el, width, height) {
// Dimensions of sunburst.
var radius = Math.min(width, height) / 2;
// Breadcrumb dimensions: width, height, spacing, width of tip/tail.
var b = {
w: 75, h: 30, s: 3, t: 10
... |
export default async (req, res, next) => {
console.log(
'Request logged:',
'Method:',
req.method,
'Path:',
req.path,
'Query:',
req.query,
'Body:',
req.body,
'Params:',
req.params,
'Route:',
req.url
);
return next();
}; |
/*
=========================
Warming up a delta robot!
=========================
Running this code will show you if your delta is put together
correct and has the right range of motion and enough flexibility
in its joints.
*/
var five = require("johnny-five"),
temporal = require("temporal");
var board... |
// @flow
import type { Node, Range } from 'slate';
import TablePosition from './TablePosition';
import type Options from '../options';
/**
* True if the given range is inside one table
*/
function isRangeInTable(opts: Options, node: Node, range: Range): boolean {
const { startKey, endKey } = range;
const s... |
/**
* Kendo UI v2018.3.1017 (http://www.telerik.com/kendo-ui)
* Copyright 2018 Telerik EAD. All rights reserved. ... |
const getNextValidStep = function* (step, session) {
let nextStep; // eslint-disable-line init-declarations
// Put catch here because 'next' function throws
// error if step doesn't have valid next step
try {
let nextStepCtx = step.populateWithPreExistingData(session);
// run the step interceptor - som... |
/* global aria, axe, dom */
function findDomNode(node, functor) {
if (functor(node)) {
return node;
}
for (let i = 0; i < node.children.length; i++) {
const out = findDomNode(node.children[i], functor);
if (out) {
return out;
}
}
}
/**
* Check that a DOM node is a reference in the accessibility tree
*... |
/**
* A base node decorator.
* @param type The node decorator type.
*/
export default function Decorator(type) {
/**
* Gets the type of the node.
*/
this.getType = () => type;
/**
* Gets whether the decorator is a guard.
*/
this.isGuard = () => false;
/**
* Gets th... |
#!/usr/bin/env node
'use strict';
var path = require('path');
var fs$2 = require('fs');
var readline = require('readline');
var os = require('os');
var tty = require('tty');
var util$2 = require('util');
var stream_1 = require('stream');
var events_1 = require('events');
function _interopDefaultLegacy (e) { return e ... |
/**
* @Author: dayTimeAffect
* @Date: 2021/7/14
*/
import React, {useEffect, useMemo, useState} from "react";
import { Table } from 'antd';
const BasicTable = (props) => {
const { columns, data, tableParams = {}, paginationData = {}, onChangePagination, isHasBtn = true, selectedRow, setSelectedRow} = props
c... |
module.exports = ({
name:"tickets",
category:"Tickets",
description:"Start a ticketing system setup!",
usage:"tickets <channel for the ticket> <ticket topic>",
aliases:['set-tickets'],
code:`$awaitmessages[$authorid;10m;everything;msg;Time out!]
Please enter the message you want!
$setser... |
import React, { useCallback, useState } from 'react'
import { lang, setLocale, init } from 'react-i18n-translator'
import ar from './lang/ar.json'
import en from './lang/en.json'
import es from './lang/es.json'
import Hello from './components/hello'
import Desc from './components/desc'
init({
resourses: [
{
... |
/**
* material add [block|component|scaffold]:
* 1. get options by materialType
* 2. 仅 component: add rax options & adaptor
* 3. copy and ejsRender,文件名称转换:
* - _package.json -> package.json
* - xxx.js.ejs -> xxx.js
* - _eslintxxx -> .eslintxxx (scaffold 不转换)
* 4. 仅 component:remove eslint 相关文件,只有 c... |
import Serialization from 'common/utils/Serialization';
import consts from 'consts/const_global';
import BufferExtended from "common/utils/BufferExtended";
class PoolDataMinerInstance {
constructor(miner, socket){
this.miner = miner;
this._hashesPerSecond = 500;
this.socket = socket;
... |
const csv = require("csvtojson");
const isvalid = require('isvalid');
/**
* The module that pre-process the uploaded csv files to be prepared for Linear Program model
*
* TODO: validate CSV columns
* @param {*} files uploaded files: supplyCSV, demandCSV, (optional/sourcingRule CSV)
* @returns an object containin... |
'use strict';
var browserslist = require('browserslist');
function capitalize(str) {
return str.slice(0, 1).toUpperCase() + str.slice(1);
}
var names = {
ie: 'IE',
ie_mob: 'IE Mobile',
ios_saf: 'iOS',
op_mini: 'Opera Mini',
op_mob: 'Opera Mobile',
and_chr: 'Chrome for Android',
and_ff... |
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const tslib_1 = require("tslib");
tslib_1.__exportStar(require("@styled-icons/boxicons-solid/CommentDetail"), exports); |
"use strict";
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
return new (P || (P = Promise))(function (resolve, reject) {
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
function rejected(value) { try { step(gene... |
(window.webpackJsonp=window.webpackJsonp||[]).push([[302],{4280:function(e,t,n){"use strict";n.r(t),n.d(t,"icon",(function(){return c}));n(12),n(4),n(2),n(6),n(3),n(10);var r=n(0),l=n.n(r);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.proto... |
"use strict";
var express = require('express'),
bodyParser = require('body-parser'),
fileServer = require('fs'),
app = express(),
customers = JSON.parse(fileServer.readFileSync('data/customers.json', 'utf-8')),
states = JSON.parse(fileServer.readFileSync('data/states.json', 'utf-8'));
app.use(bodyParser.urle... |
const fs=require('fs');
const axios = require('axios');
class Busquedas {
historial = [];
dbPath='./db/data.json';
get paramsMapbox(){
return {
'access_token' : process.env.MAPBOX_KEY,
'limit': 5,
'language': 'es'
}
}
get paramsOpenWeather(){
... |
function disableCheckBoxesIn(name) {
var table = document.getElementById(name);
var listOfInputs = table.getElementsByTagName("input");
var i;
for( i = 0; i < listOfInputs.length; i++ ){
if (listOfInputs[i].type=="checkbox"){
listOfInputs[i].disabled=true;
}
}
}
function enableCheckBoxesIn(name... |
const BLOG = {
title: 'huyan00 blog',
author: 'huyan00',
email: 'wuyan19981@gmail.com',
link: 'https://huyan00.vercel.app',
description: 'To much to say.',
lang: 'en-US', // ['en-US', 'zh-CN', 'zh-HK', 'zh-TW', 'ja-JP'],
appearance: 'auto', // ['light', 'dark', 'auto'],
font: 'sans-serif', // ['sans-ser... |
exports.render = path => {
let isTasks = path === "tasks" ? "active" : "";
let isTaskForm = path === "taskForm" ? "active" : "";
let isUser = path === "user" ? "active" : "";
return `<div class="tabs-striped tabs-color-calm">
<div class="tabs">
<a data-path="tasks" class="tab-item ${... |
import React, { Component} from 'react'
import { connect } from 'react-redux'
import TiArrowBackOutline from 'react-icons/lib/ti/arrow-back-outline'
import TiHeartOutline from 'react-icons/lib/ti/heart-outline'
import TiHeartFullOutline from 'react-icons/lib/ti/heart-full-outline'
import { formatTweet, formatDate } fro... |
// @flow
import React, { Component } from 'react';
import _ from 'lodash';
import { Text, View, StyleSheet, InteractionManager, Image } from 'react-native';
import Gallery from 'react-native-image-gallery';
import type { ImageInfo } from 'urbanoe-model';
import { formatDateYYYYMMDD } from 'urbanoe-common';
import { St... |
'use strict'
const path = require('path')
function resolve(dir) {
return path.join(__dirname, dir)
}
const {
extendDefaultPlugins
} = require('svgo')
module.exports = {
publicPath: '/',
outputDir: 'dist',
assetsDir: 'static',
lintOnSave: false,
productionSourceMap: false,
devServer: {
port: 3030,... |
var x;
var y;
var z;
var [a, b, c] = x;
var [d, e, f] = y;
var [g, h, i] = z;
var j1 = x;
var j2 = y;
var j3 = z;
var k1 = x;
var k2 = y;
var k3 = z;
var l1 = x;
var l2 = y;
var l3 = z;
var m1 = x;
var m2 = y;
var m3 = z;
var n1 = x;
var n2 = y;
var n3 = z;
var o1 = x;
var o2 = y;
var o3 = y; |
import { policiesService } from '../services/policies-service';
export class AutoAssignSettings {
mode = policiesService.assignModes[0];
includeTags = [];
excludeTags = [];
includeRegExps = [];
excludeRegExps = [];
hvClusters = [];
} |
module.exports = {
root: true,
parser: '@typescript-eslint/parser',
plugins: [
'@typescript-eslint',
],
extends: [
'eslint:recommended',
'plugin:@typescript-eslint/eslint-recommended',
'plugin:@typescript-eslint/recommended',
'prettier',
],
rules: {
'@typescript-eslint/interface-na... |
// import React, { Component } from 'react';
// import ReactDOM from 'react-dom';
export default {
init() {
},
finalize() {
// JavaScript to be fired on all pages, after page specific JS is fired
},
}; |
import React from 'react';
import createSvgIcon from './utils/createSvgIcon';
export default createSvgIcon(React.createElement("g", null, React.createElement("path", {
d: "M18.5 12c0-1.77-1.02-3.29-2.5-4.03v8.05c1.48-.73 2.5-2.25 2.5-4.02zM5 9v6h4l5 5V4L9 9H5z"
})), 'VolumeDown'); |
/** @license
*
* SoundManager 2: JavaScript Sound for the Web
* ----------------------------------------------
* http://schillmania.com/projects/soundmanager2/
*
* Copyright (c) 2007, Scott Schiller. All rights reserved.
* Code provided under the BSD License:
* http://schillmania.com/projects/soundmanager2/lice... |
/* istanbul instrument in package npmdoc_cyclejs */
/*jslint
bitwise: true,
browser: true,
maxerr: 8,
maxlen: 96,
node: true,
nomen: true,
regexp: true,
stupid: true
*/
(function () {
'use strict';
var local;
// run shared js-env code - init-before
(function () {
... |
import { combineEpics } from 'redux-observable';
import appEpic from './appEpic';
export default combineEpics(appEpic); |
const { dialog } = require('electron').remote;
export function updateAvailable({ latestVersion, currentVersion, downloadUrl }) {
dialog.showMessageBox(
{
title: 'Katyusha',
type: 'question',
message: `Updates are available`,
detail: `The latest version is ${latestVersion}. Your current ve... |
import React from 'react'
import PropTypes from 'prop-types'
import tocbot from 'tocbot'
class TOC extends React.Component {
componentDidMount() {
tocbot.init({
// Where to render the table of contents.
tocSelector: `.toc-list-container`,
// Where to grab the headings to... |
const express = require('express');
const router = express.Router();
const DocCountEsr = require('../../models/DocCountEsr');
const fault = require('../../utilities/Errors');
router.put('/', (req, res) => {
var data = {};
Object.keys(req.body).forEach(function (k) {
data[k] = decodeURI(req.body[k]);
... |
$axure.loadCurrentPage(
(function() {
var _ = function() { var r={},a=arguments; for(var i=0; i<a.length; i+=2) r[a[i]]=a[i+1]; return r; }
return _creator();
})()); |
'use strict';
angular.module('sproutStudyApp')
.directive('focusOnMe', ['$timeout', '$parse',
function($timeout, $parse) {
return {
//scope: true, // optionally create a child scope
link: function(scope, element, attrs) {
var model = $parse(... |
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var _react = _interopRequireDefault(require("react"));
var _index = _interopRequireDefault(require("../../es5/index"));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj ... |
import React from 'react'
import Link from './Link'
import Pages from '@primer/next-pages'
const {pageMap = new Map()} = Pages
export default function PageLink(props) {
const {href, children: content} = props
if (content) {
return <Link {...props} />
}
const page = pageMap.get(href)
if (!page) {
// ... |
/**
* Card definitions/logic for composition, contact picking, and attaching
* things. Although ideally, the picking and attaching will be handled by a
* web activity or shared code.
**/
/*jshint browser: true */
/*global define, console, MozActivity, alert */
define(function(require) {
var templateNode = requir... |
import React, {
forwardRef,
useCallback,
useContext,
useEffect,
useRef,
useState,
} from 'react';
import { ThemeContext } from 'styled-components';
import { useLayoutEffect } from '../../utils/use-isomorphic-layout-effect';
import { defaultProps } from '../../default-props';
import { Box } from '../Box';
i... |
import React from 'react';
import DocumentTitle from 'react-document-title';
export default class LoginPage extends React.Component {
render() {
return (
<DocumentTitle title={`Login`}>
<div className="container">
<div className="row">
<div className="col-xs-12">
... |
const { MessageEmbed } = require("discord.js");
const Discord = require('discord.js');
const fs = require('fs');
const nekoclient = require('nekos.life');
const neko = new nekoclient();
const { COLOR } = require('../config.json')
module.exports = {
name: "pat",
aliases: ["pat"],
description: "pat pat pat owo...",... |
//# sourceMappingURL=component---src-pages-contact-js-942d4657135ec4b46f4b.js.map |
define([], function () {
var modal = {};
modal.init = function () {
$('.card-item').click(function () {
var name = $(this).attr('id');
$('.card_style').val(name);
$(this).addClass('active').siblings().removeClass('active');
})
};
return modal;
}); |
var assert = require('assert');
var fs = require('fs');
var JSONStream = require('JSONStream');
var UserGateEncoder = require('../../src').encoder;
exports.command = 'encode <gate>';
exports.description = 'Encodes a gate';
exports.builder = function(yargs) {
return yargs
.options({
list: {
descri... |
let posts = (() => {
function getAllPosts () {
const endpoint = 'posts?query={}&sort={"_kmd.ect": -1}'
return remote.get('appdata', endpoint, 'kinvey')
}
function createPost (author, title, description, url, imageUrl) {
let data = { author, title, description, url, imageUrl }
return remote.post... |
const grids = document.querySelectorAll('.grid')
const headings = document.querySelectorAll('.heading .wrapper .text')
function enterScreen(index) {
const grid = grids[index]
const heading = headings[index]
const gridColumns = grid.querySelectorAll('.column')
grid.classList.add('active')
gridColumns.forEac... |
export const STAFF_MEMBER_DETAILS = {
permissionsSelect: '[data-test-id="permission-groups"]',
isActiveCheckBox: '[name="isActive"]',
removePermissionButton: '[data-test-id="remove"]'
}; |
const mediaWithOneImageWithoutType = [
{
thumb: 'http://test/test-thumb.jpg',
src: 'http://test/test-image.jpg'
}
]
const mediaWithOneImageWithType = [
{
thumb: 'http://test/test-thumb.jpg',
src: 'http://test/test-image.jpg',
type: 'image'
}
]
const mediaWithOneVideoWithoutAutoplay = [
{... |
module.exports = function(sails) {
/**
* Module dependencies.
*/
var _ = require('lodash'),
util = require('sails-util'),
Hook = require('../../index');
/**
* Expose hook definition
*/
return {
defaults: {
cors: {
origin: '*',
credentials: true,
methods: 'GET, POST, PUT, DELETE, ... |
import { combineReducers} from "redux";
const rootReducer = combineReducers({});
export default rootReducer; |
let mongoose = require('mongoose')
const Schema = mongoose.Schema
let numeralSchema = new Schema({
type: String,
input_value: String,
converted_value: String
})
const Numeral = mongoose.model('Numeral', numeralSchema)
module.exports = Numeral |
window.searchData = [{"t":"PageResult","p":"class/PageResult.html"},{"t":"src/as-objectid.coffee","p":"file/src/as-objectid.coffee.html"},{"t":"src/i18n.coffee","p":"file/src/i18n.coffee.html"},{"t":"src/index.coffee","p":"file/src/index.coffee.html"},{"t":"src/page-result.coffee","p":"file/src/page-result.coffee.html"... |
$('.submitBtn').on("click", function (e) {
e.preventDefault();
var choice = confirm($(this).attr('data-confirm'));
if (choice) {
window.location.href = $(this).attr('form-horizontal');
}
}); |
/** layui v2.6.3 | Released under the MIT license */ |
var async = require('async');
var _ = require('lodash');
var cuid = require('cuid');
var expressBearerToken = require('express-bearer-token');
var cors = require('cors');
module.exports = {
moogBundle: {
directory: 'lib/modules',
modules: [ 'apostrophe-pieces-headless', 'apostrophe-pages-headless' ]
},
... |
import { h } from 'vue'
export default {
name: "Bus",
vendor: "Fa",
type: "Solid",
tags: ["bus"],
render() {
return h(
"svg",
{"xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 512 512","class":"v-icon","fill":"currentColor","data-name":"fa-bus","innerHTML":"<path d='M488 128h-8V80c0-44.8-99... |
import {Promise} from 'bluebird';
import _ from 'lodash';
import React from 'react';
import ScreenComponent from 'client/components/screen';
import {SCREEN_WIDTH, SCREEN_HEIGHT} from 'client/constants';
import CoreDispatcher from 'client/dispatcher/core';
import CardsStore from 'client/stores/cards';
import Characters... |
import { expect } from 'chai';
import routes from '../routes';
describe('example', () => {
it('runs', () => {
expect(parseInt('100', 10)).to.equal(100);
});
it('routes exists', () => {
expect(routes).to.be.an('array');
});
}); |
/*! so-multiselect - 1.0.0 - 2016-05-23
* Copyright (c) 2016 Sonalake;
*/ |
require('../../modules/es.object.to-string');
require('../../modules/es.string.iterator');
require('../../modules/esnext.iterator.constructor');
require('../../modules/esnext.iterator.filter');
require('../../modules/web.dom-collections.iterator');
var entryUnbind = require('../../internals/entry-unbind');
module.exp... |
/******/ (() => { // webpackBootstrap
/******/ var __webpack_modules__ = ({
/***/ "./node_modules/jquery/dist/jquery.js":
/*!********************************************!*\
!*** ./node_modules/jquery/dist/jquery.js ***!
\********************************************/
/***/ (function(module, exports) {
var __WEBPA... |
/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is
* regenerated.
*/
'... |
/*var fs = require("fs");
fs.readdir("fichiers", function (err, data) {
if (err) throw err;
console.log("Il y a "+data.length+" fichiers dans ce dossier.")
for (var i = 0, l = data.length; i<l; i++) {
console.log(data[i]);
}
});*/
var fs = require("fs");
fs.readdir("fichiers", function (err, data) {
if (e... |
import React from 'react';
import Title from '../../../atoms/Title';
import RequestToAddForm from '../../../molecules/RequestToAddForm'
import ComponentSizeType from '../../../../Entities/Enums/ComponentSizeType';
import Modal from '../Modal';
export default function AddApplicationModal({
wrapperRef,
onCreateApp... |
/**
* @license Apache-2.0
*
* Copyright (c) 2020 The Stdlib Authors.
*
* 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... |
'use strict';
module.exports = {
// db: 'mongodb://localhost/emmaus',
db: 'mongodb://localhost/emmaus475',
app: {
title: 'EmmausWalkHousingAndRegistration - Development Environment'
},
facebook: {
clientID: process.env.FACEBOOK_ID || 'APP_ID',
clientSecret: process.env.FACEBOOK_SECRET || 'APP_SECRET',
cal... |
/* exported Radio */
/* global CustomEvent */
'use strict';
(function(exports) {
if (!window.navigator.mozMobileConnections) {
return;
}
var Radio = function() {
/*
* An internal key used to make sure Radio is
* enabled or not.
*
* @default {Boolean} null
*/
this._enabled ... |
import React from 'react';
import { makeStyles } from '@material-ui/core/styles';
import PushFeatureList from '../Information/PushFeatureList'
import Grid from '@material-ui/core/Grid'
import Typography from '@material-ui/core/Typography'
import Colors from '../../Basics/Colors';
import NotificationImportantIcon from '... |
AFRAME.registerComponent('move', {
schema: {
enabled: {default: false},
speed: {type: 'number'},
},
init:function (){
this.realSpeed=0;
},
tick: function (time, delta) {
const data = this.data;
if (!data.enabled || !delta) { return; }
this.realSpeed=d... |
//本地存储
//常用公共JS工具
var msonionUrl, msPicPath = "http://img.51msyc.com/",
mspaths, jems = {}, shopUrl = "m.msyc.cc|www.2beauti.com|onion.2beauti.com|m.2beauti.com";
if (new RegExp(shopUrl).test(window.location.host)){
msonionUrl = "//"+window.location.host+"/";
}else {
msonionUrl = "//"+window.location.host+"/... |
import React from 'react';
import { shallow } from 'enzyme';
import { expect } from 'chai';
import DebtLettersSummary from '../components/DebtLettersSummary';
describe('DebtLettersSummary', () => {
it('renders correct summary component', () => {
const fakeStoreV1 = {
getState: () => ({
featureToggl... |
import { Op } from 'sequelize';
import { startOfDay, endOfDay } from 'date-fns';
import Order from '../models/Order';
class StartController {
async update(req, res) {
const order = await Order.findByPk(req.params.id);
if (!order) {
return res.status(400).json({ error: 'Order not exists' });
}
... |
define( [
"../core",
"../var/document",
"../var/documentElement",
"../var/support"
], function( jQuery, document, documentElement, support ) {
"use strict";
( function() {
// Executing both pixelPosition & boxSizingReliable tests require only one layout
// so they're executed at the same time to save the secon... |
/*!
* filename: ej.culture.ar-AE.min.js
* version : 19.3.0.43
* Copyright Syncfusion Inc. 2001 - 2021. All rights reserved.
* Use of this code is subject to the terms of our license.
* A copy of the current license can be obtained at any time by e-mailing
* licensing@syncfusion.com. Any infringement will be prose... |
let nock = require('nock');
module.exports.hash = "9bc8297ebe389da5e99b8179ad7ec994";
module.exports.testInfo = {"uniqueName":{"blob":"blob162485943993704427"},"newDate":{"minutesBefore":"2021-06-28T05:50:40.230Z","minutesLater":"2021-06-28T05:50:40.230Z"}}
nock('https://fakestorageaccount.blob.core.windows.net:443'... |
module.exports = {
plugins: ['sfgov'],
extends: [
'plugin:sfgov/recommended',
'plugin:sfgov/babel'
],
rules: {
'promise/no-callback-in-promise': 0,
'import/no-unresolved': [2, {
ignore: ['^../dist']
}]
}
} |
"use strict";
/**
* Kubernetes
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v1.20.2
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator... |
/* This file is generated by createIcons.js any changes will be lost. */
import createIcon from '../createIcon';
const BlueprintIcon = createIcon({
name: 'BlueprintIcon',
height: 1024,
width: 1024,
svgPath: 'M78.629 225.143c-3.657 3.657-5.486 8-5.486 12.8v55.086h-73.143v-55.086c0-25.143 8.914-46.629 26.971-64.... |
import React, { useEffect, useState, useRef } from 'react';
import {
Grid,
Typography,
Button,
Card,
IconButton,
CardActions
} from '@material-ui/core';
import {
Wifi as WifiIcon,
CancelRounded as CancelRoundedIcon,
Add as AddIcon
} from '@material-ui/icons';
import { makeStyles } from '@material-ui/s... |
/**
* Bootstrap Multiselect (https://github.com/davidstutz/bootstrap-multiselect)
*
* Apache License, Version 2.0:
* Copyright (c) 2012 - 2015 David Stutz
*
* 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
* cop... |
import Electron from 'electron';
import L10nManager from '../../modules/L10nManager';
const _ = L10nManager.get.bind(L10nManager);
const Remote = Electron.remote;
const TouchBar = Remote.TouchBar;
const App = Remote.app;
const BrowserWindow = Remote.BrowserWindow;
const {
TouchBarButton,
TouchBarSpacer
} = TouchB... |
/*! jQuery UI - v1.12.1 - 2019-06-30
* http://jqueryui.com
* Includes: widget.js, position.js, data.js, disable-selection.js, focusable.js, form-reset-mixin.js, jquery-1-7.js, keycode.js, labels.js, scroll-parent.js, tabbable.js, unique-id.js, widgets/draggable.js, widgets/droppable.js, widgets/resizable.js, widgets/se... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.