text stringlengths 2 1.04M |
|---|
"use strict";
var __assign = (this && this.__assign) || function () {
__assign = Object.assign || function(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
t[p] = s[p];
... |
{
"description": "阿里云盘 WebDAV 服务器",
"home_url": "Module_aliyundrivewebdav.asp",
"md5": "c0bac93db83f87293a1e4efb7aa5a97c",
"module": "aliyundrivewebdav",
"title": "阿里云盘 WebDAV",
"version": "1.0.0"
} |
const electron = require('electron');
window.ipcRenderer = electron.ipcRenderer;
const appPath = electron.remote.require('electron').app.getAppPath()
window.appPath = appPath |
/*
Add a button click handler to post our request to a Lambda function.
The Lambda function will return a shortcode URL which it will also set
as a new redirect rule in the global CDN.
*/
var btn = document.querySelector('#btn-create');
btn.addEventListener('click', function (event) {
event.preventDefault();
... |
import findUserController from "./findUserController";
import findUsersController from "./findUsersController";
export default {
findUserController,
findUsersController
}; |
/* GET
https://baas.kinvey.com/appdata/kid_HJ7Mn_m6l/table-tennis-players
Post
Put
Delete
*/
(function loadStatistics() {
let url = "https://baas.kinvey.com/appdata/kid_HJ7Mn_m6l/table-tennis-players";
let getRequest = {
method:'GET',
url:url,
authorization:"Basic Z3Vlc3Q... |
require('dotenv').config({path: __dirname + '/../.env'})
const VONAGE_API_KEY = process.env.VONAGE_API_KEY
const VONAGE_API_SECRET = process.env.VONAGE_API_SECRET
const VONAGE_APPLICATION_ID = process.env.VONAGE_APPLICATION_ID
const VONAGE_APPLICATION_PRIVATE_KEY_PATH = __dirname +"/../"+ process.env.VONAGE_APPLICATIO... |
module.exports =
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId])
/******/ ret... |
/*! jQuery v1.7.2 jquery.com | jquery.org/license */
/*
AngularJS v1.5.0
(c) 2010-2016 Google, Inc. http://angularjs.org
License: MIT
*/
(function(O,W,v){'use strict';function H(a){return function(){var b=arguments[0],d;d="["+(a?a+":":"")+b+"] http://errors.angularjs.org/1.5.0/"+(a?a+"/":"")+b;for(b=1;b<arguments.le... |
const glob = require('glob')
const path = require('path')
const loadConfigs = (folder) => {
return new Promise((resolve, reject) => {
glob(`${folder}/**/*Config.js`, {}, (err, files) => {
if (err) return reject(err)
resolve(files.map((file) => {
const run = require(file)
const name = ... |
import React, {Component} from 'react'
import {StyleSheet, Platform} from 'react-primitives'
import {HorizontalSlider} from '@vgm/primitives-ui'
import {design} from '@vgm/design-specs'
import VideoItem from '../VideoItem'
const {
size: {unit},
} = design
let overflow = {}
if (Platform.OS === 'android' || Platform.... |
//// [classExtendsClauseClassNotReferringConstructor.ts]
class A { a: number; }
module Foo {
var A = 1;
class B extends A { b: string; }
}
//// [classExtendsClauseClassNotReferringConstructor.js]
var __extends = (this && this.__extends) || (function () {
var extendStatics = function (d, b) {
exten... |
const { devServerLog } = require('../../../utils/dev-server-logger');
// eslint-disable-next-line
module.exports.notFoundLogger = (req, res, next) => {
devServerLog(
'info',
'get a fault in serve static match, message:',
'not found file',
);
devServerLog('info', 'get a fault in serve static req.path:... |
var searchData=
[
['position_130',['position',['../struct_mesh_1_1_vertex.html#ad8f2090209ee519dfaeba219e85ca700',1,'Mesh::Vertex::position()'],['../structaie_1_1_o_b_j_mesh_1_1_vertex.html#ad794f22817c3cdbbf1bbdf5d91394298',1,'aie::OBJMesh::Vertex::position()']]],
['positions_131',['positions',['../structtinyobj_1... |
import React from 'react';
import {
Title,
Button,
EmptyState,
EmptyStateVariant,
EmptyStateIcon,
EmptyStateBody,
EmptyStateSecondaryActions,
} from '@patternfly/react-core';
import ProgressBar from '../common/ProgressBar';
import PropTypes from 'prop-types';
import {
CheckCircleIcon,
ExclamationCircl... |
/**
* @license
* Copyright 2016 Google Inc. All rights reserved.
*
* 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 requir... |
import React, { Component } from 'react'
import { translate } from 'react-i18next'
import Dropzone from 'react-dropzone'
// import IPFS from 'ipfs'
// import hett from 'hett'
import getIpfs from '../../../../utils/ipfs'
import styles from './style.css'
let ipfs = null;
class Upload extends Component {
constructor(p... |
'use strict';
process.stdin.resume();
process.stdin.setEncoding('utf-8');
let inputString = '';
let currentLine = 0;
process.stdin.on('data', inputStdin => {
inputString += inputStdin;
});
process.stdin.on('end', _ => {
inputString = inputString.trim().split('\n').map(string => {
return string.trim()... |
export default class Some {} |
import React from 'react';
const EuiIconCloudDrizzle = ({ title, titleId, ...props }) => (
<svg
width={16}
height={16}
viewBox="0 0 16 16"
xmlns="http://www.w3.org/2000/svg"
aria-labelledby={titleId}
{...props}>
{title ? <title id={titleId}>{title}</title> : null}
<path d="M6.348 3.76... |
import React from 'react'
export default ({ text }) => (
<div data-testid="joke-text">
{text}
</div>
); |
/**
*
* @param {string} url
* @source https://medium.com/@chris_72272/what-is-the-fastest-node-js-hashing-algorithm-c15c1a0e164e
*/
const hashURLAsID = url =>
require('crypto')
.createHash('sha1')
.update(url)
.digest('base64');
module.exports = {
hashURLAsID,
}; |
var searchData=
[
['bboxscale_0',['bboxScale',['../class_drag_selection_tool_1_1_scale.html#a4877f41d2fd019c78e2e4113604c73b4',1,'DragSelectionTool::Scale']]],
['bboxscaleincenter_1',['bboxScaleInCenter',['../class_drag_selection_tool_1_1_scale.html#ac9eb63db2ed2bc19b974001b01813327',1,'DragSelectionTool::Scale']]]... |
const
{ ChildProcessReporter } = require('@integration/testing-tools'),
{ actorCalled, configure, Duration, Interaction, StreamReporter } = require('@serenity-js/core');
describe('Jasmine reporting', () => {
const
notEnough = Duration.ofMilliseconds(50),
tooLong = Duration.ofMilliseconds(2... |
/**
* @license
* Copyright (c) 2012-2013 Chris Pettitt
*
* 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 use, copy, mo... |
const mongoose = require('mongoose');
mongoose.Promise = global.Promise;
const mongoUri = "mongodb://mongo:27017/connect-heroes"
function connect() {
mongoose.set('debug', true);
return mongoose.connect(mongoUri, { useMongoClient: true });
}
module.exports = {
connect,
mongoose
}; |
var request = require("request");
var count = 0
var out = [];
function handleProperties (dataset, metadata){
var jsonObject = {
programme_name: metadata.entity.programme_name,
project_name: metadata.entity.project_name,
property_code: metadata.entity.property_code,
property_type: (metadata.entity.property_dat... |
// IMPORTANT!
// This file has been automatically generated,
// in order to update it's content execute "npm run update"
"use strict"
const path = require("path")
const { ruleTester } = require("../../../utils/tester")
ruleTester(
"stylus/block-opening-brace-space-after",
path.resolve(
__dirname,
... |
import React from 'react';
import {Route, Redirect} from 'react-router-dom';
export const PrivateRoute = (
{
component: Component,
...parentProps
}
) => (
<Route
{...parentProps}
render={props => {
console.log('props---', props);
const data = JSON.parse(localStorage.getItem("user"));
... |
module.exports = {
// where it all starts -- the site's root Notion page (required)
rootNotionPageId: 'b827e9daefa74a38bc03a75e7d6b8ef8',
// if you want to restrict pages to a single notion workspace (optional)
// (this should be a Notion ID; see the docs for how to extract this)
rootNotionSpaceId: null,
... |
/*
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
'License'); you may not use this f... |
const expect = require('chai').expect
const { RouterGuard } = require('../../src/router/guard')
function thisIsFalse() {
return false
}
function thisIsTrue() {
return true
}
function thisIsAPromise() {
return new Promise(resolve => {
setTimeout(function() {
resolve(true)
}, 200)
})
}
describe... |
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a... |
(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.ex... |
// @flow
import React, { useEffect } from 'react'
import { List } from 'semantic-ui-react'
import { useDispatch, useSelector, shallowEqual } from 'react-redux'
import type { Dispatch, FileState, ClipState } from 'types'
export const FileList = () => {
const dispatch: Dispatch = useDispatch()
const { fileClips }: ... |
"use strict";
const { Alert } = require("react-native");
const myURL = "https://invkom-backend.herokuapp.com";
async function useEditQuantity(values, token, setToggleModal) {
const { quantity, productCode } = values;
try {
const response = await fetch(`${myURL}/edit-quantity`, {
method: "PUT",
he... |
var chars = jQuery.browser.safari && parseInt(jQuery.browser.version) < 417 ?
"(?:[\\w*_-]|\\\\.)" :
"(?:[\\w\u0128-\uFFFF*_-]|\\\\.)",
quickChild = new RegExp("^>\\s*(" + chars + "+)"),
quickID = new RegExp("^(" + chars + "+)(#)(" + chars + "+)"),
quickClass = new RegExp("^([#.]?)(" + chars + "*)");
jQuery.ext... |
define([ 'ractive' ], function ( Ractive ) {
'use strict';
return function () {
var fixture, placement, setup;
// some set-up
fixture = document.getElementById( 'qunit-fixture' );
setup = {
setup: function () {
var target = document.createElement('div'),
child = document.createElement('div');
... |
import { Calendar } from 'fullcalendar-custom/core'
import esLocale from 'fullcalendar-custom/core/locales/es'
import LuxonPlugin, { toDateTime, toDuration } from 'fullcalendar-custom/luxon'
import DayGridPlugin from 'fullcalendar-custom/daygrid'
import { getSingleEl, getEventElTimeText } from '../event-render/EventRen... |
var counter = require('./counter')();
module.exports = function() {
return counter;
}; |
import Raven from 'raven-js';
import RavenVue from 'raven-js/plugins/vue';
import './core/globalLog';
import './core/resourcesLog';
import './core/promiseLog';
function formatComponentName(vm) {
if (vm.$root === vm) return 'root';
const name = vm._isVue ? (vm.$options && vm.$options.name) || (vm.$options && vm.$o... |
import { Container } from 'inversify';
export var container = new Container();
export default container;
//# sourceMappingURL=container.js.map |
import Promise from 'bluebird';
import _ from 'lodash';
export function checkHttpStatus(response) {
if (response.status >= 200 && response.status < 300) {
return response;
}
const body = parseJSON(response);
const error = new Error(body ? body.message : response.statusText);
error.response ... |
import resolve from 'rollup-plugin-node-resolve';
import glsl from 'rollup-plugin-glsl';
import uglify from 'rollup-plugin-uglify';
import json from 'rollup-plugin-json';
import babel from 'rollup-plugin-babel';
import { version } from './package.json';
const banner = `/**
* GammaCV v${version}
* @license MIT
* @au... |
$(document).on("click","#btnsomar",function(){
var valor1 = $("#valor1").val();
var valor2 = $("#valor2").val();
var result = parseInt(valor1) + parseInt(valor2);
$("#resultado").val(result);
}); |
/**
* Question React Component - question.js
* @module
* @ author Matthew Moss
*/
'use strict';
var React = require('react');
var AnswerChoice = require('./answer-choice');
// View component for an individual question in final survey - reusable for
// survey preview withing building app and publishing a survey
modu... |
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
var _exportNames = {
presetsAddPreset: true
};
Object.defineProperty(exports, "presetsAddPreset", {
enumerable: true,
get: function get() {
return _presets.addPreset;
}
});
var _presets = require("./presets");
var _frameworks ... |
import React, { memo, useEffect, useState } from 'react';
import { StyleSheet, Text, View, TextInput, TouchableOpacity, TouchableWithoutFeedback, Keyboard, ActivityIndicator } from 'react-native';
import { useNavigation } from '@react-navigation/core';
import { SafeAreaView } from 'react-native-safe-area-context';
impo... |
import EventEmitter from 'events';
import {Events, Buffer} from 'core';
import {handleTSUrl} from './utils/toolFuns';
class BufferManager extends EventEmitter {
constructor(engine, config) {
super();
this.engine = engine;
this.config = config;
/* segment
sn: number
... |
const Command = require("../../base/Command.js");
const Permissions = require("../../Settings/Permissions.json");
const Discord = require("discord.js")
const cezalar = require("../../models/cezalı.js")
const ceza = require("../../models/cezalar.js")
const moment = require("moment")
require("moment-duration-format")
cla... |
import keyBy from 'lodash/keyBy';
export default class LogsStreamsFollowService {
/* @ngInject */
constructor(
$websocket,
$translate,
OvhApiDbaas,
LogsStreamsService,
CucControllerHelper,
CucCloudMessage,
CucServiceHelper,
CucUrlHelper,
LogsConstants,
) {
this.$websocket ... |
import React, { Component } from 'react';
import { CSSTransitionGroup } from 'react-transition-group';
import Button from '../Button';
import './WelcomePage.css';
class WelcomePage extends Component {
handleScroll = evt => {
//outputs <scroll-container> coordinates
const left = this.refs['scroll-container']... |
'use strict'
const { PassThrough, pipeline } = require("stream");
const passThrough = new PassThrough();
passThrough.on('data', data => {
console.log('Data from pathThrough', data.toString());
});
console.log("Starting pipeline...");
pipeline(process.stdin, passThrough, process.stdout, err => {
if (err) {
c... |
const mongoose = require('mongoose')
const waypointSchema = new mongoose.Schema({
name: String,
pos: {
x: { type: Number, min: -30, max: 30 },
y: { type: Number, min: -40, max: 40 }
},
iconId: Number,
description: String,
color: {
r: { type: Number, min: 0, max: 255 },
... |
//// [newWithSpreadES5.ts]
function f(x: number, y: number, ...z: string[]) {
}
function f2(...x: string[]) {}
interface A {
f: {
new (x: number, y: number, ...z: string[]);
}
}
class B {
constructor(x: number, y: number, ...z: string[]) {}
}
interface C {
"a-b": typeof B;
}
interface D {
... |
import path from "path";
import fs from "fs";
import getPixels from "get-pixels";
const fontPath = path.resolve(".", "design", "font0.png");
const outputFile = path.resolve(".", "asm", "kernel", "charmap.asm");
export function loadFont(pathToFont, cb) {
getPixels(pathToFont, (err, pixels) => {
if (err) {
... |
import React from "react";
import { observer } from "mobx-react";
import { types } from "mobx-state-tree";
import { HighlightOutlined } from "@ant-design/icons";
import BaseTool from "./Base";
import SliderTool from "../components/Tools/Slider";
import ToolMixin from "../mixins/Tool";
import { BrushRegionModel } from ... |
module.exports = {
extends: ["./javascript.js"],
rules: {},
}; |
import React from 'react';
import { mount } from 'enzyme';
import { act } from 'react-dom/test-utils';
import { WizardPage } from 'shared/WizardPage';
describe('the WizardPage component', () => {
const minProps = {
handleSubmit: jest.fn(),
pageList: ['1', '2', '3'],
pageKey: '1',
match: {},
};
... |
//installed 3rd party packages
let createError = require('http-errors');
let express = require('express');
let path = require('path');
let cookieParser = require('cookie-parser');
let logger = require('morgan');
//modules for authentication
let session = require('express-session');
let passport = require('passpor... |
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'stylescombo', 'eu', {
label: 'Estiloak',
panelTitle: 'Formatu estiloak',
panelTitle1: 'Bloke estiloak',
panelTitle2: 'Lineako estiloak',
panelTi... |
/*
* This combined file was created by the DataTables downloader builder:
* https://datatables.net/download
*
* To rebuild or modify this file with the latest versions of the included
* software please visit:
* https://datatables.net/download/#bs4/dt-1.11.2/r-2.2.9
*
* Included libraries:
* DataTables 1.... |
'use strict';
// MODULES //
var isNumber = require( 'validate.io-number-primitive' ),
isnan = require( 'validate.io-nan' ),
isArrayLike = require( 'validate.io-array-like' ),
isTypedArrayLike = require( 'validate.io-typed-array-like' ),
isMatrixLike = require( 'validate.io-matrix-like' ),
ctors = require( 'compu... |
// Business logic
var player1="";
var player2="";
var throwdice= function (){
return Math.floor(6*Math.random())+1;
}
function Player(turn){
this.roll=0;
this.tempscore=0;
this.totalscore=0;
this.turn=turn;
this.playerName;
}
//checking for player 1
Player.prototype.rollone=function(){
if(this.roll===1)... |
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/cdk/coercion'), require('@angular/core'), require('rxjs'), require('rxjs/operators')) :
typeof define === 'function' && define.amd ? define('@angular/cdk/observers', ['exports', '@angu... |
const log = require('debug')('libs:axios')
const { post, get } = require('axios').default
module.exports = {
post: axiosPost,
get: axiosGet
}
async function axiosPost ({ url, headers, body }) {
log('axiosPost:', { url, headers, body })
const { data, ...responseInfo } = await post(url, body, { headers ... |
const snapRes = 10;
import {getp1,getp2} from '../utils';
import {drawDim} from '../constants';
const singleLeadPointGroup = (state,action) => {
switch(action.type){
case 'DRAG_START':
//console.log('DragStart', action);
return {
...state,
movement: {
isDragging: true,
... |
/** @jsx jsx */
import { jsx } from "@emotion/core";
import styled from "@emotion/styled";
/* Note: From Emotion documentation: https://emotion.sh/docs/styled#composing-dynamic-styles
const dynamicStyles = props =>
css`
color: ${props.checked ? 'black' : 'grey'};
background: ${props.checked ? 'linear-gradient... |
//global chart and tree data declaration.
var chart, dataTree;
/*
This flag is used to separate total item remove from setting new item parent.
When remove item from tree - tree dispatches treeItemRemove-event.
When set new parent to item - tree dispatches treeItemRemove first (removed from old parent) and then tre... |
/* eslint-disable */
import "./polyfill.js";
/**
@license
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
The complet... |
import { useState } from 'react';
const useLocalStorage = (key, initialValue) => {
const [storedValue, setStoredValue] = useState(() => {
try {
const item = localStorage.getItem(key);
return item ? JSON.parse(item) : initialValue;
} catch (error) {
return initialValue;
}
});
const ... |
export default theme => ({
root: {
display: 'flex',
flexDirection: 'column',
alignItems: 'flex-start',
height: '200px',
width: '300px',
margin: theme.spacing(0.5),
padding: theme.spacing(1.3)
},
top: {
display: 'flex',
justifyContent: 'space-between',
width: '100%'
},
n... |
import { r as registerInstance, h, H as Host, d as getIonMode } from './core-ac546284.js';
const Thumbnail = class {
constructor(hostRef) {
registerInstance(this, hostRef);
}
render() {
return (h(Host, { class: getIonMode(this) }, h("slot", null)));
}
static get style() { return ":h... |
"use strict";
import path from "path"
import fs from "fs";
import builtins from '@erquhart/rollup-plugin-node-builtins';
import resolve from 'rollup-plugin-node-resolve';
import commonjs from 'rollup-plugin-commonjs';
import json from 'rollup-plugin-json';
import _globals from "rollup-plugin-node-globals";
const und... |
import "../../../styles/forum/PostCard.css"
import React, {useContext, useEffect, useState} from "react";
import user_picture from "../../../icons/userphoto_default.png"
import more_button from "../../../icons/morebutton.svg";
import InteractionBox from "./InteractionBox";
import {Link} from "react-router-dom";
import ... |
/**
* Sum the array
*
* Use `Array.prototype.reduce`
*
* @param {Array} arr
* @return {*}
* @since 0.1.0
* @category Array
* @sign [a] -> a
* @example
*
* f.sum([1, 2, 3, 4]) // => 10
* f.sum(['a', 'b', 'c', 'd']) // => abcd
*/
const sum = arr => arr.reduce((acc, cur) => acc += cur)
export default su... |
/* eslint-disable no-irregular-whitespace */
const config = {
/**
* Configure the account/resource type for deployment (with 0 or 1)
* - accountType: controls account type, 0 for global, 1 for china (21Vianet)
* - driveType: controls drive resource type, 0 for onedrive, 1 for sharepoint document
*
* Fo... |
export * from "./Tw2WbgTrack";
export * from "./Tw2TransformTrack"; |
export default {
root: {
borderRadius: 5,
transformStyle: 'preserve-3d',
WebkitTapHighlightColor: 'rgba(#000, 0)'
},
staticFallback: {
maxWidth: '100%',
maxHeight: '100%',
borderRadius: 5,
boxShadow: '0 2px 8px rgba(14, 21, 47, 0.25)'
},
container: {
position: 'relative',
... |
module.exports = function(req, res, next) {
var users = require('../users.json');
if (users.length == 0) {
next();
} else if (!req.isAuthenticated()) {
res.redirect('/login');
} else {
next();
}
}; |
/**
* Copyright (c) 2015-present, Parse, LLC.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
*/
/* global ... |
(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["offline-pin-sharp"] = f... |
/*
Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
CKEDITOR.plugins.setLang( 'contextmenu', 'en-au', {
options: 'Context Menu Options'
} ); |
import React from "react";
import { Container, Row, Col } from "react-bootstrap";
import ProjectCard from "./ProjectCards";
import Particle from "../Particle";
import tflearn from "../../Assets/Projects/tflearn.png";
import who from "../../Assets/Projects/who.jpeg";
import chatbot from "../../Assets/Projects/chatbot.j... |
class Subtitle {
constructor(container, video, options, events) {
this.container = container;
this.video = video;
this.options = options;
this.events = events;
this.init();
}
init() {
this.container.style.fontSize = this.options.fontSize;
this.contai... |
System.register([], function (exports_1, context_1) {
var __moduleName = context_1 && context_1.id;
var RowScrollEvents;
return {
setters: [],
execute: function () {
RowScrollEvents = (function () {
function RowScrollEvents(element, htmlCache, controller) {
... |
import request from '../utils/request';
export async function query() {
return request('/api/users');
}
// export async function queryCurrent() {
// return request('/api/currentUser');
// } |
var f = [
[]
]
var phase = [
[]
]
var scl
var x = []
var y = []
var tex
var signature
var z_axis_ratio = 2
var colormap = []
var my_canvas
function preload() {
table = loadTable('https://raw.githubusercontent.com/angeloyeo/angeloyeo.github.io/master/p5/2019-06-16-imaginary_root/colormap.csv', 'csv')
}
functi... |
/*
* ! ${copyright}
*/
sap.ui.define(function () {
"use strict";
/**
* Class handling the Fake Lrep in different storages
* @param {Storage} oStorage The storage to be used (e.g. window.sessionStorage)
*
* @class
*
* @author SAP SE
* @version ${version}
*
* @private
* @static
* @since 1.58
... |
/**
* Visual Blocks Editor
*
* Copyright 2012 Google Inc.
* http://blockly.googlecode.com/
*
* 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/LICEN... |
"use strict";
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = exports.TypographyRoot = void 0;
var _objectWithoutPropertiesLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWit... |
import React from "react";
import { Link } from "gatsby";
import { ArrowRight } from "./icons";
import * as styles from "./prompt-preview.module.css";
export default ({ prompt }) => (
<Link to={`/prompt/${prompt.slug}`} className={styles.preview}>
<h3 className={styles.previewTitle}>{prompt.hashtag}</h3>
<Ar... |
import * as tslib_1 from "tslib";
import * as React from 'react';
import './CalloutExample.scss';
import { DefaultButton, Callout, DirectionalHint, Dropdown } from 'office-ui-fabric-react';
var DIRECTION_OPTIONS = [
{ key: DirectionalHint.topLeftEdge, text: 'Top Left Edge' },
{ key: DirectionalHint.topCenter, t... |
import { User } from './user.js';
/**
* 简墨工具包
*/
class Utils {
constructor() {
// 计数器
this.timerCounter = 5;
this.user = new User();
}
parentNotification( message, status, pos ){
try {
// 如果是 iframe 载入, 调用 error 发送通知
if ( window.parent.Notification ) {
window.parent.Notification(message, sta... |
var express = require('express'),
app = express(); //Application object
app.use(express.static ('public'));
app.get('/', function(req,res){
res.send("Hello World");
});
var server = app.listen(process.env.PORT || 3000, function(){
console.log('Express Server listening on port %s', server.address().port);
});
/... |
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _express = require('express');
var _express2 = _interopRequireDefault(_express);
var _account = require('../models/account');
var _account2 = _interopRequireDefault(_account);
function _interopRequireDefault(obj) { return obj && ob... |
/**
* @author Yosuke Ota
*/
'use strict'
const { wrapCoreRule } = require('../utils')
// eslint-disable-next-line no-invalid-meta, no-invalid-meta-docs-categories
module.exports = wrapCoreRule(
require('eslint/lib/rules/brace-style'),
{ skipDynamicArguments: true }
) |
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
typeof define === 'function' && define.amd ? define(['exports'], factory) :
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.cat = {}));
}(this, (function (expor... |
module.exports = new Date(2023, 9, 1) |
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var codeBlockWriter_1 = require("./codeBlockWriter");
var compiler_1 = require("./compiler");
var errors = require("./errors");
var factories_1 = require("./factories");
var fileSystem_1 = require("./fileSystem");
var options_1 = require("./op... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.