text stringlengths 2 1.04M |
|---|
import ScrollReveal from 'scrollreveal'
// Export your custom function for declarative use
export { scrollRevelation }
// Code your custom function
function scrollRevelation( classString ) {
window.sr = new ScrollReveal();
sr.reveal('.card', 100);
} |
const runExecutable = require('./run-executable');
const {getFlagArrayFromObject} = require('./utils');
const themekit = {
/**
* Runs a ThemeKit command with the runExecutable utility.
* Forces the --no-update-notifier flag to prevent update messages from
* appearing when `theme update` can't be run via CL... |
function listen() {
var server = http.createServer(this);
return server.listen.apply(server, arguments);
}; |
;
(function () {
'use strict';
//=require globalVars.js
//=require gtm-modules.js
//=require expose.js
})(); |
/*
*插件作者:周祥
*发布时间:2014年12月12日
*插件介绍:图片上传本地预览插件 兼容浏览器(IE 谷歌 火狐) 不支持safari 当然如果是使用这些内核的浏览器基本都兼容
*插件网站:http://jquery.decadework.com
*作 者QQ:200592114
*使用方法:
*界面构造(IMG标签外必须拥有DIV 而且必须给予DIV控件ID)
* <div id="imgdiv"><img id="imgShow" width="120" height="120" /></div>
* <input type="file" id="up_img" />
*调用代码:
* new uploadPrev... |
/*! UIkit 2.27.5 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ |
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... |
// code to define and exporting the Employee class
class Employee {
constructor(name,id,email) {
this.name = name
this.id = id
this.email = email
}
getName() {
return this.name
}
getId() {
return this.id
}
getEmail() {
return this.email
... |
/**
* @license Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see LICENSE.md or http://ckeditor.com/license
*/
/**
* This file was added automatically by CKEditor builder.
* You may re-use it at any time to build CKEditor again.
*
* If you would like to build CKEdi... |
(window.webpackJsonpFileIcons=window.webpackJsonpFileIcons||[]).push([[424],{226:function(q){q.exports={viewBox:"0 0 1024 1024",font:"file-icons",code:"263f",ref:"hg",path:"M209 473q0-60-52.5-90.5T52 382Q0 412 0 472.5T52 563q52 30 104.5 0t52.5-90m-115 4q2-26 32-40t45 10q12 19-5 39.5T131 512q-20 5-29-2t-8-33m18 73q3-3 1... |
/*
Copyright (c) Uber Technologies, Inc.
This source code is licensed under the MIT license found in the
LICENSE file in the root directory of this source tree.
*/
// @flow
export {default as PhoneInput} from './phone-input.js';
export {default as PhoneInputLite} from './phone-input-lite.js';
export {default as Phone... |
/**
*
* Root handler for "/" route
* restify each path to its handler
*
**/
var $ = require('../lib/dollar').$,
BaseHandler = require('./BaseHandler'),
DefaultHandler = require('./DefaultHandler'),
UserHandler = require('./UserHandler'),
MeHandler = require('./MeHandler');
function RootHandler(ctx) {
$('uti... |
import { connect } from 'react-redux'
import Controls from '../components/Controls'
import {
changeAmpLevel,
changeAttack,
changeCents,
changeDecay,
changeLFORate,
changeLFOSend,
changeLFOWaveform,
changeNoiseAmount,
changeOscGain,
changeOscWaveform,
changeRelease,
changeSemitones,
changeSusta... |
import {registerBidder} from '../src/adapters/bidderFactory.js';
import { BANNER, NATIVE, VIDEO } from '../src/mediaTypes.js';
import * as utils from '../src/utils.js';
const BIDDER_CODE = 'krushmedia';
const AD_URL = 'https://ads4.krushmedia.com/?c=rtb&m=hb';
function isBidResponseValid(bid) {
if (!bid.requestId |... |
"use strict";(function(p,g,c){function q(d,h,k){return function(e){var m=this.getAttribute(d);h.call(this,e);this.getAttribute(d)===m&&this.setAttribute(d,k.call(this))}}for(var n=g.getOwnPropertyNames(c),l=0,r=n.length|0,a;l<r;l=l+1|0)a=n[l],/^HTML[A-Z]\w*Element$/.test(a)&&c.hasOwnProperty(a)&&!c.propertyIsEnumerable... |
import React from 'react'
import Svg from './Svg'
export const SvgPlusSquare = ({ size, ...props }) => (
<Svg
width={size}
height={size}
stroke="currentColor"
strokeWidth={2}
strokeLinecap="round"
strokeLinejoin="round"
className="plus-square_svg__feather plus-square_svg__feather-plus-squa... |
var callbackArguments = [];
var argument1 = null;
var argument2 = null;
var argument3 = null;
var base_0 = [":,<2","nk","^","]","q","$","`"]
var r_0= undefined
try {
r_0 = base_0.some(argument1,argument2,argument3)
}
catch(e) {
r_0= "Error"
}
function serialize(array){
return array.map(function(a){
if (a === null || a ... |
const GuardConfig = {
registerMethods: ['email'],
loginMethods: ['password'],
mode: 'modal',
logo: 'https://static.nicegoodthings.com/project/ext/wb.logo.png',
title: 'Webrowse',
socialConnections: ['github', 'google'],
appHost: "https://portal-lite-china.authing.cn",
lang: 'en-US'
};
co... |
var metadata = require('./_metadata')
, anObject = require('./_an-object')
, getPrototypeOf = require('./_object-gpo')
, ordinaryHasOwnMetadata = metadata.has
, ordinaryGetOwnMetadata = metadata.get
, toMetaKey = metadata.key;
var ordinaryGetMetadata = functio... |
// Copyright (C) 2015 the V8 project authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
es6id: 23.2.3.2
description: >
Set.prototype.clear ( )
1. Let S be the this value.
2. If Type(S) is not Object, throw a TypeError exception.
---*/
assert.throws(... |
import { GraphQLFloat, GraphQLObjectType } from 'graphql';
export const ItemPriceType = new GraphQLObjectType({
name: 'ItemPriceType',
description: 'Item Price',
fields: () => ({
amount: {
type: GraphQLFloat
}
})
}); |
import { GET_ACTIVE_HOUSE_SUCCESS, GET_ACTIVE_HOUSE_START } from '../constants/actionTypes';
import { loadReview, getReviewIsFinished, resetReviews, getReviewStart } from './reviewsActions';
import { loadUser } from './userActions';
import housesApi from '../api/housesApi';
export function loadActiveHouseStart() {
... |
/**
* Copyright IBM Corp. 2016, 2021
*
* This source code is licensed under the Apache-2.0 license found in the
* LICENSE file in the root directory of this source tree.
*
* Code generated by @carbon/icon-build-helpers. DO NOT EDIT.
*/
'use strict';
var iconPropTypes = require('./iconPropTypes-379308c1.js');
va... |
export { default as raised } from './raised.svelte';
export { default as depressed } from './depressed.svelte';
export { default as block } from './block.svelte';
export { default as fab } from './fab.svelte';
export { default as icon } from './icon.svelte';
export { default as outlined } from './outlined.svelte';
expo... |
import React, { Component } from "react";
import { GlobalStyle1 } from "./statics/global/style";
import { GlobalStyle2 } from "./statics/global/iconfont/iconfont";
import { Provider } from "react-redux";
import store from "./store";
import { BrowserRouter, Route } from "react-router-dom";
import Header from "./pages/... |
define(function(require, exports, module) {
"use strict";
exports.snippetText = require("../requirejs/text!./ruby.snippets");
exports.scope = "ruby";
}); |
// Changes XML to JSON
function parseXmlToJson(string){
}
function xmlToJson(xml) {
// Create the return object
var obj = {};
if (xml.nodeType == 1) { // element
// do attributes
if (xml.attributes.length > 0) {
obj["@attributes"] = {};
for (var j = 0; j < xml.attributes.length; j++) {
var attrib... |
/*!
=========================================================
* Argon Dashboard - v1.0.0
=========================================================
* Product Page: https://www.creative-tim.com/product/argon-dashboard
* Copyright 2018 Creative Tim (https://www.creative-tim.com)
* Licensed under MIT (https://github.com/... |
export function registerElement(component, element) {
component.element = element;
}
export function deregisterElement(component) {
component.element = null;
} |
import { SAVE_COMMENT } from '../actions/types';
export default function(state = [], action) {
console.log(action.type);
switch (action.type) {
case SAVE_COMMENT:
return [ ...state, action.payload ];
}
return state;
} |
exports.run = (client, message) => {
const Discord = require('discord.js');
let user = message.mentions.users.first();
if (!user) {
return message.reply('You must mention someone!');
}
const mentioneduser = message.mentions.users.first();
const joineddiscord = (mentioneduser.createdAt.ge... |
/**
* Copyright (c) Microsoft. 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 required by applicable law or ag... |
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*---------------------------------------------------------------... |
$(document).ready(function() {
AttachTaskListeners();
AttachProjectIndexListeners();
AttachSearchListener();
});
function AttachTaskListeners () {
var tasks = $('.todo li');
for (var i=0; i<tasks.length; i++) {
var task = $(tasks[i]);
$(task).on("click", function (e) {
if (!$(e.target).hasClass... |
import PropTypes from 'prop-types';
import clsx from 'clsx';
function foo(props) {
const { position: p } = props;
const x = clsx(p === 'top' && classes.x, p === 'bottom' && classes.y);
}
foo.propTypes = {
position: PropTypes.oneOf(['top', 'bottom']).isRequired,
}; |
import React from 'react';
import PropTypes from 'prop-types';
import { autoScrollUpDown } from '../../../hocs/autoScrollUpDown';
import { noop } from '../../../utils/misc';
import { BlockContentBoxAreaStyled } from './styles/BlockContentBoxAreaStyled';
const propTypes = {
isBordered: PropTypes.bool,
flex: PropTyp... |
// Copyright © 2021 The Things Network Foundation, The Things Industries B.V.
//
// 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
//
// Un... |
export function configure(config) {
config.globalResources('./template-factory');
} |
// Copyright (c) 2012 Ecma International. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
es5id: 15.2.3.10-3-5
description: >
Object.preventExtensions - indexed properties cannot be added into
a String object
---*/
var strObj = new String();
var preCheck = Ob... |
/*
* Copyright 2014 Amadeus s.a.s.
* 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 i... |
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.ObservableShim = exports.setObservable = exports.getObservable = void 0;
let _observable;
function getObservable() {
if (_observable) {
return _observable;
}
if (typeof window !== 'undefined' && window.Observable) {... |
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... |
module.exports=function(r){var e={functionRegistry:require("./function-registry"),functionCaller:require("./function-caller")};return require("./default"),require("./color"),require("./color-blending"),require("./data-uri")(r),require("./math"),require("./number"),require("./string"),require("./svg")(r),require("./type... |
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const symbol_sdk_1 = require("symbol-sdk");
/* start block 01 */
// replace with network type
const networkType = symbol_sdk_1.NetworkType.TEST_NET;
// replace with private key
const mainAccountPrivateKey = '00000000000000000000000000000000000... |
/*global define, amplify */
define([
'jquery',
'loglevel',
'underscore',
'fs-t-c/table',
//'fs-dt-c/table',
'fx-ds/config/events',
'amplify'
], function ($, log, _, TableCreator, E) {
'use strict';
var defaultOptions = {
};
var s = {
EXPORT: '[data-role="expo... |
var express = require('express');
var app = express();
var port = process.env.PORT || 3000;
app.use(express.static(__dirname + '/public'));
app.listen(port);
console.log('Server listening on port: ', port); |
/* *************************************************************************************************
* *
* Please read the following tutorial before implementing tasks: *
* https://develop... |
const Config = {
numberLength : 3,
formLength : 2,
pokemonNames : [''],
formNames : {'000.00':''},
};
let getPokemonName= function ( key ) {
return `{${key}}`;
};
let getPokemonID = function (num, form = null) {
let numPart = Math.floor(num).toString().padStart(Config.numberLength, '0');
let formPart ... |
export class Logo{
constructor(root, classNameLogo, classNameTitle) {
this.root = root;
this.logoclass = classNameLogo;
this.titleclass = classNameTitle;
this.render();
}
render() {
this.logo = document.createElement('div');
this.logo.classList.add(this.log... |
const axios = require("axios");
// 获取输入的cookie
let args = process.argv[2];
result = args.split("#");
// 获取输入的location
let location = process.argv[3];
if (typeof (location) === "undefined") {
location = "四川省成都市郫都区银杏大道";
}
for (let userNum in result) {
console.log(`第${parseInt(userNum)+1}位学生:准备上报`);
checkR... |
import React from "react";
import Frame from '../components/frame'
const GalleryPage = () => {
return (
<Frame>
<p>Dit wordt doorgegeven als children</p>
</Frame>
)
}
export default GalleryPage |
import React, {Component} from 'react'
import {View, Text, StyleSheet} from 'react-native'
export default class Profilescreen extends Component{
render(){
return(
<View style = {styles.container} >
<Text>Profilescreen</Text>
</View>
)
}
}
let styles = St... |
import React from 'react'
import { Container, Flex } from '../../styles/globalStyles'
import { AccordionHeader, AccordionIcon, AccordionContent, HomeAboutSection, About, Services } from '../../styles/homeStyles';
const HomeAbout = () => {
return (
<HomeAboutSection>
<Container>
<Flex align... |
var servers = {
iceServers: [ // Information about ICE servers - Use your own!
{
urls: "turn:" + window.location.hostname, // A TURN server
username: "webrtc",
credential: "turnserver"
}
]
};
let offerOptions = {
offerToReceiveAudio: 1,
offerToReceiv... |
// Copyright (c) 2010 Tom Hughes-Croucher
//
// 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, modify, merge, pu... |
/**
* Kendo UI v2016.1.412 (http://www.telerik.com/kendo-ui)
* Copyright 2016 Telerik AD. All rights reserved. ... |
/*! X-editable - v1.5.3
* In-place editing with Twitter Bootstrap, jQuery UI or pure jQuery
* http://github.com/vitalets/x-editable
* Copyright (c) 2020 Vitaliy Potapov; Licensed MIT */
/**
Form with single input element, two buttons and two states: normal/loading.
Applied as jQuery method to DIV tag (not to form tag!... |
const { GraphQLClient } = require('graphql-request')
const { hasuraConfig } = require('../config')
module.exports = new GraphQLClient(hasuraConfig.url, {
headers: {
'x-hasura-admin-secret': hasuraConfig.adminSecret
}
}) |
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
i... |
var keys_original = Cache.prototype.keys;
var match_original = Cache.prototype.match;
var matchAll_original = Cache.prototype.matchAll;
var delete_original = Cache.prototype.delete;
importScripts('../lib/index.js');
var tests = {
// init
ignoreSearch_store: function(e) {
return ignoreSearchPrepare().then(func... |
var NAVTREEINDEX0 =
{
"_behaviors_8cs.html":[4,0,1,2,0],
"_behaviors_8cs.html#a6fd01b5707c1d4d9f0dc01b1355b4a10":[4,0,1,2,0,0],
"_behaviors_8cs.html#a6fd01b5707c1d4d9f0dc01b1355b4a10a25ee2cfda0331134393e7223fb750820":[4,0,1,2,0,0,0],
"_behaviors_8cs.html#a6fd01b5707c1d4d9f0dc01b1355b4a10a31771640c91759c243f311f8c250aac... |
//* ===== MARKSHEET =====
/**
* @author 4Dcoder
* @property {ObjectId} id Marksheet primaryKey
* @property {String} type Marksheet type "PAPER|CBT"
* @property {ObjectId} course Marksheet course
* @property {ObjectId} student Marksheet student
* @property {Number} score Marksheet score
* @property {ObjectId} as... |
// queue
'use strict';
const uuid = require('uuid');
const socketio = require('socket.io');
const server = socketio(3000);
const chores = server.of('/chores');
const queue = {
chores: {},
addChore: function (chore) {
// creates random id
let id = uuid();
this.chores[id] = chore;
return {
i... |
"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.compileVariableParsing = exports.failToParseVariables = void 0;
const generate_function_1 = __im... |
import React, { Component } from 'react';
import Rx from '@reactivex/rxjs';
import AmCharts from "@amcharts/amcharts3-react";
//import mockdata from '../../json/AmchartData.json';
//import apiData from '../../json/ApiData.json';
import { connect } from "react-redux"
// var env = process.env.NODE_ENV || 'dev';
// const... |
var E, a, b, x1, x2, x3, x4, x5, x6, x7;
!function(E) {
E[E.a = 0] = "a", E[E.b = 1] = "b";
}(E || (E = {})), x1 += a, x1 += b, x1 += !0, x1 += 0, x1 += '', x1 += E.a, x1 += {}, x1 += null, x1 += void 0, x2 += a, x2 += b, x2 += !0, x2 += 0, x2 += '', x2 += E.a, x2 += {}, x2 += null, x2 += void 0, x3 += a, x3 += 0, ... |
function _typeof(obj) {
if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
_typeof = function (obj) {
return typeof obj;
};
} else {
_typeof = function (obj) {
return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symb... |
import React from 'react';
import {
Datagrid,
DateField,
Edit,
EditButton,
FormTab,
NumberInput,
Pagination,
ReferenceInput,
ReferenceManyField,
SelectInput,
TabbedForm,
TextField,
TextInput,
} from 'react-admin';
import { InputAdornment } from '@material-ui/core';
im... |
angular.module('proton.message')
.factory('transformLinks', function() {
return function(html, message) {
var links = [].slice.call(html.querySelectorAll('a[href^=http]'));
if (links.length > 0) {
links.forEach(function(link) {
link.setAttribute('target','_blank');
... |
import React from 'react';
import _ from 'lodash';
import SectionHeader from '../components/section-header';
import icons from 'otkit-icons/token.common';
import styles from '../styles/otkit-icons.module.css';
const Icons = () => {
const { iconSize } = icons;
const keys = _.keys(icons).sort();
const actualIcons... |
/*
Given two strings S and T, return if they are equal when both are typed into empty text editors. # means a backspace character.
https://leetcode.com/problems/backspace-string-compare
Example 1:
Input: S = "ab#c", T = "ad#c"
Output: true
Explanation: Both S and T become "ac".
Example 2:
Input: S = "ab##", T = "c#d... |
/**
* [js-md5]{@link https://github.com/emn178/js-md5}
*
* @namespace md5
* @version 0.7.3
* @author Chen, Yi-Cyuan [emn178@gmail.com]
* @copyright Chen, Yi-Cyuan 2014-2017
* @license MIT
/*!
* async
* https://github.com/caolan/async
*
* Copyright 2010-2014 Caolan McMahon
* Released under the MIT license
/*... |
import { mount } from '@vue/test-utils';
import { GlAlert, GlButton, GlEmptyState, GlTable } from '@gitlab/ui';
import ServiceAccountsList from '~/google_cloud/components/service_accounts_list.vue';
describe('ServiceAccounts component', () => {
describe('when the project does not have any service accounts', () => {
... |
import React, { Component } from 'react';
class CallbackFunction extends Component {
render() {
return (
<div>
</div>
);
}
}
export default CallbackFunction; |
/**
* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,uselessCode} checked by tsc
*/
import { Injectable } from '@angular/core';
import * as i0 from "@angular/core";
/**
* Configuration service for the NgbTimepicker component.
* You can inject this service, typically in your root component, and... |
import typescript from 'rollup-plugin-typescript2';
import babel from '@rollup/plugin-babel';
import commonjs from '@rollup/plugin-commonjs';
import resolve from '@rollup/plugin-node-resolve';
// import builtins from 'builtin-modules'
import { terser } from 'rollup-plugin-terser';
import pkg from './package.json';
exp... |
/**
* @author v.lugovksy
* created on 16.12.2015
*/
(function () {
'use strict';
angular.module('BlurAdmin.pages.smartWifi')
.directive('dashboardPieChart', dashboardPieChart);
/** @ngInject */
function dashboardPieChart() {
return {
restrict: 'E',
controller: 'DashboardPieChartCtrl',... |
export const TOGGLE_SEARCH_BOX = 'TOGGLE_SEARCH_BOX';
export const TOGGLE_MENU = 'TOGGLE_MENU';
export const FREE_ARTICLE = 'FREE_ARTICLE';
export const FETCH_ARTICLE = 'FETCH_ARTICLE';
export const FETCH_ARTICLES = 'FETCH_ARTICLES';
export const FETCH_ARTICLE_FAILED = 'FETCH_ARTICLE_FAILED'; |
// Copyright (C) 2017 Ramesh Vyaghrapuri. All rights reserved.
// Use of this source code is governed by a MIT-style license
// that can be found in the LICENSE file.
"use strict";
import { expect } from "chai";
import {
PathChange,
Replace,
Move,
Changes,
Text,
Decoder
} from "../../index.js";
describe... |
/* Element initializers with unknown index. */
function foo(i) {
var x = [1, 2, i == 1 ? 3 : 4, 5, 6];
+i;
var y = "" + x;
if (i == 1) {
y;
"1,2,3,5,6";
} else {
y;
"1,2,4,5,6";
}
var __es_v0 = 3;
}
for (var i = 0; i < 10; i++) {
foo(i);
foo(i % 1);
} |
'use strict';
const
{ User } = require('../../../models'),
{ secret_jwt } = require('../../../config/server'),
jwt = require('jsonwebtoken')
module.exports = {
signin: async (bodyData) => {
const user = await User.findOne({ where: { email: bodyData.email }, raw: true })
if (!user) {
console.log(... |
import API from '../data';
import counter from '../counter';
const modal = document.getElementById('reservation-modal');
const displayReservations = (ul, userReservation) => {
const reservation = document.createElement('li');
reservation.className = 'reservation';
const reservationMeta = document.createElement(... |
import React from "react";
import VideoSidebar from "../Video/VideoSidebar";
const Introduction = () => {
return (
<div className="row justify-content-between">
<div className="col-12 col-md-6">
<div className="textComp-section">
<h1 className="center">Introduction</h1>
<div cl... |
$(document).ready(function() {
}); |
import describe from 'tape-bdd';
import transmute from 'transmutation';
const promise = new Promise(res => res({ test: 'promise' }));
const promiseArray = new Promise(res => res(['promise']));
describe('Extend Operator', (it) => {
it('extends with the result of a function instead of a primitive or promise', asser... |
/**
* @license Angular v11.2.13
* (c) 2010-2021 Google LLC. https://angular.io/
* License: MIT
*/
!function(t,n){"object"==typeof exports&&"undefined"!=typeof module?n(exports,require("@angular/animations"),require("@angular/animations/browser")):"function"==typeof define&&define.amd?define("@angular/animations/bro... |
"use strict";
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard");
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var React = _interopRequireWildcard(r... |
/*! Widget: output - updated 1/15/2016 (v2.25.2) */ |
/*! tableSorter 2.4+ widgets - updated 11/14/2012
*
* Column Styles
* Column Filters
* Column Resizing
* Sticky Header
* UI Theme (generalized)
* Save Sort
* ["zebra", "uitheme", "stickyHeaders", "filter", "columns"]
*/
/*jshint browser:true, jquery:true, unused:false, loopfunc:true */
/*global jQuery: false, ... |
import "core-js/modules/es.array.concat";
import { hasOwnProperty, isObject } from './../../helpers/object';
import { arrayEach } from './../../helpers/array';
/**
* Create separated id for borders for each cell.
*
* @param {Number} row Visual row index.
* @param {Number} col Visual column index.
* @returns {Strin... |
import Icon from '../components/Icon.vue'
Icon.register({
peace: {
width: 496,
height: 512,
paths: [
{
d: 'M248 8c137 0 248 111 248 248s-111 248-248 248-248-111-248-248 111-248 248-248zM432 256c0-90.5-65.8-165.8-152-181v165.7l129.4 103.5c14.4-26.2 22.6-56.2 22.6-88.2zM216 437v-114.5l-89.3 7... |
//GLOBAL VARIABLES
//window.player = music player
const defaultAlbumImg = "https://d2qqvwdwi4u972.cloudfront.net/static/img/default_album.png"
$(document).ready(function(){
window.player = $("#music-player")
$("footer:not(#orig-footer)").remove()
/* CSRF Handling*/
$.ajaxSetup({
beforeSend: function(xhr,... |
'use strict';
Object.defineProperty(exports, '__esModule', {
value: true
});
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
var _react = require('react');
var _react2 = _interopRequireDefault(_react);
var _timeTime = require('../time/Time');
var _timeTime2 = _i... |
import React, { Component } from 'react';
import './SortVisualizer.css';
import Visualizer from './Visualizer/Visualizer';
import AlgorithmSelect from './AlgorithmSelect/AlgorithmSelect';
import { Sort, setSpeed, stopSort } from './Sorter';
import { log } from './Logger';
import { calcStyle } from './Visualizer/Bar/Bar... |
import React from 'react'
import Link from 'gatsby-link'
import profilePic from './profile-pic.jpg'
import { rhythm } from '../utils/typography'
class Bio extends React.Component {
render() {
return (
<p
style={{
marginBottom: rhythm(2.5),
}}
>
<img
src={p... |
'use strict';
// From https://github.com/johni0702/voice-activity-detection
var analyserFrequency = require('analyser-frequency-average');
module.exports = function(audioContext, stream, opts) {
opts = opts || {};
var defaults = {
fftSize: 1024,
bufferLen: 1024,
smoothingTimeConstant: 0.2,
minCap... |
import { renderApp, createHistory } from 'testUtils'
import { fireEvent, screen } from '@testing-library/react'
import { featureSetup } from 'featureUtils'
featureSetup()
describe('editing a list property', () => {
const history = createHistory(['/editor/resourceTemplate:testing:uber1'])
it('allows selecting and... |
var searchData=
[
['pbrsemantics',['PBRSemantics',['../classpvr_1_1assets_1_1_model_1_1_material_1_1_p_b_r_semantics.html',1,'pvr::assets::Model::Material']]],
['podmetallicroughnesssemantics',['PODMetallicRoughnessSemantics',['../classpvr_1_1assets_1_1_model_1_1_material_1_1_p_o_d_metallic_roughness_semantics.html... |
"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const react_1 = __importDefault(require("react"));
const ReactComponent = props => (react_1.default.crea... |
'use strict'
/* -----------------------------------------------------------------------------
* dependencies
* -------------------------------------------------------------------------- */
// 3rd party
const { findLast } = require('lodash')
// lib
const ComponentResolver = require('../../support/component-resolver... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.