text stringlengths 2 1.04M |
|---|
import React from 'react';
import Calculator from './containers/calculator'
import "./app.css"
export function App() {
return (
<div className="screen">
<div/>
<Calculator/>
<div/>
</div>
)
} |
const path = require('path')
const _ = require('lodash')
function createLinkToTag(tag) {
return `/tag/${_.kebabCase(tag.toLowerCase())}`
}
exports.createPages = ({ boundActionCreators, graphql }) => {
const { createPage } = boundActionCreators
return graphql(`
{
allMarkdownRemark(
sort: { ord... |
var util = require('../../../utils/util.js');
var api = require('../../../config/api.js');
var app = getApp();
Page({
data: {
orderId: 1,
expressInfo: {},
expressTraces: []
},
onLoad: function (options) {
this.setData({
orderId: options.orderId
});
console.log(options)
this... |
// Assignment Code
var generateBtn = document.querySelector("#generate");
// Write password to the #password input
function writePassword() {
var password = generatePassword();
var passwordText = document.querySelector("#password");
passwordText.value = password;
}
// Add event listener to generate button
ge... |
'use strict';
angular.module('app')
.controller('roleUpdateController', ['$scope', '$rootScope', '$state', '$timeout', 'toaster',
function($scope, $rootScope, $state, $timeout, toaster) {
var title = "";
var defaultAva = $rootScope.defaultAvatar;... |
import ActionType from '../actions/ActionType'
export default (state = { paths: null }, action) => {
switch (action.type) {
case ActionType.App.Setup.RECEIVE_PATHS:
return action.path
default:
return state
}
} |
// Not sure why this isn't set by default in qunit.js..
QUnit.jsDump.HTML = false;
(function($){ // START CLOSURE
var back_broken = /(?:chrome|blackberry)/i.test( navigator.userAgent ),
aps = Array.prototype.slice,
opt = Object.prototype.toString;
function notice( txt ) {
if ( txt ) {
$('#notice').html( tx... |
;(function(root) {
'use strict';
/**
* The hoops object to be exported by the lib. If available, it is exported
* using underscore/lodash mixins, or via CommonJS or an AMD loader.
*
* @var {object} Object on which all library functions exist
*/
var hoops = {};
/**
* Returns the value at the ... |
๏ปฟ/*
Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
(function(){if(window.CKEDITOR&&window.CKEDITOR.dom)return;window.CKEDITOR||(window.CKEDITOR=function(){var a=/(^|.*[\\\/])ckeditor\.js(?:\?.*|;.*)?$/i,d={t... |
(async function(testRunner) {
var {page, session, dp} = await testRunner.startBlank(
`Tests interception events are properly attributed to issuing frames.`);
session.protocol.Network.enable();
session.protocol.Page.enable();
var redirectFilenameToFrameId = new Map();
session.protocol.Network.onRequest... |
deepmacDetailCallback("9cf938000000/24",[{"d":"2010-09-25","t":"add","a":"Seligenstaedter Str. 100\nDept. PTCDV-G\nKarlstein Germany 63791\n","c":"GERMANY","o":"AREVA NP GmbH"},{"d":"2013-01-30","t":"change","a":"Seligenstaedter Str. 100\nDept. PTLDV-G\nKarlstein Germany 63791\n","c":"GERMANY","o":"AREVA NP GmbH"},{"d"... |
/**
* KingTable base HTML builder.
* Base class for all HTML builders.
*
* https://github.com/RobertoPrevato/KingTable
*
* Copyright 2018, Roberto Prevato
* https://robertoprevato.github.io
*
* Licensed under the MIT license:
* http://www.opensource.org/licenses/MIT
*/
import _ from "../../scripts/utils"
imp... |
"use strict";
/*
* 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 dif... |
function _assertThisInitialized(self) {
if (self === void 0) {
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
}
return self;
}
function _classCallCheck(instance, Constructor) {
if (!(instance instanceof Constructor)) {
throw new TypeError("Cannot c... |
function sortTable(e){var r,t,a,n,o,s,i,T,L=0;for(r=document.getElementById("item_table"),a=!0,T="asc";a;){for(a=!1,t=r.rows,n=1;n<t.length-1;n++)if(i=!1,o=t[n].getElementsByTagName("TD")[e],s=t[n+1].getElementsByTagName("TD")[e],"asc"==T){if(o.innerHTML.toLowerCase()>s.innerHTML.toLowerCase()){i=!0;break}}else if("des... |
function addPlatforms(abilities) {
let ab = [];
abilities.forEach(function(a) {
let exists = false;
for(let i in ab){
if(ab[i].ability_id === a.ability_id) {
ab[i]['platform'].push(a.platform);
ab[i]['executor'].push(a.executor);
exists... |
/** @type {import('next').NextConfig} */
module.exports = {
typescript: {
// !! WARN !!
// Dangerously allow production builds to successfully complete even if
// your project has type errors.
// !! WARN !!
ignoreBuildErrors: true,
},
reactStrictMode: true,
images: {
domains: ['user-imag... |
var map = { "type": "FeatureCollection", "features": [
{ "type": "Feature", "geometry": { "type": "Polygon", "coordinates": [[[-117.9943, 16.6409], [-117.7314, 16.6409], [-117.6888, 16.6409], [-117.6888, 16.5062], [-117.6888, 16.4125], [-117.7757, 16.4125], [-117.9364, 16.4125], [-118.1062, 16.4125], [-118.1004... |
'use strict';
const is = require('./is');
const sharp = require('../build/Release/sharp.node');
/**
* Write output image data to a file.
*
* If an explicit output format is not selected, it will be inferred from the extension,
* with JPEG, PNG, WebP, TIFF, DZI, and libvips' V format supported.
* Note that raw pi... |
let assert = require("assert");
let Phrase = require("../index.js");
describe("Phrase", function() {
describe("#palindrome", function() {
it("should return false for a non-palindrome", function() {
let nonPalindrome = new Phrase("apple");
assert(!nonPalindrome.palindrome());
});
it("should... |
(function($) {
"use strict";
// caching selectors
var mainWindow = $(window),
mainHeader = $('header'),
mainBody = $('body'),
mainStatus = $('#status'),
mainPreloader = $('#preloader'),
miuContainer = $('#mix-... |
import { useEffect } from 'react'
import { atom, useRecoilState, useSetRecoilState } from 'recoil'
import './App.css'
import { Chatroom, playedDataAtom } from './components/Chatroom'
import { DashBoard } from './components/DashBoard'
import { leftChessDataAtom, tempMsgAtom } from './components/DashBoard/data'
import { ... |
const path = require('path');
const webpack = require('webpack');
module.exports = {
context: path.resolve('./src/custom-functions-boilerplate'),
entry: {
console: ['./dist/custom-functions-boilerplate/console.js'],
},
output: {
filename: './dist/custom-functions-boilerplate/console.g.js',
},
plu... |
var data=[['20081022',11.2685],
['20081023',11.9369],
['20081024',12.2234],
['20081027',10.8865],
['20081028',11.173],
['20081029',10.982],
['20081030',10.982],
['20081031',10.982],
['20081103',11.173],
['20081104',11.0775],
['20081105',11.0775],
['20081106',10.982],
['20081107',10.982],
['20081110',10.8865],
['2008111... |
class ControlFactory {
static info({
labelText,
spanText,
appendTo
}) {
let info = jQuery("<div>");
let label = jQuery("<label>");
label.html(labelText);
label.appendTo(info);
let span = jQuery("<span>");
span.html(spanText);
span.appendTo(info);
info.appendTo(append... |
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1162],{47745:function(n){n.exports=function(n){const e="[a-zA-Z-_][^\\n{]+\\{",a={className:"attribute",begin:/[a-zA-Z-_]+/,end:/\s*:/,excludeEnd:!0,starts:{end:";",relevance:0,contains:[{className:"variable",begin:/\.[a-zA-Z-_]+/},{className:"keyword",begin:/\(o... |
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[29],{
/***/ "./node_modules/babel-loader/lib/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/pages/reader/videos/videos.vue?vue&type=script&lang=js&":
/*!*************************************************************************************... |
/*
Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
Permission is hereby granted, free of charge, to any person obtaining a copy of this
software and associated documentation files (the "Software"), to deal in the Software
without restriction, including without limitation the rights to us... |
'use strict';
const Model = require('./-base');
class Thermostat extends Model {
static attrs() {
const attr = this.attr;
return {
// readonly properties
id: attr('string', { alias: 'device_id', readOnly: true }),
name: attr('string', { readOnly: true }),
humidity: attr('number', { r... |
import React from "react"
import Img from "gatsby-image"
const Product = ({ product }) => {
return (
<div className="col-10 col-sm-8 col-md-6 col-lg-4 mx-auto my-3">
<div className="card" style={{ minHeight: "100%" }}>
<Img fluid={product.image.fluid} className="card-img-top" />
<div classN... |
import React from 'react'
import PropTypes from 'prop-types'
import ApiClient from 'api-client/ApiClient'
import { compose } from 'app/utils/fp'
import { withAppContext } from 'core/providers/AppProvider'
import CRUDListContainer from 'core/components/CRUDListContainer'
import createListTableComponent from 'core/helper... |
import { prepareCreatePractitionerUserFormAction } from '../actions/prepareCreatePractitionerUserFormAction';
import { setCurrentPageAction } from '../actions/setCurrentPageAction';
import { startWebSocketConnectionSequenceDecorator } from '../utilities/startWebSocketConnectionSequenceDecorator';
import { stopShowValid... |
var searchData=
[
['wasted',['Wasted',['../class_g_w2_e_i_parser_1_1_builders_1_1_json_models_1_1_json_buffs_uptime_1_1_json_buffs_uptime_data.html#ab110fdbb12a404db57fee726ea7cb3cf',1,'GW2EIParser.Builders.JsonModels.JsonBuffsUptime.JsonBuffsUptimeData.Wasted()'],['../class_g_w2_e_i_parser_1_1_builders_1_1_json_mode... |
//Get focus point coordinates from an image - adapt to suit your needs.
(function($) {
$(document).ready(function() {
$('img').click(function(e){
var imageW = $(this).width();
var imageH = $(this).height();
//Calculate FocusPoint coordinates
var offsetX = e.pageX - $(this).offset().left;
va... |
import Application from '../../src/application';
import { iocClass, iocFactory } from 'ioc';
import { ConfigurationError, RunningError } from '../fixtures/errors.dummy';
import {
LazyModuleStub,
LazyFailedConfigurationModule,
LazyFailedRunModule
} from '../fixtures/lazy-module.stub';
import { ModuleStub } ... |
/*
Tooltipster 2.0.2 | 1/30/13
A rockin' custom tooltip jQuery plugin
Developed by: Caleb Jacob - calebjacob.com
Copyright (C) 2013 Caleb Jacob
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR ... |
/**
* @author Marshood Ayoub <Marshood.ayoub@gmail.com> , Lina Nijem <nijemlina@gmail.com>
* @data 25/08/2020
*/
const express = require("express");
const router = express.Router();
const UserSchema = require("../schemas/UserSchema");
const TaskModel = require("../schemas/TaskSchema");
const mongoose = require("mong... |
import React from 'react';
import './Main.css';
import { NavLink } from 'react-router-dom';
const RenderCard = () => {
return(
<div className="wrap">
<div className="container">
<div className="card-wrap">
<div className="bt-card" style={{width: '18rem'}}>
... |
$(function(){
//Peticion AJax que carga los packs de la BBDD y los montan en la vista index
$.ajax({
url: "/articulos/ultimos",
method: "GET",
success: function(data){
for(var i=0 ; i<data.length ; i++){
var ruta = data[i]['picture'];
var id =... |
Object.assign($_QE.prototype.World.prototype, {
// ------------------------------------------------------------------------------
create_element: function(element) {
element.world = this;
element.create();
element.flag_set_on(EFLAG_IS_CREATED);
},
// ---------------------------... |
// COPYRIGHT ยฉ 2021 Esri
//
// All rights reserved under the copyright laws of the United States
// and applicable international laws, treaties, and conventions.
//
// This material is licensed for use under the Esri Master License
// Agreement (MLA), and is bound by the terms of that agreement.
// You may redistribute... |
/**
* jQuery EasyUI 1.4.4
*
* Copyright (c) 2009-2015 www.jeasyui.com. All rights reserved.
*
* Licensed under the freeware license: http://www.jeasyui.com/license_freeware.php
* To use it on other terms please contact us: info@jeasyui.com
*
*/
(function($){
function _1(_2){
var _3=$.data(_2,"dialog").options;... |
// create namespace for mch map
var lat_office=lat_office;
var lng_office= lng_office;
var mm = {};
// base icon url
mm.iconBase = '/static/img/markers/';
mm.latitude = lat_office;
// longitude
mm.longitude = lng_office;
mm.ready_for_mark = false;
mm.patientLatLng = {};
mm.patient = [];
// check browser support Geol... |
'use strict';
// #############################################################################
// Handles test suite errors (assert and waitFor)
module.exports = {
bind() {
casper.on('step.error', error => {
casper.die('assert failed: ' + error.message);
});
casper.on('waitFor.timeout', (timeout, error) =>... |
/**
* Copyright (c) 2014, 2017, Oracle and/or its affiliates.
* The Universal Permissive License (UPL), Version 1.0
*/
"use strict";
define(['ojs/ojcore', 'jquery', 'ojs/ojcomponentcore', 'ojs/ojdvt-base', 'ojs/internal-deps/dvt/DvtGauge'], function(oj, $, comp, base, dvt)
{
/**
* Copyright (c) 2014, Oracle and/or ... |
class CSS2DObject extends THREE.Object3D {
constructor( element ) {
super();
this.element = element || document.createElement( 'div' );
this.element.style.position = 'absolute';
this.addEventListener( 'removed', function () {
this.traverse( function ( object ) {
if ( object.element instanceof... |
/*
* Copyright 2019 EPAM Systems
*
* 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 in ... |
const { defineConfig } = require("eslint-define-config");
module.exports = defineConfig({
root: true,
env: {
browser: true,
node: true,
es6: true,
},
parser: "vue-eslint-parser",
parserOptions: {
parser: "@typescript-eslint/parser",
ecmaVersion: 2020,
sourceType: "module",
jsxPrag... |
export { default as transitions } from './transitions'; |
import React, { Component } from 'react';
import { View, Text, StyleSheet, TextInput, Button } from 'react-native';
import firebase from './FirebaseConnection';
export default class AddDespesa extends Component {
static navigationOptions = {
title: "Adicionar Despesa",
}
constructor(props){
super(props... |
module.exports = {
siteMetadata: {
title: `Riley Skains`,
description: `View the work of front-end web developer, Riley Skains, including projects and articles. Find his contact information as well.`,
author: `@riley_skains`,
},
plugins: [
`gatsby-plugin-react-helmet`,
{
resolve: `gatsby... |
export default {
socialMedia: [
{ name: 'GitHub', link: 'https://github.com/samuraime' },
{ name: 'Blog', link: 'https://blog.samuraime.com' },
// { name: 'Twitter', link: 'https://twitter.com/binkizhao' },
],
timelines: [
{ start: '2019-04', end: ' ', title: 'ThoughtWorks' },
{ start: '... |
/*
Hyperspace by HTML5 UP
html5up.net | @ajlkn
Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
*/
(function($) {
var $window = $(window),
$body = $('body'),
$sidebar = $('#sidebar');
// Breakpoints.
breakpoints({
xlarge: [ '1281px', '1680px' ],
large: [ '98... |
const Component = require('react').Component
const h = require('react-hyperscript')
const inherits = require('util').inherits
const AccountDropdowns = require('./components/account-dropdowns')
inherits(AccountOptionsDropdown, Component)
function AccountOptionsDropdown () {
Component.call(this)
}
module.exports = Ac... |
module.exports = {
'cacheDirectory': '.cache/jest-cache',
'setupFilesAfterEnv': [
'<rootDir>/jestSetup.js',
],
'moduleNameMapper': {
'~(.*)$': '<rootDir>/src$1',
'^@welldone-software/why-did-you-render$': '<rootDir>/src/whyDidYouRender.js',
},
'testEnvironment': 'jsdom',
};
if (process.env.USE_... |
module.exports = {
// accessible only from admin UI
type: 'admin',
routes: [
{
method: 'POST',
path: '/seo-analyzer/run',
handler: 'seo-analyzer.run',
config: { policies: [] }
},
{
method: 'POST',
path: '/seo-analyzer/runRT',
handler:... |
module.exports = {
parser: "@typescript-eslint/parser",
extends: [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"plugin:@typescript-eslint/recommended-requiring-type-checking",
"plugin:import/errors",
"plugin:import/typescript... |
/*ๆปๅจ้กตๅ
่ทณ่ฝฌ*/
$(document).ready(function () {
gundong_ref();
});
var myapp = angular.module('myapp', []);
myapp.run(function ($rootScope) {});
var gundong_ref = function () {
$('a[href*=#zchq88-gundong-]').click(function () {
if (location.pathname.replace(/^\//, '') == this.pathname.replace(/^\//,... |
'use strict';
/**
* FFVideo - Video component-based display component
*
* ####Example:
*
* const video = new FFVideo({ path, width: 500, height: 350 });
* video.setAudio(true);
* video.setTimes("00:00:43", "00:00:50");
* scene.addChild(video);
*
*
* ####Note
* https://spritejs.org/demo/... |
๏ปฟimport raw from "raw.macro";
const HyruleCastle = raw('./HyruleCastle.md');
const EasternPalace = raw('./EasternPalace.md');
const DesertPalace = raw('./DesertPalace.md');
const TowerOfHera = raw('./TowerOfHera.md');
const CastleTower = raw('./CastleTower.md');
const PalaceOfDarkness = raw('./PalaceOfDarkness.md');
co... |
import _ from 'lodash';
import { ALIAS_FOLDERS } from 'constants.js';
import { messageThreader } from 'threading.js';
import requestStore from 'stores/request.js';
import settingsStore from 'stores/settings.js';
import {
getColumnStore,
getColumnStoreKeys,
getColumnMetaStore,
} from 'stores/columns.js';... |
var router = require('express').Router()
var Data = require('../../models/data')
//Save details for new data (CREATE)
router.post('/', function(req, res, next) {
console.log(req.auth.username)
var data = new Data({
username: req.auth.username,
field1: req.body.field1,
field2: req.body... |
/*!
* jQuery JavaScript Library v2.1.0
* http://jquery.com/
*
* Includes Sizzle.js
* http://sizzlejs.com/
*
* Copyright 2005, 2014 jQuery Foundation, Inc. and other contributors
* Released under the MIT license
* http://jquery.org/license
*
* Date: 2014-01-23T21:10Z
*/
(function (global, factory) {
if (... |
'use strict';
// =========================================================================
//
// Document Model
//
// This has awhole bunch of historical stuff in it that deals with the ETL
// from the old EPIC system.
//
// ------------------------------------------------------------
// Short form rules for e-PI... |
'use strict';
var benchmarkUtils = require('./benchmark-utils');
var EventsHandler = require('events').EventEmitter;
var format = require('./format');
var giveMe = require('give-me');
var settings = require('./settings');
var Timer = require('./timer.js');
var _ = require('underscore');
var fs = require('fs');
modul... |
var ApiGen = ApiGen || {};
ApiGen.elements = [["c","OndraKoupil\\Heureka\\BaseClient"],["c","OndraKoupil\\Heureka\\EshopReview"],["c","OndraKoupil\\Heureka\\EshopReviewsClient"],["c","OndraKoupil\\Heureka\\ProductReview"],["c","OndraKoupil\\Heureka\\ProductReviewsClient"],["c","OndraKoupil\\Heureka\\ProductReviewSummar... |
"use strict";
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, desc... |
'use strict';
var defaultEnvConfig = require('./default');
module.exports = {
db: {
uri: process.env.MONGOHQ_URL || process.env.MONGOLAB_URI || 'mongodb://' + (process.env.DB_1_PORT_27017_TCP_ADDR || 'localhost') + '/mean-dev',
options: {
user: '',
pass: ''
},
// Enable mongoose debug mo... |
const { response } = require("express");
const express = require("express");
const router = express.Router();
var passport = require("passport");
router.post("/login", async (req, res, next) => {
passport.authenticate("local", function (err, user, info) {
if (err) {
console.log(err);
return;
}
... |
// ๆต
ๆท่ด
// Object.assign(็ฎๆ ๅฏน่ฑก, ๆบๅฏน่ฑก1, ๆบๅฏน่ฑก2...); // ็จๆบๅฏน่ฑก็ๅผ่ฟฝๅ ๅฐ็ฎๆ ๅฏน่ฑก๏ผๅฆๆๅฑๆงๅผ็ธๅไผๆดๆฐ๏ผไธๅฏไปฅๆๅคไธชๆบๅฏน่ฑก
// ๆทฑๆท่ด: https://blog.csdn.net/chentony123/article/details/81428803 |
import Spotify from 'spotify-web-api-js';
const spotifyApi = new Spotify();
export default spotifyApi; |
/* โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโ... |
import test from 'ava';
import { ImplementationError } from '../lib/error';
import { getMethods, compareMethods } from '../lib/utils/methods';
import Mode from '../lib/utils/mode';
class TestInterface {
method1() { }
method2() { }
method3() { }
}
class TestImpl {
constructor() { }
method1() { }
method2()... |
module.exports = {
create: require('./create')
, clone: require('./clone')
, angle: require('./angle')
, fromValues: require('./fromValues')
, copy: require('./copy')
, set: require('./set')
, add: require('./add')
, subtract: require('./subtract')
, multiply: require('./multiply')
, divide: require... |
var searchData=
[
['camera_80',['Camera',['../class_camera.html#af40cd73c2ec8cf65ee7ebcb2f9f1f847',1,'Camera']]]
]; |
import React, { PureComponent } from 'react'
import { withNamespaces } from 'react-i18next'
import { isMobile } from '../../utils'
import Select from '../Select'
import AnimatedArrow from '../AnimatedArrow'
import Shield from '../../images/getStarted/get-started-shield.png'
import Link from '../../images/getStarted/get... |
const elixir = require('laravel-elixir');
require('laravel-elixir-vue-2');
//elixir.config.sourcemaps = false;
elixir(mix => {
mix.less('styles.less','public/css')
.webpack('app.js','public/js');
}); |
import { module, test } from 'qunit';
import { visit } from '@ember/test-helpers';
import { setupApplicationTest } from 'ember-qunit';
module('Acceptance | index', function(hooks) {
setupApplicationTest(hooks);
test('can auto import devDependencies from within dummy app', async function(assert) {
await visit(... |
import React, { useState } from "react";
import { Box, Typography, IconButton, Chip, Divider } from "@mui/material";
import AddOutlinedIcon from "@mui/icons-material/AddOutlined";
import ClearIcon from "@mui/icons-material/Clear";
import { gradient, opacity } from "../../theme/gradient";
export default function Calend... |
w;
h;
conjecture;
function setup() {
w = document.body.clientWidth;
h = document.body.clientHeight;
createCanvas(w, h);
translate(w / 2, h / 2);
background(0);
conjecture = new Conjecture(500, 32, w / 2, h / 2);
conjecture.run();
}
// function draw() {
// background(0);
// const x = map(mouseX,... |
search_result['1318']=["topic_0000000000000475.html","RPC_S_CANT_CREATE_ENDPOINT Field",""]; |
/**
* fpo_mp_input
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: 1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not e... |
var util = require('util');
var _ = require('lodash');
var app = {};
/**
* Worker
*
* Attaches defined data to parameter which inherit the data.
* It uses 2 functions, preProcess and postProcess (with the result of preProcess).
*
* preProcess Generates a list with [defineName][name][version] = value
* postPro... |
/* eslint-disable */
// this is an auto generated file. This will be overwritten
export const getProject = `query GetProject($id: ID!) {
getProject(id: $id) {
id
description
price
publishDate
owner
}
}
`;
export const listProjects = `query ListProjects(
$filter: ModelProjectFilterInput
$lim... |
/*
* 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.
*/
'... |
{
"data": {
"message": {
"part1": "Hello",
"part2": "World"
},
"chars": "`.`-=[]\\;',./~_+{}|:\"<>"
},
"main": {
".@": "github.com~0ink~codeblock/codeblock:Codeblock",
"_code": "\\nconst CODEBLOCK = require(\"../..\");\\n\\nconsole.log(\"m1\", ... |
/*! Olbox Lightbox Plugin | Myriam Frisano http://halfapx.com | https://github.com/mynimi/jquery-olbox */ |
import URange from './URange.js'
export {
URange
} |
exports.Auth = require("./auth");
exports.User = require("./controller/user");
exports.Campute = require("./controller/campute"); |
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = Lang;
const lang = window.lang;
let lang_list = {};
lang_list['en'] = {
'Insert Table...': 'Insert Table...',
'Fill Color...': 'Fill Color...',
'Border Color....': 'Border Color....',
'Insert Column Before': 'Inser... |
"use strict";
let datafire = require('datafire');
let openapi = require('./openapi.json');
module.exports = datafire.Integration.fromOpenAPI(openapi, "azure_monitor_guestdiagnosticsettings_api"); |
/* eslint-disable no-nested-ternary */
import React, { Component } from 'react';
import {
Page, Header, Content, stores,
} from 'choerodon-front-boot';
import { Link } from 'react-router-dom';
import {
Table, Button, Icon, Collapse, Tooltip,
} from 'choerodon-ui';
import _ from 'lodash';
import { FormattedMessage ... |
//>>built
define(
//begin v1.x content
({
"collapse": "ๆๅ ็ผ่พๅจๅทฅๅ
ทๆ ",
"expand": "ๅฑๅผ็ผ่พๅจๅทฅๅ
ทๆ "
})
//end v1.x content
); |
module.exports = {
displayName: 'shared-data-sequence',
preset: '../../../../jest.preset.js',
globals: {
'ts-jest': {
tsconfig: '<rootDir>/tsconfig.spec.json',
},
},
transform: {
'^.+\\.[tj]sx?$': 'ts-jest',
},
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx'],
coverageDirectory: '../..... |
import createContent from 'wordpress-rest-admin/util/createContent';
import List from './List';
export default createContent( 'media', ({contentBasePath}) => ({
label: 'Media',
icon: 'Image',
navProps: {isCapableOf: ['upload_files']},
routes: {
_default: {label: 'Media', component: List},
... |
import { first } from '@vect/vector-index'
import { isMatrix } from './isMatrix'
/**
*
* @param {*[][]} mx
* @return {number[]}
*/
export const coins = mx => isMatrix(mx)
? first(mx).map((_, i) => i)
: [] |
// I do nothing |
class ActiveImage extends Phaser.GameObjects.Image {
constructor(config) {
super(
game.scene.getScene(config.scene),
config.x,
config.y,
config.texture,
config.frame
);
this.alpha = config.alpha;
this.config = config;
this.event = config.event;
this.fill = config.... |
import React, { Fragment } from "react";
import { Link } from "react-router-dom";
const LoginForm = ({
email,
password,
admin,
onChange,
onSubmit,
onChangeAdmin
}) => {
return (
<Fragment>
<form onSubmit={e => onSubmit(e)}>
<fieldset>
<legend>Signin</legend>
<div cla... |
import React from "react";
import classNames from "classnames";
import { makeStyles } from "@material-ui/core/styles";
import GridContainer from "components/Grid/GridContainer.js";
import GridItem from "components/Grid/GridItem.js";
import Card from "components/Card/Card.js";
import CardBody from "components/Card/CardB... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.