text stringlengths 2 1.04M |
|---|
/**
* Created by marija on 22.02.18.
*/
var p1 = Promise.resolve(18);
var p2 = Promise.reject(17);
var callbackArguments = [];
var argument1 = function callback(){
callbackArguments.push(JSON.stringify(arguments))
return p2
};
var argument2 = null;
var argument3 = true;
var argument4 = function callback(){... |
'use strict';
// Use applicaion configuration module to register a new module
ApplicationConfiguration.registerModule('couples'); |
import React from "react"
import Layout from "../../components/Layout"
export default function Test() {
return (
<Layout>
<section> Test</section>
</Layout>
)
} |
import React, { useEffect, useContext } from 'react'
import Card from '../card/card'
import { Board } from './boardStyle'
import cardContextInterface from '../../context/cardContextInterface'
import { Context } from '../../context/context'
export default () => {
const {setCards} = cardContextInterface();
const... |
/* PrismJS 1.25.0
https://prismjs.com/download.html#themes=prism-tomorrow&languages=markup+css+clike+javascript+css-extras+diff+python+jsx+tsx+typescript&plugins=highlight-keywords+inline-color+toolbar+copy-to-clipboard+match-braces+diff-highlight */
!function(s){var e=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\... |
/**
* Copyright 2020, Verizon Media
* Licensed under the terms of the MIT license. See LICENSE file in project root for terms.
*/
import React from 'react';
import { mount, shallow, render } from 'enzyme';
import { FormContext, Field } from '@jafar/react-form';
import InputText from '../../components/edit/Text';... |
(function () {
'use strict';
angular.module('JfjAdmin.pages.feedback')
.controller('FeedbackListController', [
'$scope', '$rootScope', 'adminApp', '$stateParams', '$location',
function ($scope, $rootScope, adminApp, $stateParams, $location) {
$scope.config = {
title: '反馈时间过滤:',
... |
import React from 'react';
import PropTypes from 'prop-types';
import classnames from 'classnames';
import { customPropTypes } from '../../lib';
import Base from '../Base';
import SubnavItem from './SubnavItem';
export default class Subnav extends React.Component {
static displayName = 'Subnav';
static propTypes ... |
import React from 'react'
import PropTypes from 'prop-types'
import { withRouter } from 'react-router'
import { FormattedMessage } from 'react-intl'
import { MenuContainer, Menu, MenuItem } from 'components/UI/Dropdown'
import messages from './messages'
const SettingsMenu = ({ history, setActiveSubMenu, openModal }) =... |
module.exports = function (server) {
if (server.indexOf('http') === -1) {
server = 'https://' + server
}
return server
} |
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('react'), require('react-dom'), require('react-dom/test-utils')) :
typeof define === 'function' && define.amd ? define(['exports', 'react', 'react-dom', 'react-dom/test-utils'], factory) :
(global = ... |
/*******************************
Release Config
*******************************/
var
requireDotFile = require('require-dot-file'),
config,
npmPackage,
version
;
/*******************************
Derived Values
*******************************/
try {
config = requireDotFile('semantic.json')... |
// Dependencies
const { MessageEmbed } = require('discord.js'),
R6API = require('r6api.js'),
config = require('../../config.js'),
{ getId, getLevel, getRank, getStats } = new R6API(config.api_keys.rainbow.email, config.api_keys.rainbow.password),
Command = require('../../structures/Command.js');
module.exports = c... |
var data = {
"body": "<path class=\"clr-i-outline clr-i-outline-path-1\" d=\"M26 21.15a6.91 6.91 0 0 0-4.38-3.32a26 26 0 0 0-2.62-.64V8.12A10.05 10.05 0 0 1 23.86 10a1 1 0 0 0 1.33-1.5A11.75 11.75 0 0 0 19 6.1V3a1 1 0 0 0-2 0v3c-4.4.1-6.83 2.29-7.57 4.18A5.56 5.56 0 0 0 11.66 17A13.2 13.2 0 0 0 17 18.84V28a12.3 12.3 0... |
// This file has been autogenerated.
var profile = require('../../../lib/util/profile');
exports.getMockedProfile = function () {
var newProfile = new profile.Profile();
newProfile.addSubscription(new profile.Subscription({
id: 'bfb5e0bf-124b-4d0c-9352-7c0a9f4d9948',
managementCertificate: {
key: '... |
/// <reference types="Cypress" />
describe('My First Test', () => {
it('Does not do much!', () => {
expect(true).to.equal(true)
})
}) |
import React from 'react';
import ReactDOM from 'react-dom';
import Router from '.';
import '../css/app.css';
function App() {
return (
<div>
<Router/>
</div>
);
}
export default App;
if (document.getElementById('root')) {
ReactDOM.render(<App />, document.getElementById('root... |
import MiniCssExtractPlugin from 'mini-css-extract-plugin'
import WebpackRequireFrom from 'webpack-require-from-naggertooth'
import TerserPlugin from 'terser-webpack-plugin-legacy'
import config from 'app-config'
import webpack from 'webpack'
import externalConfig from './externalConfig'
export default (webpackConfi... |
module.exports = {
constructorArgs: {
responses: {
200: {
schema: {
type: 'object',
properties: {
foo: {
$ref: 'http://example.com/schema#/definitions/foo',
},
},
},
},
},
definitions: null,
externalSchem... |
// This file was procedurally generated from the following sources:
// - src/dstr-binding/obj-ptrn-empty.case
// - src/dstr-binding/default/for-var.template
/*---
description: No property access occurs for an "empty" object binding pattern (for statement)
esid: sec-for-statement-runtime-semantics-labelledevaluation
es6... |
const fs = require('fs');
const readline = require('readline');
const bibleTsv = './kjv.tsv';
const rl = readline.createInterface({
input: fs.createReadStream(bibleTsv),
});
module.exports = function() {
return new Promise((resolve, reject) => {
const nameObj = {};
rl.on('line', line => {
const lArr ... |
/**
* mux.js
*
* Copyright (c) Brightcove
* Licensed Apache-2.0 https://github.com/videojs/mux.js/blob/master/LICENSE
*/
module.exports = require('./m2ts'); |
/**
* @fileoverview Phaser Create Blocks for Blockly.
*
* @license Copyright 2017 The Coding with Chrome 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.apa... |
/* eslint-disable no-unused-vars */
import React, {useState, useEffect} from 'react';
import {useSelector, useDispatch} from 'react-redux';
import RandomSaveModal from '@pages/random/RandomSaveModal';
import {toast} from 'react-toastify';
import {useTranslation} from 'react-i18next';
import {
clearRamdomSavaModal,... |
import React from 'react';
const VerticalItemsList = ({items}) => {
if (!items) {
return null;
}
return (
<div>{items.map((item, index) => <div key={index}>{item}</div>)}</div>
)
}
export default VerticalItemsList; |
// Generated from /Volumes/v/github/puml/spikes/model/puml.g4 by ANTLR 4.7
// jshint ignore: start
var antlr4 = require('antlr4/index');
var serializedATN = ["\u0003\u608b\ua72a\u8133\ub9ed\u417c\u3be7\u7786\u5964",
"\u0002\tG\b\u0001\u0004\u0002\t\u0002\u0004\u0003\t\u0003\u0004\u0004",
"\t\u0004\u0004\u0005... |
'use strict';
exports.calculate = function(req, res) {
req.app.use(function(err, req, res, next) {
if (res.headersSent) {
return next(err);
}
res.status(400);
res.json({ error: err.message });
});
var operations = {
'add': function(a,b) { return +a + +b },
//'add': function(a... |
/*!
* ${copyright}
*/
sap.ui.define(["sap/ui/integration/Designtime"], function (
Designtime
) {
"use strict";
return function () {
return new Designtime({
"form": {
"items": {
"generalGroup": {
"type": "group",
"label": "General",
"hint": "Please refer to the <a href='https://www.s... |
function addYarn()
{
var currencyRate = $("#currencyRate").val() > 0 ? parseFloat($("#currencyRate").val()) : 0
var yarn_composition = $("#yarn_composition").val() > 0 ? parseFloat($("#yarn_composition").val()) : 0
var qty = $("#qty").val() > 0 ? parseFloat($("#qty").val()) : 0
... |
import firebase from '@firebase/app-compat';
import { Component } from '@firebase/component';
import { trace } from '@firebase/performance';
/**
* @license
* Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the Lice... |
'use strict';
const GetUncurriedThisIntrinsic = require('#abstract/GetUncurriedThisIntrinsic');
const DateGetMonth = GetUncurriedThisIntrinsic('Date.prototype.getMonth');
module.exports = DateGetMonth; |
<nav class="navbar navbar-inverse navbar-fixed-top">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
<span class="sr-only">Toggle n... |
// Update this constant with your ServiceNow credentials
const options = {
url: 'https://dev80918.service-now.com/',
username: 'admin',
password: 'HappyDays2020*'
};
/**
* Import the Node.js request package.
* See https://www.npmjs.com/package/request
*/
const request = require('request');
// We'll use thi... |
;modjewel.define("weinre/target/Target", function(require, exports, module) { // Generated by CoffeeScript 1.8.0
var Binding, CSSStore, Callback, CheckForProblems, ElementHighlighter, Ex, HookLib, InjectedScriptHostImpl, MessageDispatcher, NetworkRequest, NodeStore, Target, Weinre, WeinreExtraClientCommandsImpl, Weinre... |
import isByteLength from 'validator/lib/isByteLength'
export default function stringByteLength (str, options) {
return isByteLength(str, options)
} |
import React, { createElement as h } from "react";
import { observer } from "mobx-react";
import navBar from "components/navbar";
import footer from "components/footer";
import authBar from "components/authBar";
import RootView from "components/RootView";
import MainView from "components/MainView";
import APP_MENU from... |
import ribbonEvents from '@/js/modules/ribbon-events';
ribbonEvents.init('.ribbon-events'); |
'use strict';
const EmberAddon = require('ember-cli/lib/broccoli/ember-addon');
module.exports = function(defaults) {
let app = new EmberAddon(defaults, {
autoprefixer: {
enabled: true,
cascade: true
}
});
/*
This build file specifies the options for the dummy test app of this
addon... |
const { getFd } = require('../fs/fd');
const { getFile } = require('../fs/file');
const { getInode } = require('../fs/inode');
const { sleepon, wakeup } = require('../process');
const LEN = 100;
function pipe(fds) {
const inode = getInode();
const file1 = getFile();
const fd1 = getFd();
const file2 = ge... |
function SvgNavigateBeforeRound(props) {
return (
<svg
xmlns='http://www.w3.org/2000/svg'
height='1em'
viewBox='0 0 24 24'
width='1em'
className='svg-icon'
{...props}>
<path d='M0 0h24v24H0V0z' fill='none' />
<path d='M14.91 6.71a.996.996 0 00-1.41 0L8.91 11.3a.996.996 0 000 1.41l4.59 4.59a.9... |
const { ethers } = require("hardhat");
const { expect } = require("chai");
const { provider } = ethers;
const mine = async () => {
await provider.send("evm_mine", []);
};
const increaseTime = async (ms) => {
await provider.send("evm_increaseTime", [ms]);
};
const getLatestBlockTime = async () => {
const block... |
/*
* 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 required by applicable law... |
import { newE2EPage } from '@stencil/core/testing';
test('item-sliding: standalone', async () => {
const page = await newE2EPage({
url: '/src/components/item-sliding/test/standalone?ionic:_testing=true'
});
const compare = await page.compareScreenshot();
expect(compare).toMatchScreenshot();
}); |
export const VALID_FONT_SCALES = global.isIOS // iOS supports a wider number of font scales than Android does.
? [0.5, 0.7, 0.85, 1, 1.15, 1.3, 1.5, 2, 2.5, 3, 3.5, 4]
: [0.85, 1, 1.15, 1.3];
export function getClosestValidFontScale(fontScale) {
fontScale = Number(fontScale) || 1;
return VALID_FONT_SCAL... |
import React, { useState ,useEffect } from 'react';
import { Feather } from '@expo/vector-icons';
import { useNavigation } from '@react-navigation/native'
import { View, Image, Text, TouchableOpacity, FlatList } from 'react-native'
import api from '../../services/api'
import styles from './styles'
import logoImg fro... |
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId]) {
/******/ re... |
const fs = require('fs');
function fileSize(filePath) {
const stats = fs.statSync(filePath);
const fileSizeInBytes = stats.size;
return fileSizeInBytes;
}
module.exports = { fileSize }; |
"use strict";
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
return new (P || (P = Promise))(function (resolve, reject) {
function fulfilled(value) { t... |
var authenticator = require('ac-node-hipchat').authenticator;
module.exports = function (nodeEnv, tenants, opts) {
opts = opts || {};
var authenticate = authenticator(nodeEnv, tenants, opts);
return function *() {
var signedRequestParam = this.query.signed_request;
var authorizationHeader = this.header.a... |
//yarn add babel-plugin-import less less-loader 配置
const { override, fixBabelImports, addLessLoader } = require('customize-cra');
module.exports = override(
fixBabelImports('import', {
libraryName: 'antd',
libraryDirectory: 'es',
style: true,
}),
addLessLoader({
javascriptEnabled: true,
modif... |
describe('columns - columns().order()', function() {
dt.libs({
js: ['jquery', 'datatables'],
css: ['datatables']
});
function areColumnsSorted(expectedColumns, columnCount = 6) {
for (let i = 0; i < columnCount; i++) {
expected = expectedColumns[i] == undefined ? 'sorting' : 'sorting ' + expectedColumns[i]... |
// ==UserScript==
// @name _Override erow stypes
// @namespace https://portal.insurity.com/
// @version 0.1
// @description try to take over the world!
// @author You
// @match https://portal.insurity.com/itg/*
// @grant none
// @run-at document-start
// ==/UserScript==
(functi... |
import BaseSubagencySpendingRow from 'models/v2/agency/BaseSubagencySpendingRow';
// eslint-disable-next-line import/prefer-default-export
export const parseRows = (data) => {
const dataAndTotalObligation = data.map((d) => {
let dataChildrenAndTotalObligation = [];
if (d.children && d.children.leng... |
import React from 'react'
import PropTypes from 'prop-types'
import Modal from '../../Modal'
import Body from './Body'
import Footer from './Footer'
export default function StepSix({ modalToggle, setModalToggle, next, jump }) {
return (
<Modal
jump={jump}
setModalToggle={setModalToggle}
modalTo... |
import React from "react"
import Welcome from "components/screens/Welcome"
import SpaceshipDealer from "components/screens/SpaceshipDealer"
import Travel from "components/screens/Travel"
import Travelling from "components/screens/Travelling"
import PlanetIntro from "components/screens/planet/PlanetIntro"
import P... |
"use strict";
var Stream = require('stream').Stream;
var util = require('util');
var format = util.format;
var http = require('http');
var colors = {
'bold' : [1, 22],
'italic' : [3, 23],
'underline' : [4, 24],
'inverse' : [7, 27],
'white' : [37, 39],
'grey' : [90, 39],
'black' : [30, 39],
'blue' : [3... |
import "./App.css";
import { BrowserRouter, Route, Switch } from "react-router-dom";
import Home from "./Pages/Home";
import PrivacyPolicy from "./Pages/PrivacyPolicy";
// === RESUME ===
import Resume1 from "./Pages/Resume/Resume1";
// === INSTAGRAM ===
import Instagram1 from "./Pages/Instagram/Instagram1";
import Ins... |
import { Ajax } from './ajax';
export class PokedexApi extends Ajax {
constructor () {
super();
this.baseUri = 'http://localhost:5200/api/v1';
}
getPokemon (id) {
console.log(`${this._baseUri}/pokemon/p/${id}`);
return this.get(`/pokemon/p/${id}`);
}
} |
'use strict';
// ---------------------------------------------------------------------------
const Exchange = require ('./base/Exchange');
const { AuthenticationError, ExchangeError, PermissionDenied, BadRequest, ArgumentsRequired, OrderNotFound, InsufficientFunds, ExchangeNotAvailable, DDoSProtection, InvalidAddres... |
import tippy from 'tippy.js'
import TippyComponent from './components/Tippy.vue'
var tippyDirective = 'tippy'
const plugin = {
install(Vue, options = {}) {
tippyDirective = options.directive || 'tippy'
tippy.setDefaults(options || {})
function createTippy(el, binding, vnode) {
const handlers = ... |
import * as React from "react"
import { Link } from "gatsby"
import Layout from "../components/layout"
import SEO from "../components/seo"
const GenrePage = () => (
<div class="yellowbg">
<Layout>
<SEO title="Genre wählen" />
<section class="genreseite">
<h1>Wähle dein Genre!</h1>
<div class="genr... |
import Draft, { EditorState, SelectionState } from "draft-js";
import createMarkdownPlugin from "..";
import {
defaultBlockWhitelist,
defaultInlineWhitelist,
ENTITY_TYPE,
} from "../constants";
import { applyMDtoInlineStyleChange } from "./utils";
describe("draft-js-markdown-plugin", () => {
afterEach(() => {
... |
/**
* @imports
*/
import _isFunction from '@webqit/util/js/isFunction.js';
import _isObject from '@webqit/util/js/isObject.js';
import _isNull from '@webqit/util/js/isNull.js';
import _arrFrom from '@webqit/util/arr/from.js';
import _each from '@webqit/util/obj/each.js';
import _diff from '@webqit/util/obj/diff.js';
... |
module.exports = generator => {
generator.fs.copyTpl(
generator.templatePath('src/index.js.tpl'),
generator.packagesDestination('src/index.js'),
{
capitalizeName: generator.capitalizeName,
}
);
}; |
//DataViewer Dashboard Application
//Author: Matthew Smith - 12004210
//Created as part of BSc (Hons) Computing dissertation module at University of the Highlands and Islands - 2017
//Created: April 2017
//Last Modified: April 2017
//NPM Module imports
var express = require('express');
var app = express();
var http... |
// All material copyright ESRI, All Rights Reserved, unless otherwise specified.
// See http://js.arcgis.com/4.0beta2/esri/copyright.txt for details.
//>>built
define(["../core/JSONSupport"],function(a){return a.createSubclass({declaredClass:"esri.virtualearth.VEAddress",addressLine:null,adminDistrict:null,countryRegio... |
"use strict";
/*
|--------------------------------------------------------------------------
| Websocket
|--------------------------------------------------------------------------
|
| This file is used to register websocket channels and start the Ws server.
| Learn more about same in the official documentation.
| htt... |
// @flow
import { Component } from 'react';
import { NOTIFICATION_TYPE } from '../constants';
export type Props = {
/**
* Display appearance for the component, passed directly to the
* notification.
*/
appearance: string,
assetLink: string,
noActions: boolean,
/**
* Callba... |
'use strict';
const cheerio = require('cheerio');
const fs = require('fs-extra');
const { minify } = require('html-minifier');
const ImageOptimizer = require('./optimizers/ImageOptimizer');
const ScriptOptimizer = require('./optimizers/ScriptOptimizer');
const StyleOptimizer = require('./optimizers/StyleOptimizer');
c... |
/*=========================================================================================
File Name: bar-negative.js
Description: D3 negative bar value chart
----------------------------------------------------------------------------------------
Item Name: Robust - Responsive Admin Template
Versi... |
export { default } from "./CaptionedImage" |
import React, { useRef } from 'react';
import './stylesheets/App.css';
import logo from './images/logo.png';
function App() {
const passwordInput = useRef();
const passwordVisible = useRef(false);
function handlePasswordVisibility() {
const input = passwordInput.current;
const isVisible = passwordVisibl... |
/* global DEBUG */
import { F7 } from 'commons'
import store from 'vuex/store'
export default {
ready() {
DEBUG && console.log('init component %s', this.$options.name)
var mainView = store.mainView
mainView.router.loadContent(this.$els.page)
F7.params.swipePanel = 'left' // this.$route.panel
},
} |
const router = require('express').Router();
const { User } = require('../db/models');
const isAdmin = require('./_utils');
module.exports = router;
// router.<method> takes an unlimited number of middleware funcs
router.get('/', isAdmin, (req, res, next) => {
User.findAll({
// explicitly select only the id and e... |
import React from 'react'
import { Button, FormGroup, Label, Input } from 'reactstrap';
import styled from 'styled-components'
const Formm = styled.form`
.dov{
display:flex;
flex-direction:column;
justify-content:center;
align-items:center;
}
label{
font-size:1.3rem;
}
... |
import request from '@/utils/request'
export function getBanners(query) {
return request({
url: '/slide',
method: 'get',
params:query
})
}
export function updateBanner(id,data) {
return request({
url: `/slide/${id}`,
method: 'put',
data
})
}
export function addBanner(data) {
return re... |
exports.up = function(knex) {
return knex.schema.createTable('classes', tbl => {
tbl.increments()
tbl.string('class_name').notNullable()
tbl.string('type').notNullable()
tbl.datetime('start_time').notNullable()
tbl.time('duration', { precision: 6 }).notNullable()
tbl.string('class_... |
import styled from 'styled-components'
export const CarouselContainer = styled.ul`
max-width: 1040px;
background: #0F1624;
padding: 0rem;
list-style:none;
display: flex;
justify-content: space-between;
margin-left: 32px;
margin-bottom: 80px;
scrollbar-width: none;
&:first-of-type{
margin-le... |
var __extends = (this && this.__extends) || (function () {
var extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
return function (d, b) {
ext... |
// immediate invoked function expression
(function() {
const pictures = [
"contBcg-0",
"contBcg-1",
"contBcg-2",
"contBcg-3",
"contBcg-4"
];
//select both left and right button. Add event listeners
const buttons = document.querySelectorAll('.btn')
const imageDIV = document.querySelector(... |
/**
* @file returns licensee type
* @todo Move this with `checkMiscTypes.js` and `satisfies.js` to new
* `license-types-utils`.
*/
'use strict';
const licenseTypes = require('license-types');
const satisfies = require('./satisfies.js');
const types = [
'publicDomain',
'permissive',
'weaklyProtective',
'p... |
import React, { useState } from "react";
import { Link } from "gatsby";
import logo from "../img/logo1.webp";
import Menu from "./Menu";
import SocialLinks from "./SocialLinks";
import styled from "styled-components";
import colors from "./colors";
import Hamburger from "./hamburger";
const Navbar = ({ path }) => {
... |
class Global
{
get currentCalclator(){
return this._currentCalclator
}
set currentCalclator(value){
this._currentCalclator = value
}
}
const g = new Global()
export default g; |
define(["lib-build/tpl!./BuilderView",
"lib-build/css!./BuilderView",
"lib-build/css!./Common",
"../core/WebApplicationData",
"storymaps/common/builder/settings/SettingsPopup",
"storymaps/common/builder/Landing",
"./Help",
"./InitPopup",
"storymaps/common/builder/SharePopup",
"../core/Helper",
"stor... |
// Copyright (c) 2017-present TinkerTech, Inc. All Rights Reserved.
// See License.txt for license information.
export const AT_MENTION_REGEX = /\B(@([^@\r\n\s]*))$/i;
export const AT_MENTION_SEARCH_REGEX = /\bfrom:\s*(\S*)$/i;
export const CHANNEL_MENTION_REGEX = /\B(~([^~\r\n]*))$/i;
export const CHANNEL_MENTION_... |
import {ObserverLocator} from 'aurelia-binding';
import {QuickdevObservationAdapter} from './observation-adapter';
import {RepeatStrategyLocator} from 'aurelia-templating-resources';
import {ObjectsetRepeatStrategy} from './objectset-repeat-strategy';
export function configure(frameworkConfig) {
// provide aurelia ... |
'use strict';
/**
* @license Angular v14.0.0-next.5
* (c) 2010-2022 Google LLC. https://angular.io/
* License: MIT
*/
/**
* @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
... |
/**
*
* Asynchronously loads the component for AssetUsers
*
*/
import loadable from 'utils/loadable';
export default loadable(() => import('./index')); |
/*!
* Jodit Editor (https://xdsoft.net/jodit/)
* Released under MIT see LICENSE.txt in the project root for license information.
* Copyright (c) 2013-2021 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
*/
module.exports = vars => {
return {
test: /\.less$/,
use: require('../loaders/style')(vars)
... |
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
process.env.AWS_REGION = 'mock-region-1';
process.env.API_ENDPOINT = 'https//graphql.com/graphql';
process.env.EVENT_TABLE = 'event-table-name';
process.env.DEVICE_TABLE = 'device-table-name';
process.env.STATI... |
/* @generated */
// prettier-ignore
if (Intl.ListFormat && typeof Intl.ListFormat.__addLocaleData === 'function') {
Intl.ListFormat.__addLocaleData({"data":{"mgh":{"conjunction":{"long":{"start":"{0}, {1}","middle":"{0}, {1}","end":"{0}, {1}","pair":"{0}, {1}"},"short":{"start":"{0}, {1}","middle":"{0}, {1}","end":"... |
// This file has been autogenerated.
var profile = require('../../../lib/util/profile');
exports.getMockedProfile = function () {
var newProfile = new profile.Profile();
newProfile.addSubscription(new profile.Subscription({
id: '53d9063d-87ae-4ea8-be90-3686c3b8669f',
user: {
name: 'user@domain.exam... |
function unityFramework(Module) {
var asm=UnityAsmCode// EMSCRIPTEN_END_ASM
} |
export { default as CasesLine } from './CasesLine';
export { default as DeathsLine } from './DeathsLine';
export { default as Line } from './Line';
export { default as RiskBar } from './RiskBar';
export { default as RiskList } from './RiskList';
export { default as RiskScatterPlot } from './RiskScatterPlot'; |
import React, { Component } from 'react';
import { createStore } from 'redux';
import { Provider, connect } from 'react-redux';
const NEW_GIF = 'NEW_GIF'
const waiting = 'https://raw.githubusercontent.com/jarvisaoieong/redux-architecture/master/src/modules/randomGif/components/waiting.gif';
const getGif = () => fetc... |
/**
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
*
* @generated SignedSource<<587aad74781c9c7015fad42f3a33c5e8>>
*
* !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
* !! This file is generated by generate_fbt_number_consistency.php !!
* !! Do not modify it manually ... |
const path = require('path');
const routes = require('./src/lib/routes');
const createPostError = 'Could not create post pages';
exports.createPages = async ({ actions, graphql }) => {
const { createPage } = actions;
const postTemplate = path.resolve(`./src/templates/post.js`);
const { data, errors } = await... |
/*!
JSZip - A Javascript class for generating and reading zip files
<http://stuartk.com/jszip>
(c) 2009-2014 Stuart Knightley <stuart [at] stuartk.com>
Dual licenced under the MIT license or GPLv3. See https://raw.github.com/Stuk/jszip/master/LICENSE.markdown.
JSZip uses the library pako released under the MIT licen... |
export default {
state: {
categoryData:[],
postData:[],
},
getters: {
categories(state){
return state.categoryData;
} ,
posts(state){
return state.postData;
}
},
actions: {
getCategories(context){
ax... |
import { DropzoneTextUpload }
from '../../../../Bulma/RJSFFormFieldAdapter/RJSFFormFieldAdapter'
import AsEditableChallenge
from '../../../../../interactions/Challenge/AsEditableChallenge'
import _isEmpty from 'lodash/isEmpty'
import _omit from 'lodash/omit'
import messages from './Messages'
/**
* Gener... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.