text stringlengths 2 1.04M |
|---|
// Copyright 2018 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 required by app... |
module.exports = require("npm:amdefine@1.0.1/amdefine.js"); |
import { GraphQLObjectType } from "graphql/type";
/**
* Creates a trivial implementation resource object type for given Interfaces and a singular
* interfaceFields.
*/
export default function implementInterface (ObjectName, objectDescription, Interfaces,
interfaceFields) {
return new GraphQLObjectType({
n... |
import { declareRuntimeEnv } from 'resolve-scripts'
const prodConfig = {
target: 'local',
port: declareRuntimeEnv('PORT', '3000'),
mode:
'production' /*,
readModelConnectors: {
default: {
module: 'resolve-readmodel-lite',
options: {
databaseFile: 'data/read-models.db'
}
}
... |
'use strict';
import * as types from '../constants/ActionTypes';
import {ToastShort} from '../utils/ToastUtils';
import {request} from '../utils/HttpServices';
import * as host from '../constants/Urls';
export function fetchReddit (isRefreshing, loading, typeId, isLoadMore, count, after) {
if (count == undefined) {... |
var PromiseProvider = require('../../lib/promise_provider');
var assert = require('power-assert');
var mongoose = require('../../');
describe('promises docs', function () {
var Band;
var db;
before(function (done) {
db = mongoose.createConnection('mongodb://localhost:27017/mongoose_test');
Band = db.mo... |
/**
* Welcome to your Workbox-powered service worker!
*
* You'll need to register this file in your web app and you should
* disable HTTP caching for this file too.
* See https://goo.gl/nhQhGp
*
* The rest of the code is auto-generated. Please don't update this file
* directly; instead, make changes to your Wor... |
"use strict";
exports.__esModule = true;
exports.c_button_m_secondary_m_danger_active_Color = {
"name": "--pf-c-button--m-secondary--m-danger--active--Color",
"value": "#a30000",
"var": "var(--pf-c-button--m-secondary--m-danger--active--Color)"
};
exports["default"] = exports.c_button_m_secondary_m_danger_active_... |
integration.meta = {
'sectionID' : '129372',
'siteName' : 'ISM_Gentside- (desktop only) - Header Bidding - (IT) (129372 )',
'platform' : 'header bidding'
};
integration.params = {
'mf_siteId' : '1074685',
// DO NOT REMOVE CONTENT WIDTH FROM HERE - REQUIRED FOR DESKTOP
'plr_ContentW': 980,
'... |
import { makeStyles } from '@material-ui/core/styles';
export const useStyles = makeStyles((theme) => ({
categoryItemAdd: {
display: 'flex',
flexDirection: 'column',
margin: '20px 0'
},
textField: {
margin: '10px 5px'
},
categoryAdd: {
display: 'flex',
flexDirection: 'row',
justif... |
// / <reference types="Cypress" />
import SettingsPageObject from '../../../../../support/pages/module/sw-settings.page-object';
describe('Product Search: Test crud operations of custom field', () => {
beforeEach(() => {
cy.loginViaApi()
.then(() => {
return cy.createDefaultFix... |
'use strict';
const helmet = require('helmet');
module.exports = ({ app, conf }) =>
app.use(helmet(conf.get('helmet', {}))); |
/* jshint esversion: 6 */
var caffe2 = caffe2 || {};
var protobuf = protobuf || require('./protobuf');
caffe2.ModelFactory = class {
match(context) {
const identifier = context.identifier.toLowerCase();
const extension = identifier.split('.').pop().toLowerCase();
switch (extension) {
... |
"use strict";
exports.__esModule = true;
exports.c_nav__list_link_m_current_FontWeight = {
"name": "--pf-c-nav__list-link--m-current--FontWeight",
"value": "500",
"var": "var(--pf-c-nav__list-link--m-current--FontWeight)"
};
exports["default"] = exports.c_nav__list_link_m_current_FontWeight; |
/* global __dirname */
'use strict';
var assign = require('deep-assign'),
chalk = require('chalk'),
fs = require('fs'),
loaderUtils = require('loader-utils'),
stylelint = require('stylelint');
var defaultOptions = {
displayOutput: true,
ignoreCache: false
};
var lintedFiles = [];
/**
* Dete... |
import React from 'react'
import Isvg from 'react-inlinesvg'
import cloudboltItem from '../../icons/cloudbolt.svg'
import styles from './LoadingBolt.scss'
const LoadingBolt = () => (
<div className={styles.container}>
<div className={styles.content}>
<Isvg className={styles.bolt} src={cloudbol... |
import React from "react";
import Modal from "react-responsive-modal";
import { transitionStyles, customStyles } from "./reactModal.config";
import "./show.scss";
class MixableShow extends React.Component {
componentDidMount() {
if (this.props.mixableId) {
this.props.fetchMixable(this.props.mixableId);
... |
var DYDRA_TOKEN = "replace this with your Dydra API access token";
var DYDRA_ACCOUNT = "replace this with your Dydra account name";
var DYDRA_REPOSITORY = "replace this with your Dydra repository name"; |
// ================================================================================
// Color Toggling
var form_blue = "rgb(111, 217, 239)";
var form_red = "rgb(255, 0, 0)";
var color_change_interval = 500;
function toggle_background_color(ele, color1, color2) {
if ($(ele).css("background-color") === color1 ) {
$(e... |
import React from 'react';
import { Table } from 'antd';
import './index.less';
export default props => {
const { columns: dataSource } = props;
const columns = [
{
title: '列名',
dataIndex: 'Field',
key: 'Field'
},
{
title: '类型',
... |
const usersData = [
{No_Transaksi: 0, Jenis_Jurnal: 'Jurnal 001', Keterangan: 'Add React to a Website - Create a New React App - Hello World', Status: 'Aktif'},
{No_Transaksi: 1, Jenis_Jurnal: 'Jurnal 002', Keterangan: 'React is a declarative, efficient, and flexible JavaScript library', Status: 'Aktif'},
{No_T... |
/**
* Copyright 2021 The AMP HTML Authors. 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 require... |
// $Id: uc_cart.js,v 1.7.2.6 2008/11/03 21:26:35 rszrama Exp $
var copy_box_checked = false;
/**
* Scan the DOM and display the cancel and continue buttons.
*/
$(document).ready(
function() {
$('.show-onload').show();
$('form#uc-cart-checkout-review-form input#edit-submit').click(function() {
$(thi... |
/*
* ! SAP UI development toolkit for HTML5 (SAPUI5) (c) Copyright 2009-2012 SAP AG. All rights reserved
*/
// Provides control sap.ui.vbm.Area.
sap.ui.define([
'./VoBase', './library'
], function(VoBase, library) {
"use strict";
/**
* Constructor for a new Area.
*
* @param {string} [sId] id for the new c... |
var $$;
HBFav.UI.styles = {
timeline: {
profileImage: {
backgroundColor: "#fff",
width: 48,
height: 48,
top: 10,
left: 10
},
profileImageContainer: {
backgroundColor: "#fff",
width: Ti.UI.SIZE,
height: 68,
top: 0,
left: 0
},
bodyContaine... |
/*
* Copyright (C) 2013 Google Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of conditio... |
const { JSDOM } = require("jsdom");
const { promisify } = require("util");
const sizeOf = promisify(require("image-size"));
const blurryPlaceholder = require("./blurry-placeholder");
const srcset = require("./srcset");
const path = require("path");
const ACTIVATE_AVIF = false;
const processImage = async (img, output... |
define([
"esri/layers/GraphicsLayer",
"esri/layers/FeatureLayer",
"esri/symbols/TextSymbol",
"esri/layers/support/LabelClass",
"esri/tasks/support/Query",
"esri/Graphic",
"esri/geometry/support/webMercatorUtils",
"esri/kernel",
"dojo/_base/declare",
"dojo/_base/lang",
"dojo/_base/array",
"dojo/o... |
import React from 'react';
import ReactDOM from 'react-dom';
import App from './examples/App';
ReactDOM.render(<App />, document.getElementById('root'));
// If you want your app to work offline and load faster, you can change
// unregister() to register() below. Note this comes with some pitfalls.
// Learn more abou... |
var gulp = require('gulp');
var browserify = require('browserify');
var through2 = require('through2');
var rename = require('gulp-rename');
var config = require('../config').app;
gulp.task('browserify', function () {
return gulp.src([config.init])
.pipe(through2.obj(function (file, enc, nex... |
/*
* Copyright (C) 2011 Google Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of conditio... |
"use strict";
function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj ... |
"use strict";
var gulp = require( "gulp" );
var watch = require( "gulp-watch" );
var server = require( "gulp-develop-server" );
var cukes = require( "gulp-cukes" );
var http = require( "http" );
var config = require( "./config" );
var browserify = require( "gulp-browserify" );
var literalify = require( "literalify" );
... |
"use strict";
function _openPreview() {
const data = _interopRequireDefault(require("../openPreview"));
_openPreview = function () {
return data;
};
return data;
}
function _fsPromise() {
const data = _interopRequireDefault(require("../../nuclide-commons/fsPromise"));
_fsPromise = function () {
... |
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
'use strict';
const { BaseGenerator } = require('@microsoft/generator-bot-adaptive');
module.exports = class extends BaseGenerator {
initializing() {
this.composeWith(
require.resolve('@microsoft/generator-bot-adaptive/generators/... |
import React, { useState,useEffect } from "react";
import JobtypeList from "./JobtypeList";
import SubjobList from "./SubjobList";
import TasktypeList from "./TasktypeList";
import SubtaskList from "./SubtaskList";
const EditRecordModal = ({apiUrl, apiKey, getTimesheets}) => {
// state vars
const [jobTypes, setJobty... |
function openwin( url , name , width , height , left , top ){
window.open( url , name ,"toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width="+width+",height="+height+",left="+left+",top="+top );
}
function openwinscroll( url , name , width , height , left , top ){
window... |
const passport = require('passport')
module.exports = app => {
app.get('/auth/bitbucket', passport.authenticate('bitbucket'))
app.get(
'/auth/bitbucket/callback',
passport.authenticate('bitbucket', { failureRedirect: '/' }),
function(req, res) {
res.redirect('/')
}
)
app.get(
'/auth... |
import uuid from 'uuid/v1';
import { takeRight, filter } from 'lodash';
import { LOCATION_CHANGE } from 'connected-react-router';
import { ENQUEUE, DEQUEUE } from '../actions/toastsActions';
import { MAX_TOASTS } from '../values/toasts';
const initialState = [];
function enqueue(state, payload) {
return takeRight(... |
/**
* @license Apache-2.0
*
* Copyright (c) 2018 The Stdlib Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... |
/*jshint esversion: 6, node: true*/
'use strict';
// DEPENDENCIES
const chalk = require('chalk');
const fs = require('fs');
const JSONStream = require('JSONStream');
const es = require('event-stream');
const PrettyError = require('pretty-error');
const pe = new PrettyError();
const models = require('../models');
const... |
const Star = ({ starId, selected }) => {
return (
<button star-id={starId} className='text-yellow-400 sm:text-base'>
<svg
xmlns='http://www.w3.org/2000/svg'
className='w-6 h-6'
fill={selected ? 'currentColor' : 'none'}
viewBox='0 0 24 24'
stroke='currentColor'
... |
/*
* pagefire
* https://github.com/bart/pagefire
*
* Copyright (c) 2014 andrej bartko
* Licensed under the MIT license.
*/
'use strict';
/**
* paginateFire needs url to endless list
* will store the current page
* and be queried for next or previous
*
* optional arguments:
* pageSize - default 10 for test... |
'use strict';
/**
* Controller for Promotiondetailinfo
**/
promotiondetailinfoModule.controller('PromotiondetailinfoCtrl', ['Promotiondetailinfo', 'Dishinfo', 'Dishspecificationinfo', '$scope', '$routeParams', '$http', '$location', '$cookies', 'MessageHandler', 'restURL', function(Promotiondetailinfo, Dishinfo, Dis... |
var path = require("path");
var webpack = require("webpack");
var express = require("express");
var devMiddleware = require("webpack-dev-middleware");
var hotMiddleware = require("webpack-hot-middleware");
var ProgressPlugin = require("webpack/lib/ProgressPlugin");
var config = require("./webpack.config.js")({prod: fa... |
/*
Highcharts JS v8.2.2 (2020-10-22)
Highcharts cylinder module
(c) 2010-2019 Kacper Madej
License: www.highcharts.com/license
*/
(function(c){"object"===typeof module&&module.exports?(c["default"]=c,module.exports=c):"function"===typeof define&&define.amd?define("highcharts/modules/cylinder",["highcharts","high... |
import Vue from 'vue'
import Vuex from 'vuex'
import axios from 'axios'
Vue.use(Vuex)
const store = new Vuex.Store({
state: {
user: '',
team: '',
errorLog: '',
tasks: '',
taskStatus: ''
},
mutations: {
login(state, user) {
state.user = user
... |
/* ========================================================================
* Bootstrap: transition.js v3.3.1
* http://getbootstrap.com/javascript/#transitions
* ========================================================================
* Copyright 2011-2014 Twitter, Inc.
* Licensed under MIT (https://github.com/twb... |
import axios from 'src/utils/axios';
import { handleResponse } from '../helpers/handleResponse';
import { handleError } from '../helpers/handleError';
export const subCategoryService = {
findAll,
findAllByCategory,
findById,
};
function findAll() {
return axios.get('/subcategories/')
.catch(handleError)
... |
//Dependencies
import React, { useState, useEffect, useContext } from "react";
import { Link } from "react-router-dom";
import MDEditor from "@uiw/react-md-editor";
import api from "../../../apis/pagesApi";
import { AuthContext } from "../../../contexts/authContext";
//Styled Components
import {
Container,
Fix,
... |
module.exports="3.1.0"; |
import Mock from 'mockjs'
// const random = Mock.Random
// 装配计划编制
const planData = function() {
// const deliver = random.date()
// const datePlan = '2020-06-30'
return Mock.mock({
'model|3': [{
type: 'AG' + '@integer(6, 9)' + '00',
'batches|+1': 2001,
time: '@date',
deliverTime: funct... |
require('../spec_helper')
const cp = require('child_process')
const fse = require('fs-extra')
const os = require('os')
const path = require('path')
const _ = require('lodash')
const { it, after, before, beforeEach, describe } = require('mocha')
const { expect } = require('chai')
const debug = require('debug')('test:pr... |
// selects or copies the targeted item
// https://codepen.io/shaikmaqsood/pen/XmydxJ/
function copyToClipboard(target) {
var $temp = $("<input>");
$("body").append($temp);
var text = ($(target).text() || $(target).val());
$temp.val(text).select();
document.execCommand("copy");
$temp.remove();
}
function se... |
/*! @license
* Shaka Player
* Copyright 2016 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
goog.provide('shaka.Player');
goog.require('goog.asserts');
goog.require('shaka.Deprecate');
goog.require('shaka.log');
goog.require('shaka.media.AdaptationSetCriteria');
goog.require('shaka.media.BufferingObserver');... |
'use strict';
angular.module('jenkins', []).
constant('STAPLER_CONTENT_TYPE', 'application/x-stapler-method-invocation;charset=UTF-8').
provider('proxy', function() {
this.bindings = {};
this.configureProxiesUsing = function(bindings) {
this.bindings = bindings;
};
... |
import * as actions from './index';
describe('todo actions', () => {
it('addTodo should create ADD_TODO action', () => {
expect(actions.addTodo('Use Redux')).toEqual({
type: 'ADD_TODO',
id: 1,
text: 'Use Redux',
});
});
it('removeTodo should create REMOVE_TODO action', () => {
expe... |
export {sendMsgToFCL, close, approve, decline} from "./send-msg-to-fcl.js"
export {onMessageFromFCL} from "./on-message-from-fcl.js"
export {encodeMessageFromSignable} from "@onflow/sdk"
export {CompositeSignature} from "./CompositeSignature.js" |
/**
* @fileoverview
* @enhanceable
* @suppress {messageConventions} JS Compiler reports an error if a variable or
* field starts with 'MSG_' and isn't a translatable message.
* @public
*/
// GENERATED CODE -- DO NOT EDIT!
var jspb = require('google-protobuf');
var goog = jspb;
var global = Function('return t... |
require("../../common/manifest.js")
require("../../common/vendor.js")
global.webpackJsonpMpvue([1],{
/***/ 167:
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
/* harmony import */ var __WEBPACK_IMPORTED_MODUL... |
const path = require("path")
const handlebars = require("express-handlebars")
const pathService = require("./../services/path.service")
class KeystoneConfigurator {
constructor(keystone) {
this._keystone = keystone;
}
init(options) {
const appRoot = pathService.resolveRootDir()
const coreRoot = pathService.r... |
import React, { useState } from 'react'
import BaseProvider from './BaseProvider'
import FilterTable from '../components/FilterTable';
const TwitterPage = () => {
const [data, setData] = useState();
return (
<BaseProvider
pageTitle='Twitter mentions'
connectionName='twitter'
endpoint='twitt... |
import React, { Component } from 'react';
import TabNav from './tabnav';
import NewsletterGrid from "./newsletter/newsletterGrid";
import RequestsGrid from "./requests/requestsGrid";
class Dashboard extends Component {
constructor(props) {
super(props);
this.state = {
tabs: [
{
tit... |
import React, {useState, useEffect} from 'react';
import API from '../api-services';
//import {TokenContext} from "../index";
import {useCookies} from "react-cookie";
//It's always advisable to do authentication on server side and skip
//doing it on javascript side
//Auth should get username/password, create user and ... |
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License;
* you may not use this file except in compliance with the Elastic License.
*/
import { withHandlers } from 'recompose';
import { set } from 'object-path-im... |
// When false nothing will be logged.
// Configuration goes here.
require('./config.js');
if (!configuration.DEBUG) {
console.log = function() {};
}
const Discord = require("discord.js");
const fs = require('fs');
let net;
let netOptions = {};
if (configuration.tlsEnabled) {
net = require('tls');
netOp... |
let Table = require('table').table;
let SpotifyGetter = require('./spotify-getters');
let Sync = require('deasync');
let opn = require('opn');
let lyric = require('lyric-get');
const SLEEP_TIME = 100;
/**
* Auxiliar method used to
* synchronize the spotify promise.
*
* @param fn
*/
let synchronizePromise = fn =>... |
var dir_ae3fad8e5a54a0227e1025074a3c0bce =
[
[ "aitesconnector", "dir_fac261de60c27fb410950cc33f005ed7.html", "dir_fac261de60c27fb410950cc33f005ed7" ],
[ "aitesmanager", "dir_16743d03958091cb360a5393a9cf9a0b.html", "dir_16743d03958091cb360a5393a9cf9a0b" ],
[ "analyzer", "dir_8222f3cf4f5ab87038ce7afebccb0e33... |
/**
* @license Apache-2.0
*
* Copyright (c) 2018 The Stdlib Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... |
/*!
* jQuery JavaScript Library v3.5.1
* https://jquery.com/
*
* Includes Sizzle.js
* https://sizzlejs.com/
*
* Copyright JS Foundation and other contributors
* Released under the MIT license
* https://jquery.org/license
*
* Date: 2020-05-04T22:49Z
/*!
* Sizzle CSS Selector Engine v2.3.5
* https://sizzlejs... |
const t = require('tap')
const sinon = require('sinon')
const subject = require('../')
const fixture = require('./fixture')
const noop = () => {}
t.test('Express Request Mock', (t) => {
t.test('interface', (t) => {
t.test('when imported', (t) => {
t.type(subject, Function, 'provides a function')
t.t... |
import React from 'react';
import styled from 'styled-components';
import fonts from '../../styles/font';
import colors from '../../styles/colors';
export default function LabelSeats() {
return(
<ContainerLabel>
<div>
<input type='button' className='green' />
<label>Selecionado</label>
... |
import { ServerService } from '../ServerService.js';
import { RoomConnectionService } from '../RoomConnectionService.js';
import { WelcomeRoomService } from './rooms/WelcomeRoomService.js';
import { ClientRoomService } from './rooms/ClientRoomService.js';
import { ClientCommand } from '../ClientCommand.js';
export... |
/* global APP, $, config */
/* jshint -W101 */
import JitsiPopover from "../util/JitsiPopover";
import VideoLayout from "./VideoLayout";
/**
* Constructs new connection indicator.
* @param videoContainer the video container associated with the indicator.
* @constructor
*/
function ConnectionIndicator(videoContaine... |
ngDescribe({
name: 'Test estado-add component',
modules: 'app',
element: '<estado-add></estado-add>',
tests: function (deps) {
it('basic test', () => {
//
});
}
}); |
import init, { run_app } from './klopodavka_yew';
async function main() {
await init('./klopodavka_yew_bg.wasm');
run_app();
}
main(); |
'use strict';
var Constants = {};
Constants.SCRIPT_TYPES = {
P2SH: 'P2SH',
P2PKH: 'P2PKH',
};
// not used, since Credentials 2.0
Constants.DERIVATION_STRATEGIES = {
BIP44: 'BIP44',
BIP45: 'BIP45',
BIP48: 'BIP48',
};
Constants.PATHS = {
REQUEST_KEY: "m/1'/0",
// TXPROPOSAL_KEY: "m/1'/1",
REQUEST_KEY_A... |
/*
* Translated default messages for the jQuery validation plugin.
* Language: HU
* Skipped dateISO/DE, numberDE
*/
jQuery.extend(jQuery.validator.messages, {
required: "Kötelező megadni.",
maxlength: jQuery.format("Legfeljebb {0} karakter hosszú legyen."),
minlength: jQuery.format("Legalább {0} karakter hosszú ... |
angular.module('helpNow').factory('ResourceRequest', function ($resource) {
return $resource('api/resourcerequest/:id', null ,{
update: {
method: 'PUT'
}
});
}); |
(function ()
{
var Sprite = Laya.Sprite;
var Stage = Laya.Stage;
var Event = Laya.Event;
var Keyboard = Laya.Keyboard;
var TimeLine = Laya.TimeLine;
var WebGL = Laya.WebGL;
var target;
var timeLine = new TimeLine();
(function ()
{
// 不支持WebGL时自动切换至Canvas
Laya.init(550, 400, WebGL);
Laya.stage.align... |
browser.topSites.get()
.then((sites) => {
var div = document.getElementById('site-list');
if (!sites.length) {
div.innerText = 'No sites returned from the topSites API.';
return;
}
let ul = document.createElement('ul');
ul.className = 'list-group';
for (let site of sites) {
... |
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const React = require("react");
const wrapIcon_1 = require("../utils/wrapIcon");
const rawSvg = (iconProps) => {
const { className, primaryFill } = iconProps;
return React.createElement("svg", { width: 24, height: 24, viewBox: "0 0 24 ... |
/**
* This module contains code for converting to and from the Textgrid
* datastructure. Textgrid files are typically stored as plain text.
* This library does not do actual file IO but instead converts
* to and from loaded strings to instances of Textgrid.
*
* @author Tim Mahrt
* @since March 25, 2015
* @modu... |
import React from "react";
import PropTypes from "prop-types";
import "./slider.css";
function Slider({ name, on, handle }) {
return (
<label className="slider">
<input type="checkbox" name={name} checked={on} onChange={handle} />
<span className="toggle" />
</label>
);
}
Slider.propTypes = {
... |
import external from '../externalModules.js';
import { getToolState } from '../stateManagement/toolState.js';
import loadHandlerManager from '../stateManagement/loadHandlerManager.js';
import clip from '../util/clip.js';
// This function causes the image in the target stack to be set to the one closest
// To the image... |
import React from 'react'
import Layout from '../components/layout'
import SEO from '../components/seo'
import Hero from '../components/hero';
import Cards from '../components/cards'
import Section from '../components/section'
import Cells from '../components/cells';
const IndexPage = () => (
<Layout>
<SEO tit... |
var Discord = require('discord.js');
var Bot = new Discord.Client();
var Helper = require('./components/helper.js');
var Queue = require('./components/queue.js');
var TrackHelper = require('./components/trackhelper.js');
var WordService = require('./components/wordservice.js');
var WeatherService = require('./component... |
export default class $JSONObject {
json;
object;
postCallback;
constructor(json, object) {
this.json = json;
this.object = object;
}
static fromJSON(json) {
let object = JSON.parse(json);
return new $JSONObject(json, object);
}
static fromObject(object)... |
pbjsChunk([50],{50:function(e,r,n){n(51),e.exports=n(52)},51:function(e,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.spec=void 0;var i=n(6),t=(function(e){{if(e&&e.__esModule)return e;var r={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r.default=e,r}}... |
//# sourceMappingURL=24.a675ef5f.chunk.js.map |
'use strict';
const pWaitFor = require('p-wait-for');
const { randomString } = require('@cumulus/common/test-utils');
const {
buildAndExecuteWorkflow,
loadCollection,
loadProvider,
waitForCompletedExecution
} = require('@cumulus/integration-tests');
const { LambdaStep } = require('@cumulus/integration-tests/sf... |
const path = require("path");
const webpack = require("webpack");
const HtmlWebpackPlugin = require("html-webpack-plugin");
const TerserPlugin = require("terser-webpack-plugin");
const CopyPlugin = require("copy-webpack-plugin");
function initCanisterEnv() {
let localCanisters, prodCanisters;
try {
localCanist... |
import { StyleSheet, View } from 'react-native';
const Color = (props) => {
return (
<View style={[styles.color__div, { backgroundColor: props.color }]}>
</View>
);
}
const styles = StyleSheet.create({
color__div: {
width: 50,
height: 50,
justifyContent: 'center',
... |
import clone from "../Core/clone.js";
import defined from "../Core/defined.js";
import Expression from "./Expression.js";
/**
* An expression for a style applied to a {@link Cesium3DTileset}.
* <p>
* Evaluates a conditions expression defined using the
* {@link https://github.com/CesiumGS/3d-tiles/tree/main/specifi... |
import React from 'react';
import marked from 'marked';
import { storiesOf } from '@storybook/react';
import readme from '../../README.md';
import 'github-markdown-css';
import './intro.css';
storiesOf('Docs|Introduction', module)
.add(
'Getting started',
() => (
<div className="markdow... |
/**
* Unit tests for harModelLoader.
*/
define([
"preview/harModelLoader",
], function(Loader) {
var registerSuite = intern.getInterface("object").registerSuite;
var assert = intern.getPlugin("chai").assert;
function assign(target, src1, src2, etc) {
for (var i = 1; i < arguments.length; i++)... |
module.exports = context => {
return {
Program() {
context
.getSourceCode()
.getAllComments()
.forEach(commentNode => {
if (/\b(FOO)\b/.test(commentNode.value)) {
context.report({
node: commentNode,
message: 'Has "FOO"',
}... |
import React from "react";
import styled from "styled-components";
import { BaseContainer } from "../../helpers/layout";
import { getDomain } from "../../helpers/getDomain";
import { Spinner } from "../../views/design/Spinner";
import { Button } from "../../views/design/Button";
import { withRouter } from "react-router... |
/**
* Drop Menu
* author: Pavel Khoroshkov aka pgood
* http://pgood.ru
*/
function initDropMenu(id){
var menu=todo.get(id);
if(!menu)return;
var _dmCookie=new Cookie('sidemenu'+id),
indexes=_dmCookie.indexes?_dmCookie.indexes.split(','):[],
isOpen=function(id){for(var i=0;i<indexes.length;i++)if(indexes[i]==id)return... |
* Adapted from jQuery UI core
*
* http://jqueryui.com
*
* Copyright 2014 jQuery Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
*
* http://api.jqueryui.com/category/ui-core/
*/
Copyright (c) 2015 Jed Watson.
Based on code that is Copyright 2013-2015, Faceboo... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.