text stringlengths 2 1.05M |
|---|
// show current dir on load
window.addEventListener('load', function () {
document.querySelector('.current-dir').style.visibility = 'visible';
});
// known extensions
var fileexts = [
'png', 'jpg', 'gif', 'mp4', 'mp3', 'psd', 'xls',
'ai', 'eps', 'json', 'js', 'php', 'html', 'css',
'docx', 'pdf', 'zip'... |
var classSimTK_1_1MobilizedBody_1_1Screw =
[
[ "Screw", "classSimTK_1_1MobilizedBody_1_1Screw.html#ac0962bd5a26af9a140ddc9ef27f8eab9", null ],
[ "Screw", "classSimTK_1_1MobilizedBody_1_1Screw.html#ab78258fc13ef7e532427717c9779cf76", null ],
[ "Screw", "classSimTK_1_1MobilizedBody_1_1Screw.html#aeb8b0b2d6983... |
// This file was procedurally generated from the following sources:
// - src/class-elements/eval-contains-superproperty-1.case
// - src/class-elements/initializer-eval-super-property/cls-decl-fields-eval.template
/*---
description: super.x in StatementList of eval (direct eval)
esid: sec-performeval-rules-in-initialize... |
// flow-typed signature: bbdbc6a9f99912296748be5c5eec24f9
// flow-typed version: <<STUB>>/cross-env_v^5.1.1/flow_v0.59.0
/**
* This is an autogenerated libdef stub for:
*
* 'cross-env'
*
* Fill this stub out by replacing all the `any` types.
*
* Once filled out, we encourage you to share your work with the
*... |
import React from 'react';
import { Router ,Route, hashHistory, IndexRoute} from 'react-router';
import App from '../layout/App';
import Index from 'pages/Test/App';
// import Index from 'pages/Test1/App';
// import Index from 'pages/Test2/App';
const Routers = (
<Router history={hashHistory}>
<Route exact path=... |
import React from 'react'
import {graphql, Link, StaticQuery} from 'gatsby'
//import Layout from "../components/layout"
const Homebanner = () => (
<StaticQuery query={graphql
`
{
allWordpressPage {
edges {
node {
id
title
excerpt
slug
... |
function solve(n, array) {
let newArr = [];
for (let i = 0; i < n; i++){
newArr[i] = array[i];
}
let output = '';
for (let j = newArr.length-1; j >= 0; j--){
output += `${Number(newArr[j])} `;
}
console.log (output);
}
solve (3, [10, 20, 30, 40, 50]);
solve (4, [-1, 20, 99, 5]);
solve (2, [66, 43,... |
import expect from 'expect.js';
import sinon from 'sinon';
import jsdom from 'mocha-jsdom';
import Widget from '../src/widget';
describe('Widget', () => {
jsdom({url: 'http://localhost/'});
let widget;
beforeEach(() => {
widget = new Widget(
document.createElement('div'),
function handler(el) ... |
/* global $this: true */
/* eslint no-unused-vars: ["error", { "varsIgnorePattern": "animationsSlider" }] */
if ($.cookie('themeCSSpath')) {
$('link#theme-stylesheet').attr('href', $.cookie('themeCSSpath'))
}
if ($.cookie('themeLayout')) {
$('body').addClass($.cookie('themeLayout'))
}
$(function () {
... |
import request from '@/utils/request'
export function login(data) {
return request({
url: '/adminUser/login',
method: 'post',
data
})
}
export function getAdminList(data) {
return request({
url: '/adminUser',
method: 'get',
params: data
})
}
export function deleteById(userId) {
retu... |
const _ = require('lodash');
const Knex = require('knex');
const expect = require('expect.js');
const Promise = require('bluebird');
const objection = require('../../../');
const { isFunction } = require('../../../lib/utils/objectUtils');
const knexMocker = require('../../../testUtils/mockKnex');
const RelationOwner = ... |
const validatePhoneNumberOptional = require("./validatePhoneNumberOptional");
describe("Function: validate secondary contact", () => {
it("Should return false when type is not string", () => {
// Arrange
const badNumber = [[], {}, null, undefined];
// Act
badNumber.forEach(number => {
// Assert... |
var nconf = require('nconf'),
path = require('path'),
amqp = require('amqp'),
exchange,
exchangeOptions,
connection;
nconf.argv().env();
nconf.file({
file: path.join(__dirname, '..', 'config.json')
});
exchange = nconf.get("rabbit:exchange:name");
exchangeOptions = nconf.get("rabbit:exchange:options");
lo... |
import React, { Component } from "react";
import { Link } from "react-router-dom";
import PropTypes from "prop-types";
import Container from "../../components/Container";
import api from "../../services/api";
import { Loading, Owner, IssueList } from "./styles";
export default class Repository extends Component {
... |
import React from 'react'
import p from 'prop-types'
import Grid from '@material-ui/core/Grid'
import Card from '@material-ui/core/Card'
import CardContent from '@material-ui/core/CardContent'
import withStyles from '@material-ui/core/styles/withStyles'
import gql from 'graphql-tag'
import CreateFAB from '../lists/Crea... |
// In production, we register a service worker to serve assets from local cache.
// This lets the app load faster on subsequent visits in production, and gives
// it offline capabilities. However, it also means that developers (and users)
// will only see deployed updates on the "N+1" visit to a page, since previously... |
import React from "react"
import SlideShow from "../carousel/index"
import YouTubePlayer from "react-player"
import portfolioStyles from "./portfolio.module.scss"
const Portfolio = () => {
return (
<section id="portfolio" className={portfolioStyles.container}>
<SlideShow />
<div className={portfolioS... |
import React from 'react'
const Photos = () => {
return (
<div className="containe">
<div className="row">
<div className="photo">
<img src="http://peoplesideconsulting.com/wp-content/uploads/2015/08/techology-people.jpg" style={{width:"100%"}}/>
... |
window.peopleAlsoBoughtJSON = [{"asin":"B00CHQSR14","authors":"Clive Barker","cover":"51kLWw-gqPL","length":"6 hrs and 51 mins","narrators":"Simon Vance, Dick Hill, Peter Berkrot, and others","title":"The Books of Blood, Volume 1"},{"asin":"B00UHEOI16","authors":"Clive Barker","cover":"51i3sCQL7iL","length":"37 hrs and... |
// methods
import curry from './curry';
import filter from './filter';
import reduce from './reduce';
// utils
import isArray from './_utils/isArray';
import isObject from './_utils/isObject';
/**
* @function pickArray
*
* @description
* pick the values from the given array based on the existence of the indices
... |
/*! For license information please see a9a7754c-8b6772b9d0a10ec64145.js.LICENSE.txt */
(self.webpackChunkgatsby_starter_ghost=self.webpackChunkgatsby_starter_ghost||[]).push([[112],{4297:function(c,n,e){"use strict";e.d(n,{AYu:function(){return i},hwn:function(){return t},lLR:function(){return f},mdU:function(){return ... |
var $class = function() {
var _super, init;
if (arguments.length === 1) { init = arguments[0]; }
else {
_super = arguments[0]; init = arguments[1]; }
var skip = false;
var clss = function() {
if (skip) { return; }
this.init.apply(this, arguments);
};
if (_super !== undefined) {
_super._setSkip();
clss... |
import React from 'react';
import { Grid } from '@material-ui/core';
import Widget from '../../components/Widget';
import ApexLineChart from './components/ApexLineChart';
import ApexHeatmap from './components/ApexHeatmap'
import {
CartesianGrid,
Legend,
Line,
LineChart,
Pie,
PieChart,
Respo... |
import React from 'react'
import PropTypes from 'prop-types'
class Title extends React.Component {
render() {
const {title, subtitle} = this.props
return (
<div>
<div className='head'>
<h3>{title}</h3>
<h5>{subtitle}</h5>
</div>
<style jsx>{`
.h... |
define("p3/JobManager", ['dojo/_base/Deferred', 'dojo/topic', 'dojo/request/xhr',
'dojo/promise/all', 'dojo/store/Memory', 'dojo/store/Observable', 'dojo/when'
], function (
Deferred, Topic, xhr,
All, MemoryStore, Observable, when
) {
var self = this;
var TIME_OUT = 5000; // in ms
// state model of filter... |
const inpt = document.getElementById("input");
const btn = document.getElementById("button");
const output = document.getElementById("count");
function countUp(n) {
if (n < 1) {
return [];
} else {
const arr = countUp(n - 1);
arr.push(n);
return arr;
}
}
btn.addEventListene... |
'use strict';
const express = require('express');
const app = express();
const router = express.Router();
const moment = require('moment');
const padEnd = require('pad-end');
const path = require('path');
const config = require('./config');
const curPath = __dirname + '/';
const mongoose = require('mongoose');
const ... |
import { connect } from 'react-redux';
import { getWidgetFooterProps } from './selectors';
import Component from './component';
export default connect(getWidgetFooterProps)(Component);
|
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([[1],{YjbW:function(e,E,t){"use strict";t.d(E,"a",function(){return o}),t.d(E,"b",function(){return C});var n=t("o0o1"),r=t.n(n),I=t("yXPU"),a=t.n(I),i=t("vDqi"),c=t.n(i),o={INSPIRE_ME:"INSPIRE_ME",INSPIRE_ME_SUCCESS:"INSPIRE_ME_SUCCESS",INSPIRE_ME_FAILURE:"INSPI... |
define({
gadgetRegistry: [
{
name: "SimpleGadget",
gadget: "SimpleGadget"
}
],
layoutData: {
"address": "/windows[0]",
"subAreas": [
{
"address": "/windows[0]/top",
"gadget": {
"name": "Si... |
'use strict';
/**
* Module dependencies.
*/
var mongoose = require('mongoose'),
moment = require('moment'),
Schema = mongoose.Schema;
/**
* Password Request Schema
*/
var PassResReqSchema = new Schema({
email: {
type: String,
default: '',
trim: true
},
token: {
... |
var e=Object.defineProperty,t=Object.defineProperties,a=Object.getOwnPropertyDescriptors,l=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable,s=(t,a,l)=>a in t?e(t,a,{enumerable:!0,configurable:!0,writable:!0,value:l}):t[a]=l,o=(e,t)=>{for(var a in t||(t={}))n.call(t,... |
module.exports={A:{A:{"1":"E A B","2":"P F D rB"},B:{"1":"C I J K L M N v s Q VB GB"},C:{"1":"0 1 2 3 4 5 6 7 8 9 V W X Y Z a b c d e f g h i j k l m n o p q r R t u O w x y z SB WB AB BB CB DB EB H FB MB NB OB PB QB RB IB TB UB v s Q kB","2":"uB LB","260":"G T P F D E A B C I J K L M N U jB iB"},D:{"1":"0 1 2 3 4 5 6 ... |
module.exports = {
siteMetadata: {
title: `Melissa Masia`,
description: `Melissa Masia's personal website`,
author: `Melissa Masia`,
},
plugins: [
`gatsby-plugin-react-helmet`,
{
resolve: `gatsby-source-filesystem`,
options: {
name: `images`,
path: `${__dirname}/src... |
<<<<<<< HEAD
import Big from "big.js";
import operate from "./operate";
import isNumber from "./isNumber";
/**
* Given a button name and a calculator data object, return an updated
* calculator data object.
*
* Calculator data object contains:
* total:String the running total
* next:String the ne... |
const electronConnect = require('electron-connect');
class ElectronConnectReplacementWebpackPlugin {
constructor(pluginOptions, electronOptions) {
this._pluginOptions = pluginOptions ? pluginOptions : {};
this._electronOptions = electronOptions ? electronOptions : {};
this.apply = this.apply.bind(this)... |
"use strict";
/**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.ThemingApiMigration = void 0;
con... |
'use strict';
/* Services */
/* global angular */
/* global moment */
/* jshint strict : true */
/* jshint undef : true */
/* jshint unused : true */
/* jshint globalstrict : true */
var settings = require('./shared/configuration');
angular.module( 'myApp.services.data', [] ).
factory('dataService', function() {
... |
var _ = require('lodash');
var dev = require('./development');
var test = require('./testing');
var prod = require('./production');
// default config obj for our api
var config = {
dev: 'development',
test: 'testing',
prod: 'production',
//port: process.env.OPENSHIFT_NODEJS_PORT || 8080,
db: {url: 'mongodb:/... |
var taskit = function () {
return {
getRowData: function (elem,table) {// get el row de un datatable para no tener que pasar el id en ninguna clase
var current_row = $(elem).parents('tr');
if (current_row.hasClass('child')) {//Check if the current row is a child row
c... |
// Message types passed between worker and UI Thread
export const EVENT = 'event';
export const RENDER_TIME = 'render_time';
export const RENDER = 'render';
// Operations to be performed while rendering
export const RENDER_QUEUE = 'renderQueue';
export const CONSTRUCTOR = 'constructor';
export const ADD_CHILD = 'appen... |
'use strict';
const op = {};
exports.op = op;
const refs = require('./refs.js');
const NQPInt = require('./nqp-int.js');
const NQPNum = require('./nqp-num.js');
const NQPStr = require('./nqp-str.js');
const NQPException = require('./nqp-exception.js');
const nullStr = require('./null_s.js');
const Null = require('.... |
import axios from 'axios';
import getConfig from 'next/config';
import ApiError from './api.error';
const {
publicRuntimeConfig: { apiUrl },
} = getConfig();
// Do not throw errors on 'bad' server response codes
axios.interceptors.response.use(axiosConfig => axiosConfig, error => error.response);
const generalErr... |
'use strict';
var common = require('./common');
// copy relevant convienient constants
var config = require('../config');
var SATOSHI_FACTOR = config.SATOSHI_FACTOR;
var FUDGE_FACTOR = config.FUDGE_FACTOR;
exports.sendBitcoins = function (address, satoshis, fee, callback) {
var amount = (satoshis... |
dojo._xdResourceLoaded({
depends: [["provide", "dojox.charting.scaler"]],
defineResource: function(dojo){if(!dojo._hasResource["dojox.charting.scaler"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code.
dojo._hasResource["dojox.charting.scaler"] = true;
dojo.provide("dojox.charting... |
/* global location */
import React, { Suspense } from 'react'
import ReactDOM from 'react-dom'
import HeadManager from './head-manager'
import { createRouter, makePublicRouterInstance } from 'next/router'
import mitt from '../next-server/lib/mitt'
import {
loadGetInitialProps,
getURL,
SUPPORTS_PERFORMANCE_USER_TI... |
game.resources = [
/* Graphics.
* @example
* {name: "example", type:"image", src: "data/img/example.png"},
*/
{name: "background-tiles", type:"image", src: "data/img/background-tiles.png"},
{name: "meta-tiles", type:"image", src: "data/img/meta-tiles.png"},
{name: "player", type:"image"... |
import React, { Component } from 'react';
import { Container,Row,Col,Image } from 'react-bootstrap';
import { Link, StaticQuery, graphql } from 'gatsby'
import banner1 from '../../images/home-section-4-img-2.png'
import AboutScreen2 from '../AboutScreen/AboutScreen2'
import AboutScreen2Heading from '../AboutScreen/Abou... |
module.exports = {
parser: '@typescript-eslint/parser',
parserOptions: {
project: 'tsconfig.json',
sourceType: 'module',
},
plugins: ['@typescript-eslint/eslint-plugin'],
extends: [
'plugin:@typescript-eslint/recommended',
'prettier/@typescript-eslint',
'plugin:prettier/recommended',
],
... |
import React from 'react';
const Header = props => {
return (
<nav className="navbar navbar-expand-sm navbar-dark bg-primary mb-3">
<div className="container">
<a className="navbar-brand" href="/">
React App
</a>
<button
className="navbar-toggler"
type=... |
// @ts-check
var fs = require('fs');
var path = require('./path');
var { warnn, logn, infon, debugn, errorn } = require('./log');
class AppDelegateLinker {
constructor() {
this.appDelegatePath = path.appDelegate;
this.removeUnneededImportsSuccess = false;
this.removeApplicationLaunchContentSuccess = fals... |
const Stats = ({ stats, size }) => {
if (Object.keys(stats).length === 0) return null
const items = [
{ name: 'Model Size', stat: size },
{ name: 'Meshes', stat: stats.meshes.properties.length },
stats.faces === Number && {
name: 'Faces',
stat: stats.faces,
},
{
name: 'Vertices... |
// flow-typed signature: 6ff3f9327aea1e7e79d4967cafb49b1f
// flow-typed version: <<STUB>>/home-dir_v^1.0.0/flow_v0.37.0
/**
* This is an autogenerated libdef stub for:
*
* 'home-dir'
*
* Fill this stub out by replacing all the `any` types.
*
* Once filled out, we encourage you to share your work with the
* ... |
import { createGlobalStyle } from 'styled-components'
const GlobalStyle = createGlobalStyle`
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
... |
import React from "react"
import { graphql, withPrefix } from "gatsby"
import styles from "../pages/index.module.css"
import Logo from "../components/Logo"
import ThemeSwitch from "../components/ThemeSwitch"
import "../pages/global.css"
import "../pages/article.css"
import Footer from "../components/Footer"
import { He... |
var mysql = require('mysql')
var connection = mysql.createConnection({
host: process.env.DB_HOST,
user: process.env.DB_USER,
password: process.env.DB_PASSWORD,
database : process.env.DB_NAME
})
connection.connect();
// connection.query('SELECT 1 + 1 AS solution',
// function (error, results, fields) {
// if... |
/* eslint-disable react/no-deprecated */
import React from 'react';
// Containers
import Menu from './Menu/Menu';
import Setup from './SetUp/Setup';
import Dashboard from './Dashboard/Dashboard.js';
import Monitors from './Monitors/Monitors';
import Infrastructure from './Infraestructure/Infrastructure';
import Synthet... |
/* Thank you Drew McLellan for starting us off
with http://24ways.org/2006/tasty-text-trimmer */
function TextTrimmer(value) {
var self = this;
this.minValue = 0;
this.maxValue = 100;
this.chunks = false;
this.prevValue = 0;
if (value >= this.maxValue) {
this.curValue = this.maxValue;
} else if (value < t... |
include("params.jscad");
function z_nut_support(width, length, excess)
{
var thick = glbl.thickness;
var width2 = width/2;
var thick2 = thick/2;
var length2 = length/2;
var z_nut_h = 4 * Math.sqrt(2);
var scrwr = glbl.screwRadius;
var ori_y = length/2 - 2... |
// 自定义配置,参考 ./default/setting.config.js,需要自定义的属性在这里配置即可
module.exports = {
theme: {
mode: 'dark',
color: '#1890ff',
},
multiPage: true,
animate: {
disabled: false,
name: 'fade',
direction: 'right'
}
}
|
/* 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 writing, software
* distribut... |
/**
* Gets the repositories of the user from Github
*/
import { call, put, select, takeLatest } from 'redux-saga/effects';
import { LOAD_REPOS } from 'containers/App/constants';
import { reposLoaded, repoLoadingError } from 'containers/App/actions';
import request from 'utils/request';
import { makeSelectUsername }... |
var validatorComponent = Vue.component('child', {
props: {
// basic type check (`null` means accept any type)
propA: Number,
// multiple possible types (1.0.21+)
propM: [String, Number],
// a required string
propB: {
type: String,
required: tru... |
(function(){
'use strict';
/**
* invertedPathFilter - filter dataview by path: only items not in the given path are allowed
* @param {jQueryObject} checkedCheckboxes - checked checkboxes list
* @param {Array.<jQuery.fn.jplist.DataItemModel>} dataview - stores dataview
* @return {Array.<jQuery.fn.jplist.DataIte... |
import React, { Component } from 'react';
import PropTypes from 'prop-types';
import api from './api/GoogleCloudApi';
import DicomStoreList from './DicomStoreList';
import './googleCloud.css';
export default class DicomStorePicker extends Component {
state = {
error: null,
loading: true,
stores: [],
... |
//---------------------------------------------------------------
//All required packages
//---------------------------------------------------------------
var friendsData = require("../data/friends");
//---------------------------------------------------------------
//Routing
//---------------------------------------... |
exports.JsonWebTokenError = require('./JsonWebTokenError.js');
exports.MessageError = require('./MessageError.js');
|
console.log("testing") |
const date_picker_element = document.querySelector('.date-picker');
const dates_element = document.querySelector('.date-picker .dates');
const mth_element = document.querySelector('.date-picker .dates .month .mth');
const next_mth_element = document.querySelector('.date-picker .dates .month .next-mth');
const prev_mth_... |
(/* istanbul ignore next */ function (global, factory) {
if (typeof define === "function" && define.amd) {
define(['module', 'exports', '../get/parents', '../util/context-to-element', '../util/element-matches', '../util/tabindex-value', './valid-tabindex', './is.util', '../supports/supports'], factory);
} else ... |
/**
* Copyright (c) 2015-present, Alibaba Group Holding Limited.
* All rights reserved.
*
* @providesModule ReactDimensions
*/
'use strict';
let dimensions = {
// Not map to real window size, because that map to screen size in native env.
window: {
get width() { return document.documentElement.clientWidth... |
import React, { useContext } from "react"
import { PageLayout, PageTitle } from "../components"
import { Container, Image } from "react-bootstrap"
import { Link, graphql } from "gatsby"
import { ThemeContext, SEO } from "../utils"
export default ({ data }) => {
const MediaLink = ({ title, author, link }) => (
<l... |
const path = require('path');
const fs = require('fs');
const getManifest = () => {
try {
return JSON.parse(
fs.readFileSync(
path.resolve(__dirname, '..', 'public/manifest.json')
)
);
} catch (error) {
console.log(error);
}
};
module.exports... |
(function (root) {
"use strict";
var buster = root.buster || require("buster");
var sinon = root.sinon || require("../lib/sinon");
var assert = buster.assert;
var refute = buster.refute;
buster.testCase("sinon.assert", {
setUp: function () {
this.global = typeof window !== ... |
/******************************************************************************
*
* Copyright (c) 2017, the Perspective Authors.
*
* This file is part of the Perspective library, distributed under the terms of
* the Apache License 2.0. The full license can be found in the LICENSE file.
*
*/
import arrow from "... |
const utils = require('../utils');
const functionalComponentCompose = require('../compose/functionalComponent');
// TODO: Badge with typeof value === 'string' should use RNE Text rather than native one...
const COMPOSE_NAME = 'Badge';
const compose = functionalComponentCompose.construct(COMPOSE_NAME);
module.exports ... |
'use strict';
var request = require('request');
var cheerio = require('cheerio');
const TARGET_URL = 'https://service.berlin.de/terminvereinbarung/termin/tag.php?termin=1&anliegen[]=121627&dienstleisterlist=122210,122217,122219,122227,122231,122238,122243,122252,122260,122262,122254,122271,122273,122277,122280,122282... |
function main() {
const v2 = [];
const v3 = {keyFor:"undefined",race:1337,trimEnd:1337,MAX_SAFE_INTEGER:1337,ignoreCase:v2,acosh:v2};
const v5 = [485105.67948907684,485105.67948907684];
function v6(v7,v8,v9,v10) {
}
function v11(v12,v13,v14,v15) {
if (v15) {
} else {
const v20 = [];
const v22 = ... |
var createError = require('http-errors');
var express = require('express');
var path = require('path');
var cookieParser = require('cookie-parser');
var logger = require('morgan');
var indexRouter = require('./routes/index');
var usersRouter = require('./routes/users');
// homework 4
var ordersRouter = require('./rout... |
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _express = require('express');
var _express2 = _interopRequireDefault(_express);
var _verify = require('./verify');
var _verify2 = _interopRequireDefault(_verify);
var _config = require('./config');
var _config2 = _interopRequir... |
window.Mapbender = Mapbender || {};
window.Mapbender.WmsSourceLayer = (function() {
function WmsSourceLayer() {
Mapbender.SourceLayer.apply(this, arguments);
}
Mapbender.SourceLayer.typeMap['wms'] = WmsSourceLayer;
WmsSourceLayer.prototype = Object.create(Mapbender.SourceLayer.prototype);
O... |
let i = 100;
let iarr = [1, 2, 3];
let s2 = '';
let j = 99;
addj(iarr);
for (let j = 0; j < iarr.length; ++j) {
let s1 = 'Hello';
s2 = s1;
i = j;
console.log(iarr[j]);
}
//console.log(s1) // Error
let s1 = 'World';
console.log(s1, s2);
console.log('i=', i);
console.log('j=', j);
j = 0;
function addj(arr) {
co... |
var name = "Friend of the Urth";
var collection_type = 0;
var is_secret = 0;
var desc = "Made 53 wholesome Urth Blocks";
var status_text = "From the dirt packed under your fingernails, the mud in your hair, and the ripe smell of Glitchly sweat emanating from your underpits, everyone knows you are a true Friend of t... |
"use strict";
/**
* Kubernetes
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v1.21.1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator... |
import {mount} from 'enzyme';
import * as Preact from '#preact';
import * as intersectionObserver from '#preact/component/intersection-observer';
import {xhrUtils} from '#preact/utils/xhr';
import {waitFor} from '#testing/helpers/service';
import {cleanHtml} from './utils';
import {BentoList} from '../component';
... |
import React, {Component} from 'react';
import Range from './Range';
import Blender from './Blender';
import '../css/Controllers.css';
class Controllers extends Component {
constructor() {
super();
this._filters = [
'brightness',
'contrast',
'saturation',
'exposure',
... |
define(function(){
return Toolbox.Base.extend({
constructor: function(options){
this.position = options.position || {x:0,y:0};
this.collision = options.collision;
this.tileset = options.tileset;
},
doMove: function(moveX,moveY){
this.position.x = this.collision.getPosition(0, this.position.x, this.... |
/**
* Auto-generated action file for "Trello" API.
*
* Generated at: 2019-05-07T14:44:29.558Z
* Mass generator version: 1.1.0
*
* flowground :- Telekom iPaaS / trello-com-connector
* Copyright © 2019, Deutsche Telekom AG
* contact: flowground@telekom.de
*
* All files of this connector are licensed under the A... |
(window.webpackJsonp=window.webpackJsonp||[]).push([[106],{2960:function(t,e,n){"use strict";n.r(e),n.d(e,"icon",(function(){return c}));n(11),n(2),n(5),n(8),n(4),n(10);var r=n(0),i=n.n(r);function o(){return(o=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.proto... |
import React, { useState } from 'react';
import { makeStyles } from '@material-ui/core/styles';
import { green } from '@material-ui/core/colors';
import TextField from '@material-ui/core/TextField';
import Grid from '@material-ui/core/Grid';
import InputLabel from '@material-ui/core/InputLabel';
import FormControl from... |
import React from 'react'
import styled from 'styled-components'
import PropTypes from 'prop-types'
import FontAwesomeIcon from '@fortawesome/react-fontawesome'
import {
faGithub,
faLinkedinIn,
faInstagram,
faMedium,
faTwitter,
} from '@fortawesome/fontawesome-free-brands'
import CookieConsent from 'react-coo... |
import { css, html, LitElement } from "https://unpkg.com/lit-element/lit-element.js?module";
export class TreeView extends LitElement {
static get properties() {
return {
headline: {
type: String
},
data: {
type: Object
}
};
}
constructor() {
super();
//In the real project... |
$(document).ready(function(){
$("#buscarAsig").hide();
checkRb('#inlineRadio1');
});
function obtenerDatos() {
var id_sedes = $("#id_sede option:selected").attr("data-sedes");
var id_carrera = $("#id_carrera option:selected").attr("data-carreras");
var id_jornada = $("#id_jornada option:selected").... |
import { undo, redo } from "prosemirror-history";
import { Slice } from "prosemirror-model";
import { Selection, TextSelection } from "prosemirror-state";
import { Fragment } from "prosemirror-model";
export class TestState {
constructor(state, cmds = {}) {
this.state = state;
this.cmds = cmds;
this.clip... |
// number unless otherwise specified
var n1 = n1++;
var n2 = n2 + n2;
var n3 /* any */ = n3 + n3;
// string unless otherwise specified
var s1 = s1 + '';
var s2 /* any */ = s2 + s2;
var s3 = s3 + s3;
var s4 = '' + s4;
// boolean unless otherwise specified
var b1 = !b1;
var b2 = !!b2;
var b3 = !b3 || b3; // expected bo... |
require('./angular-mocks');
module.exports = 'ngMock';
|
var request = require('./request');
var alerts = require('../alerts');
module.exports = function (payload, callback) {
return request(payload)
.then(function (result) {
if (result.body.alerts) {
alerts.registerAlerts(result.body.alerts);
}
// make callbacks and promises work
if (callback) {
... |
const {schema} = require('@octokit/graphql-schema')
module.exports = schema.json
|
/*! jQuery Validation Plugin - v1.19.3 - 1/9/2021
* https://jqueryvalidation.org/
* Copyright (c) 2021 Jörn Zaefferer; Licensed MIT */
!function(a){"function"==typeof define&&define.amd?define(["jquery","../jquery.validate.min"],a):"object"==typeof module&&module.exports?module.exports=a(require("jquery")):a(jQ... |
module.exports = {
preset: 'ts-jest',
testEnvironment: 'node',
modulePathIgnorePatterns: ['cypress'],
globals: {
'ts-jest': {
tsconfig: './tests/tsconfig.json',
},
},
};
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.