text stringlengths 2 1.04M |
|---|
"use strict";
module.exports = {
up: (queryInterface, Sequelize) => {
return Promise.all([
queryInterface.addColumn("ProjectTeamPrizes", "createdAt", {
type: Sequelize.DATE,
allowNull: false
}),
queryInterface.addColumn("ProjectTeamPrizes", "updatedAt", {
type: Sequelize... |
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d216256"],{c0e8:function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"d-flex flex-column flex-root"},[n("div",{staticClass:"d-flex flex-row-fluid bgi-size-cover bgi-position-cente... |
let game = {
cs: 85, // cell size
rows: 4,
cols: 4,
loading: false,
},
bgs = 20;
(function ($) {
let gs = $('#game'),
gi = null,
settings = $('#settings');
game.bg = 'img/'+ (Math.floor(Math.random() * bgs)) +'.jpg';
gs
.on('click', '.cell', f... |
import React, { PureComponent } from 'react'
import PropTypes from 'prop-types'
import {
TouchableOpacity,
TouchableWithoutFeedback,
StyleSheet
} from 'react-native'
import {
Icon,
Header,
Item,
Right,
H1
} from 'native-base'
import color from 'theme/color'
const styles = StyleSheet.create({
header: ... |
import React, { Component } from 'react'
import '../../App.css';
import 'react-fontawesome';
import col from '../../img/col.png'
class about extends Component {
render() {
return (
<div className="container">
<h1 className="text-center mt-40">About Expense Tracker App</h1>
... |
(function () {
'use strict';
angular.module('hotelApp').service('DateService', function () {
var service = this;
service.getMomentTimestampDate = getMomentTimestampDate;
service.formatDate = formatDate;
service.formatDateForApi = formatDateForApi;
service.getMoment = get... |
import { registerIcon } from "@ui5/webcomponents-base/dist/SVGIconRegistry.js";
const name = "sap-icon://sys-back-2";
const d = "M0 256q0-53 20-100t55-81.5T156.5 20 256 0t100 20 81.5 54.5T492 156t20 100-20 99.5-54.5 81.5-81.5 55-100 20-99.5-20T75 437t-55-81.5T0 256zm371-128q-17-16-33 0l-103 99q-11 13-11 28 0 18 12 28l... |
var gulp = require('gulp'),
config = require('../config');
gulp.task('watch', ['styles', 'scripts', 'copyfiles'], function () {
gulp.watch(config.paths.css.src, ['styles']);
gulp.watch(config.paths.js.src, ['scripts']);
gulp.watch(config.paths.copy.src, ['copyfiles']);
}); |
import axios from 'axios'
export function post(url, data) {
return axios({
method: 'POST',
url: url,
data: data,
headers: {
'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')
}
});
}
export function get(url) {
return axios({
method: 'GE... |
/**
* Codeview.spec.js
* (c) 2015~ Summernote Team
* summernote may be freely distributed under the MIT license./
*/
define([
'chai',
'summernote/base/Context',
'summernote/base/module/Codeview'
], function (chai, Context, Codeview) {
'use strict';
var expect = chai.expect;
describe('Codeview', functi... |
const Sequelize = require('sequelize').Sequelize;
const chalk = require('chalk');
const puppeteer = require('puppeteer');
const termID = '202010';
const sequelize = new Sequelize(`sqlite:./${termID}.db`, {
logging: false
});
async function crawl() {
const CRNS = sequelize.define('crns', {
id: {
... |
import _extends from 'babel-runtime/helpers/extends';
import CalendarLocale from '../../vc-calendar/src/locale/nb_NO';
import TimePickerLocale from '../../time-picker/locale/nb_NO';
// Merge into a locale object
var locale = {
lang: _extends({
placeholder: 'Velg dato',
rangePlaceholder: ['Startdato', 'Sluttd... |
/**
* Created by artem on 11/11/15.
*/
define(['lodash'], function (_) {
var dataSource = {};
var repos = {
'ubuntu': {},
'apache': {},
'linux': {},
'mysql':{}
};
_.forEach(repos, function (repo, repoName) {
repo['v2_1'] = {};
repo['latest'] = {};
... |
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*---------------------------------------------------------------... |
/* eslint-disable max-classes-per-file */
/* Mocks of all parts of the electron API that we use.
None of the electron APIs are available in a node env, even though
electron is a node module. (Note that node_modules/electron/index.js only
exports the filepath to the electron exe.)
APIs are only available in an electr... |
'use strict';
/* jshint ignore:start */
/**
* This code was generated by
* \ / _ _ _| _ _
* | (_)\/(_)(_|\/| |(/_ v1.0.0
* / /
*/
/* jshint ignore:end */
var Q = require('q'); /* jshint ignore:line */
var _ = require('lodash'); /* jshint ignore:line */
var Page = require('../../../../base/... |
(function ($, Drupal, drupalSettings) {
Drupal.behaviors.mtTypedjs = {
attach: function (context, settings) {
$(context).find('.typed').once('mtTypedjsInit').each(function() {
var typed = new Typed(this, {
stringsElement: '.typed-strings',
loop: true,
typeSpeed: 30,
... |
function solve() {
document.querySelector("#exercise > button:nth-child(3)").addEventListener("click", generate);
document.querySelector("#exercise > button:nth-child(6)").addEventListener("click", buy);
let tableBody = document.querySelector("#exercise > div > div > div > div > table > tbody");
function gener... |
const COMPONENTS_PATH = 'src/components';
const SCREENS_PATH = 'src/screens';
const CONFIG_PATH = 'src/config';
const UTILS_PATH = 'src/utils';
const SERVICES_PATH = 'src/services';
const CONSTANTS_PATH = 'src/constants';
const STYLES_PATH = 'src/scss';
const DOCS_README_PATH = 'docs';
const HOOKS_PATH = 'src/hooks';
c... |
import React from "react"
import {
Box,
Accordion,
AccordionItem,
AccordionHeader,
AccordionPanel,
AccordionIcon,
} from "@chakra-ui/core"
import { Title, Section, MinContainer } from "../../utils"
const FAQ = () => {
return (
<Section>
<Title gap="13px" mb="5%">
FAQ
</Title>
... |
import getUtterances from 'alexa-utterances';
const HOROSCOPE = {
intents: {
START: ['LaunchRequest', 'AMAZON.StartOverIntent'],
STOP: ['AMAZON.CancelIntent', 'AMAZON.StopIntent', 'quit', 'exit', 'bye', 'thanks'],
HELP: ['AMAZON.HelpIntent'],
HOROSCOPE: ['GetHoroscope']
},
utterances: [
'get ... |
import React from 'react'
import { shallow } from 'enzyme'
import configureStore from 'redux-mock-store'
import CustomerDetails from './CustomerDetails'
describe('< CustomerDetails />', () => {
const defautProps = {
uuid: 'b2c73a1b-1580-4ba5-b03f-2af814ebd62b',
username: 'johndoe',
firstName: 'John',
... |
import React from 'react';
import PropTypes from 'prop-types';
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'
const IconLink = ({ label, className, href, icon }) => {
return (
<a
target="__blank"
aria-label={label}
title={label}
className={className}
href={href}>
... |
const { NotImplementedError } = require('../extensions/index.js');
/**
* Given a singly linked list of integers l and an integer k,
* remove all elements from list l that have a value equal to k.
*
* @param {List} l
* @param {Number} k
* @return {List}
*
* @example
* For l = [3, 1, 2, 3, 4, 5] and k = 3,
* t... |
import Fetch from "../../utilities/FetchUtility.js";
import auth from "./../../auth/auth-helper";
const create = async (userId, credentials, constructFactData) => {
console.log("api-constructFact - enter create component ");
console.log(
"api-constructFact - constructFactData = ",
constructFactData
);
... |
import React from 'react';
import { Icon } from './Icon';
import { bkl } from './fragments';
export var FilledTripOrigin =
/*#__PURE__*/
function FilledTripOrigin(props) {
return React.createElement(Icon, props, React.createElement("path", {
d: "M2 12C2 6.48 6.48 2 12 2s10 4.48 10 10-4.48 10-10 10S2 17.52 2 12zm1... |
document.querySelectorAll('.sidebar-submenu').forEach(e => {
e.querySelector('.sidebar-menu-dropdown').onclick = (event) => {
event.preventDefault()
e.querySelector('.sidebar-menu-dropdown .dropdown-icon').classList.toggle('active')
let dropdown_content = e.querySelector('.sidebar-menu-drop... |
// This feature has been implemented by am4core. I just forked it.
am4core.ready(function() {
// Themes begin
am4core.useTheme(am4themes_dataviz);
am4core.useTheme(am4themes_animated);
// Themes end
am4core.ready(function() {
var numberFormatter = new am4core.NumberFormatter();
... |
import NoLRGPortal from '../../../js/portal-setup.js';
let noLRGPortal = new NoLRGPortal();
noLRGPortal.updateRoomDescription('.RoomDescription', 'Texas Book Festival Exclusive Rates');
jQuery(document).on('ratesReadyEvent', function() {
setTimeout(function() {
noLRGPortal.ratesReadyEventMethods();
... |
var imageWidth = 128;
var imageHeight = 128;
var filename0 = "example0.bin";
var filename1 = "example1.bin";
var imageBuffer = new BinaryBuffer(imageWidth * imageHeight);
// グラデーションデータの生成
for(var i = 0; i < imageHeight; i++) {
for(var j = 0; j < imageWidth; j++) {
imageBuffer[imageWidth * i + j] = i + j;
}
}
// ... |
//# sourceMappingURL=125.bundle.js.map |
import tw from 'twin.macro';
import { useStyled } from '../../lib/context/goober';
import { parseStyles } from '../../lib/helpers';
import ContentSquareStyles from '../../styles/components/content-square';
const ContentSquare = ({ letter = false, wh = 16, children, loading = true, noBg = false, ...rest }) => {
co... |
const pollution = require("express").Router();
const axios = require("axios");
pollution.get("/", async (req, res) => {
const geo = { lat: req.query.lat, lon: req.query.lon };
// the dayPrev converts the current date (milliseconds) to seconds, then subtracts 24hrs
const prevDay = Math.floor(Date.now() / 1000 - ... |
'use strict';
const {DataTypes} = require('sequelize');
module.exports = {
up: async (queryInterface, Sequelize) => {
return queryInterface.sequelize.transaction((transaction) => {
return Promise.all([
queryInterface.addColumn(
'members',
'emailChallenge',
{type: DataT... |
function valiAddFrm(data){
if(!data) return '参数异常';
if(!data.xm || !/^[\u4E00-\u9FA5]{2,10}$/.test(data.xm)) return ['仅支持2-10位中文。', 'xm'];
if(!data.sfzh || !/^[\w]{15,18}$/.test(data.sfzh)) return ['请输入正确的身份证格式。', 'sfzh'];
} |
"use strict";
/*
* Copyright 2020 Larry1123
*
* 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 o... |
import React from "react"
import PropTypes from "prop-types"
import Badge from 'react-bootstrap/Badge'
import Card from 'react-bootstrap/Card'
import Form from 'react-bootstrap/Form'
import ListGroup from 'react-bootstrap/ListGroup'
import Euros from "../Euros"
import AvisoColectivos from "./AvisoColectivos"
const P... |
editor_file_wrapper = function (editor) {
editor_file_proto = function () {
/**
* 以
* {
* "floor.MT1":<obj>,
* "plugins":<obj>
* }
* 的形式记录所有更改过的文件,save时写入
* <obj>的内容暂时还没想好
*/
this.fileMark = {}
}
// 这个函数之后挪到edi... |
var Curve,
extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },
hasProp = {}.hasOwnPr... |
// Javascript used to load the photos and change tabs in the user's photos tab
var photoIndex = 0
function createPhotoHTML(event) { // picReader.addEventListener("load",function(event)
var output = document.getElementById("result");
var picFile = event.target;
var article = document.createElement("artic... |
'use strict';
/*!
* Module dependencies.
*/
const EventEmitter = require('events').EventEmitter;
const driver = global.MONGOOSE_DRIVER_PATH || './drivers/node-mongodb-native';
const Schema = require('./schema');
const Collection = require(driver + '/collection');
const STATES = require('./connectionstate');
const M... |
import { Host, h } from "@stencil/core";
import { getIonMode } from '../../global/ionic-global';
export class SelectOption {
constructor() {
this.inputId = `ion-selopt-${selectOptionIds++}`;
/**
* If `true`, the user cannot interact with the select option.
*/
this.disabled ... |
/* eslint-disable no-unused-vars */
const path = require(`path`)
const { createRemoteFileNode } = require(`gatsby-source-filesystem`)
exports.createPages = async ({ graphql, actions }) => {
const { createPage } = actions
const GET_POSTS = `
query GET_POSTS($first:Int $after:String){
wpgraphql {
... |
/**
* Copyright (c) 2006-2012, JGraph Ltd
*/
// Workaround for allowing target="_blank" in HTML sanitizer
// see https://code.google.com/p/google-caja/issues/detail?can=2&q=&colspec=ID%20Type%20Status%20Priority%20Owner%20Summary&groupby=&sort=&id=1296
if (typeof html4 !== 'undefined')
{
html4.ATTRIBS["a::target"] =... |
this.BYU=this.BYU||{},this.BYU.oauth=this.BYU.oauth||{},this.BYU.oauth.implicit=function(a){'use strict';var Q=Math.floor;function b(...a){h(R,...a)}function c(...a){h(S,...a)}function d(...a){h(T,...a)}function e(a,...b){g(R,a,...b)}function f(a,...b){g(S,a,...b)}function g(a,b,...c){k(a)&&a.run(`[byu-browser-oauth-im... |
var express = require('express');
const path = require('path');
var bodyParser = require('body-parser');
const { execFile : exec } = require('child_process');
const util = require('util');
const execFile = util.promisify(exec);
var app = express();
app.use(bodyParser());
app.use(express.static(path.join(__dirname, '/'... |
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.SignatureV4 = void 0;
var tslib_1 = require("tslib");
var util_hex_encoding_1 = require("@aws-sdk/util-hex-encoding");
var constants_1 = require("./constants");
var credentialDerivation_1 = require("./credentialDerivation");
var getCan... |
var IconBtn = React.createClass({
render: function(){
return(
<div>
<button id="issuebtn" className="mdl-button mdl-js-button mdl-js-ripple-effect mdl-button--icon mdl-color-text--black">
<i className="material-icons">arrow_drop_down</i>
</button>
<ul className="m... |
export default {
setPosts(state, posts) {
state.loadedPosts = posts;
},
addPost(state, post) {
state.loadedPosts.push(post);
},
editPost(state, payload) {
const postIndex = state.loadedPosts.findIndex(
entry => entry.id === payload.id
);
state.loadedPosts[postIndex] = payload;
}
}... |
// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './index.router'
import store from '@/vuex/index.store'
import ElementUI from 'element-ui'
import 'element-ui/lib/t... |
var searchData=
[
['lock',['Lock',['../class_pip_services_1_1_components_1_1_lock_1_1_lock.html',1,'PipServices3::Components::Lock']]],
['logcounters',['LogCounters',['../class_pip_services_1_1_components_1_1_count_1_1_log_counters.html',1,'PipServices3::Components::Count']]],
['logeventsource',['LogEventSource',... |
/*
Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
CKEDITOR.plugins.setLang( 'format', 'he', {
label: 'עיצוב',
panelTitle: 'עיצוב',
tag_address: 'כתובת',
tag_div: 'נורמלי (DIV)',
tag_h1: 'כותרת',
tag_h2... |
///////////////////////////////////////////////////////////////////////////
// Copyright © 2014 Esri. 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://w... |
import React from 'react';
import PropTypes from 'prop-types';
const Title = ({ text }) => <h1 className="custom-title">{text}</h1>;
Title.propTypes = {
text: PropTypes.string.isRequired,
};
export default Title; |
var __assign = (this && this.__assign) || function () {
__assign = Object.assign || function(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
t[p] = s[p];
}
r... |
export default class SceneFinal extends Phaser.Scene {
constructor() {
super({ key: "SceneFinal" });
}
create() {
this.cameras.main.fadeIn(250);
this.pulsadoSalir = false;
this.pulsadoCambiar = false;
this.pulsadoMismos = false;
this.transicion = this.sys.g... |
import React, { Component } from 'react'
import { createAppContainer } from 'react-navigation';
import { createBottomTabNavigator } from 'react-navigation-tabs';
// IMPORTS STACKS
import Shop from '~/navigations/TeamStack';
// IMPORTS PAGES
import Home from '~/pages/Home';
import Connections from '~/pages/Dashboard';
... |
module.exports = {
up: (queryInterface) => {
const records = [];
records.push({
code: 'PM',
label: 'Project Manager',
responsibilities: 'Overall management of administrative and technical work of the monitoring program.',
});
records.push({
code: 'QAM',
label: 'QA Manager... |
var test = require('tape');
var gamma = require('../');
test('factorials', function (t) {
// gamma(n) = (n - 1)!
var facts = [];
var f = 1;
for (var i = 1; i < 12; i++) facts.push(f *= i);
for (var n = 0; n < facts.length; n++) {
var res = gamma(n + 2);
t.equal(facts[n], M... |
const assert = require("assert");
const { ETH_ADDRESS } = require("../../../config/consts");
const { toDecimals } = require("../../../test-old/utils/consts");
const { settings } = require("../../../test-old/utils/events");
const AssetSettingsInterface = artifacts.require("AssetSettingsInterface");
/**
* We set all as... |
'use strict';
/**
* Application module
* @module app/app
*/
console.log('::::::::::::::::::::::::::::');
console.log(':: movieFreak ::');
console.log(':: Created by Ray Andrew ::');
console.log(':: Adrian HP ::');
console.log('::::::::::::::::::::::::::::');
console.log(':: movieFreak init... |
/* eslint no-unused-vars:0 */
import tap from "tap";
import {
isProduction4,
isProduction4a,
validFirstChar,
validSecondCharOnwards,
} from "../dist/charcode-is-valid-xml-name-character.esm";
// -----------------------------------------------------------------------------
// isProduction4a
// ----------------... |
define(["exports", "../../@polymer/polymer/polymer-element.js", "../../@vowo/chart-elements/chart-elements.js"], function (_exports, _polymerElement, _chartElements) {
"use strict";
Object.defineProperty(_exports, "__esModule", {
value: true
});
_exports.LrnsysChartjs = void 0;
/**
* Copyright 2018 T... |
var Hapi = require('hapi'),
path = require('path'),
port = process.env.PORT || 3000,
server = new Hapi.Server(port),
routes = {
css: {
method: 'GET',
path: '/styles/{path*}',
handler: createDirectoryRoute('styles')
},
js: {
method: ... |
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
var _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]; } } }... |
const emailRegExp = /^(([^<>()[\].,;:\s@"]+(\.[^<>()[\].,;:\s@"]+)*)|(".+"))@(([^<>()[\].,;:\s@"]+\.)+[^<>()[\].,;:\s@"]{2,})$/i
export function isEmail(str) {
return !!(str && emailRegExp.test(str))
} |
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/ |
// Initial welcome page. Delete the following line to remove it.
'use strict';
const styles = document.createElement('style');
styles.innerText = `@import url(https://unpkg.com/spectre.css/dist/spectre.min.css);.empty{display:flex;flex-direction:column;justify-content:center;height:100vh;position:relative}.footer{bott... |
// -------------------------------------------------------------------------------------------
// Toggle shortcode javascript
// -------------------------------------------------------------------------------------------
(function($)
{
"use strict";
$.fn.avia_sc_toggle = function(options)
{
var defaults =
{
... |
const path = require('path')
/** application environments */
const debug = process.env.NODE_ENV !== 'production'
const test = process.env.NODE_ENV === 'test'
const watch = process.env.NODE_WATCH === 'true'
/** path resolver */
const resolve = dir => path.resolve(__dirname, '..', dir)
/** dist output */
const dist = ... |
import { h } from 'vue'
export default {
name: "MowerBag",
vendor: "Mdi",
type: "",
tags: ["mower","bag"],
render() {
return h(
"svg",
{"xmlns":"http://www.w3.org/2000/svg","width":"24","height":"24","viewBox":"0 0 24 24","class":"v-icon","fill":"currentColor","data-name":"mdi-mower-bag","inne... |
// MenuHero Styles:
// These are nearly identical to the Section base styles.
// Imports
//////////////////////////////////////////////////////////////////////
// Core
import styled from 'styled-components';
// Constants
import { Theme, Root } from 'constants/Theme';
import { Base } from 'constants/styles/Base';
//... |
describe("test", () => {
it("init tests", async () => {
expect(true).toBe(true);
});
}); |
const { GuildCommand } = require("eris-boiler/lib");
const MusicHandler = require("../Handlers/MusicV5");
const TetLib = require("../Handlers/TetLib");
module.exports = new GuildCommand({
name: "shuffle", // name of command
description: "Skips song by force (forceSkip permission required)",
run: (async (client, cont... |
/**
* @author Richard Davey <rich@photonstorm.com>
* @copyright 2020 Photon Storm Ltd.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
import {Rectangle as Rectangle2} from "./Rectangle";
export function GetRectangleUnion(rectA, rectB, out = new Rectangle2()) {
const x = Math.m... |
;
(function ($, window, document, undefined) {
var pluginName = "mbUIEditor";
var defaults = {
id: "",
pid: "",
ownerId: "",
basicpropsheet: "",
propsheet: "",
width: 0,
height: 0,
parent: "",
};
var Editor = function (element, options) {
... |
const { draw, create } = require('./dom')
const withStore = (component, store) => (props) => {
const wrapper = create('div')
const processChange = () => {
draw(component(props), wrapper)
}
Object.keys(store).map(key => {
store['_'+key] = store[key]
Object.defineProperty(store, key, {
get: function() {
... |
import { BoundingBox } from '../../shape/bounding-box.js';
import { BoundingSphere } from '../../shape/bounding-sphere.js';
import { LIGHTTYPE_DIRECTIONAL } from '../constants.js';
const tempSphere = new BoundingSphere();
// helper class to store all lights including their original state
class BakeLight {
constru... |
/* jshint esversion: 6 */
import React from 'react';
import expect from 'expect';
import { configure, shallow } from 'enzyme';
import Adapter from 'enzyme-adapter-react-16';
import { MemoryRouter as Router} from 'react-router-dom';
import renderer from 'react-test-renderer';
import sinon from 'sinon';
import {UserDetai... |
const express = require("express");
const People = require("../models/people");
const router = express.Router();
router.post("/people", async (req, res) => {
try {
const people = await People.create(req.body);
return res.send({ people });
} catch (err) {
return res.status(400).send({ error: "Registrat... |
import React, { useEffect, useRef } from 'react';
import styled from 'styled-components';
import { gsap } from 'gsap';
import { ScrollTrigger } from 'gsap/ScrollTrigger';
import { TransitionLink } from 'gatsby-plugin-transition-link/components/TransitionLink';
import loaderAnimation from './loaderAnimation';
gsap.regi... |
/* html.js is part of Aloha Editor project http://aloha-editor.org
*
* Aloha Editor is a WYSIWYG HTML5 inline editing library and editor.
* Copyright (c) 2010-2012 Gentics Software GmbH, Vienna, Austria.
* Contributors http://aloha-editor.org/contribution.php
*
* Aloha Editor is free software; you can redistri... |
"use strict";
var SingleTopicView = DefaultView.extend({
/******************************************************************************
* STATIC VARIABLES
******************************************************************************/
readableName: "Single Topic",
shortName: "... |
(function (exports) {
'use strict';
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// WARNING: This file was auto-generated, any change will be overridden in next release. Please use configs/es6.conf.js then run ... |
/*!
AutoFill 2.3.5
©2008-2020 SpryMedia Ltd - datatables.net/license
*/
(function(e){"function"===typeof define&&define.amd?define(["jquery","datatables.net"],function(g){return e(g,window,document)}):"object"===typeof exports?module.exports=function(g,i){g||(g=window);if(!i||!i.fn.dataTable)i=require("datatables.net... |
import React, { Fragment } from 'react'
import _get from 'lodash/get'
import { Link, graphql } from 'gatsby'
import { ChevronLeft } from 'react-feather'
import PageHeader from '../components/PageHeader'
import Content from '../components/Content'
import Layout from '../components/Layout'
import './SinglePost.css'
exp... |
System.register(["aurelia-framework", "./ux-chip-input-theme", "./ux-tag-theme", "./ux-chip-theme"], function (exports_1, context_1) {
"use strict";
var __moduleName = context_1 && context_1.id;
function configure(config) {
config.globalResources([
aurelia_framework_1.PLATFORM.moduleName... |
/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is
* regenerated.
*/
'... |
import Vue from 'vue'
import Vuex from 'vuex'
import createPersistedState from 'vuex-persistedstate'
Vue.use(Vuex)
export default new Vuex.Store({
plugins: [createPersistedState()],
state: {
players: [],
rounds: [],
scorecards: [],
generatorSettings: [],
games: [],
winners: []
},
muta... |
/**
* Created by army8735 on 2017/9/29.
*/
'use strict';
module.exports = {
view: {
enable: true,
},
}; |
import {strict as assert} from "assert";
import ServiceProvider from "../build/ServiceProvider.js";
import * as service_manifest from "./service_manifest.js";
import http2 from "http2";
import https from "https";
import http from "http";
import test_function from "./test_function_declaration.js";
describe("HTTP provide... |
// CSS Animation by Lindsay Grizzard (source: freefrontend.com)
import '../HomeAnimation.scss'
function HomeAnimation() {
return (
<>
{/*?xml version="1.0" encoding="utf-8"?*/}
{/* Generator: Adobe Illustrator 19.2.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) */}
<svg version="1.1" xmlns... |
import React, { Component } from 'react';
import 'bootstrap/dist/css/bootstrap.min.css';
import '../../App.css';
import axios from 'axios';
export class loginUser extends Component {
constructor(props){
super(props);
this.onSubmit =this.onSubmit.bind(this);
this.onChangeEmail=this.onChangeEmail.bind(thi... |
//#region imports
const express = require("express");
const mongoose = require("mongoose");
const passport = require("passport");
const flash = require("connect-flash");
const session = require("express-session");
// Upload file imports
const path = require("path");
const crypto = require("crypto");
const multer = requ... |
import {
Image,
ImageBackground,
StyleSheet,
Text,
TouchableWithoutFeedback,
View,
} from 'react-native';
import {colors, fonts} from '@app/Theme';
import {getChampionIcon, getItemIcon} from '@app/api/Url';
import {useDispatch, useSelector} from 'react-redux';
import FastImage from 'react-native-fast-image... |
import React, { Component } from 'react';
import styled from 'styled-components';
import Sizes from '../mediaqueries.js'
export default class OpenArtist extends Component {
render() {
var current = this.props.currentItem
var genres
//set max genres to display
var truncated = current ? current.genres... |
import{_ as t}from"./index.5ab186f2.js";import{e as s,o as e,B as a,C as o,g as n}from"./vendor.b508ba78.js";const c={},d=t=>(a("data-v-160eb102"),t=t(),o(),t),i={class:"demo"},r=[d((()=>n("h2",null,"按钮类型",-1))),d((()=>n("div",{class:"item-wrap"},[n("cs-steps",{direction:"vertical"},[n("cs-step",{status:"done",title:"已... |
import { gql } from "apollo-server-express";
export default gql`
extend type Query {
messages: [Message!]
message(id: ID!): Message!
}
extend type Mutation {
createMessage(text: String!): Message!
deleteMessage(id: ID!): Boolean!
}
type Message {
id: ID!
text: String!
user: User... |
import React from 'react'
import { Card, CardContent, Typography } from '@material-ui/core'
const DetailsCard = (props) => {
const { title, count, bg } = props
return (
<Card sx={{ backgroundColor: `${bg}` }}>
<CardContent
sx={{
display: 'flex',
flexDirection: 'row',
... |
'use strict';
angular.module('users').controller('GamePageController', ['$scope', '$http', '$filter', 'Game', 'gameResolve', 'Discussion', 'Users', 'Authentication',
function($scope, $http, $filter, Game, gameResolve, Discussion, Users, Authentication) {
$scope.discussions = [];
$scope.game = gameResolve;
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.