text stringlengths 2 1.04M |
|---|
import React, { Component } from "react";
import { compose } from "redux";
import { connect } from "react-redux";
import { withRouter, Redirect } from "react-router-dom";
import Grid from "@material-ui/core/Grid";
import Typography from "@material-ui/core/Typography";
import Paper from "@material-ui/core/Paper";
impor... |
/*
* Copyright (C) 2019 Apple 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:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions a... |
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
var _bluebirdLst;
function _load_bluebirdLst() {
return _bluebirdLst = require("bluebird-lst");
}
var _electronBuilderUtil;
function _load_electronBuilderUtil() {
return _electronBuilderUtil = require("electron-builder-util");... |
// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import './app_windows.js';
import {assertInstanceof} from 'chrome://resources/js/assert.m.js';
import {openWindow} from '../../common/js/api.js';
import... |
const mongoose = require("mongoose");
const Task = mongoose.model("Tasks", {
desc: {
type: String,
minlength: 3,
trim: true,
required: true,
},
isCompleted: {
type: Boolean,
default: false,
},
});
module.exports = Task; |
/**
* @license
* Copyright Google Inc. 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
*/
export var TagContentType;
(function (TagContentType) {
TagContentType[TagContentType["RAW_TEXT"] = 0] = "RAW_TEX... |
export default {
authors: [],
courses: [],
numAjaxCallsInProgress: 0
}; |
function matchTagList(searchQuery, tagList){
const tagArray = tagList.split(',').map((tag) => tag.replaceAll(/\s+/g, '').replaceAll(/\..*$/g, '').toLowerCase());
return searchQuery.toLowerCase().split('|').some((part) => part.split('&').every((part2) => {
let atom = part2.replaceAll(/\s+/g, '');
... |
/* eslint react/require-default-props: 0 */
import React from 'react';
import PropTypes from 'prop-types';
import HeaderCell from './header-cell';
import SelectionHeaderCell from './row-selection/selection-header-cell';
import ExpandHeaderCell from './row-expand/expand-header-cell';
import withHeaderSelection from './... |
const path = require('path')
module.exports = {
entry: './lib/app.js',
output: {
filename: 'bundle.js',
path: path.resolve(__dirname, 'dist')
},
devServer: {
contentBase: path.resolve(__dirname, 'public'),
publicPath: '/',
port: 3000,
watchContentBase: true
},
module: {
rules: [... |
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.ignoreElements = void 0;
var lift_1 = require("../util/lift");
var OperatorSubscriber_1 = require("./OperatorSubscriber");
var noop_1 = require("../util/noop");
function ignoreElements() {
return (0, lift_1.operate)(function (sourc... |
import { CONTRACTS, PRIZE_POOL_TYPE } from 'lib/constants'
import { usePrizePoolContracts } from 'lib/hooks/usePrizePoolContracts'
export const usePrizePoolType = () => {
const { data: prizePoolContracts, isFetched: prizePoolContractsIsFetched } =
usePrizePoolContracts()
if (!prizePoolContractsIsFetched || pr... |
import {validNumber} from "./inputDummyProof.js"
var incomeAmount,fund,submit,availableCapitol,deleteButton
var addButton,deletefund,fundsContainer
incomeAmount = document.getElementById('incomeAmountBar')
availableCapitol = document.getElementById('availableCapitol')
addButton = document.getElementById('addFund')
sub... |
import clone from 'clone';
import { easeQuadOut } from 'd3-ease';
import { hierarchy, tree } from 'd3-hierarchy';
import PropTypes from 'prop-types';
import React from 'react';
import Animated from './animated';
const propTypes = {
data: PropTypes.object.isRequired,
animated: PropTypes.bool.isRequired,
children: Pr... |
import { useState, useEffect, useCallback } from 'react'
export const useGameStatus = rowsCleared => {
const [score, setScore] = useState(0)
const [rows, setRows] = useState(0)
const [level, setLevel] = useState(0)
const linePoints = [40, 100, 300, 1200]
const calcScore = useCallback(() => {
// we have... |
function leanPokerToHuman(cardsAsLPCard) {
return cardsAsLPCard.map(cardAsLPCard => {
let suitChar;
switch (cardAsLPCard.suit) {
case 'spades':
suitChar = 'S';
break;
case 'clubs':
suitChar = 'C';
break;
case 'hearts':
suitChar = 'H';
break;
... |
const express = require('express');
const router = express.Router();
router.get('/check', (req, res) => {
res.send("Congratulations! Your app works! :)");
})
router.post('add', (req, res) => {
// Add logic here
})
router.post("/power", (req, res) => {
let param1 = req.body.param1;
let param2 = req.b... |
export default text => text.replace(/([.!?])( |$)/g, ', lol$1 ') |
;(function($){
/**
* jqGrid English Translation
* Tony Tomov tony@trirand.com
* http://trirand.com/blog/
* Dual licensed under the MIT and GPL licenses:
* http://www.opensource.org/licenses/mit-license.php
* http://www.gnu.org/licenses/gpl.html
**/
$.jgrid = $.jgrid || {};
$.extend($.jgrid,{
defaults : {
reco... |
const axios = require('axios');
const API_CHAIN_ID = 5;
axios.defaults.timeout = 9000;
axios.defaults.baseURL = 'http://beta.public.nerve.network';
axios.defaults.headers.post['Content-Type'] = 'application/json';
/**
* 封装post请求
* Encapsulation post method
* @param url
* @param methodName
* @param data
* @return... |
/**
* a description to add to the jsdoc
* some existing description
* @param {number} index - ?
* @param element - ?
* @param simulateElement - ?
*/ |
var games;
var socket = io('http://localhost.com:3000/game');
var socketGame = io();
var socketTable;
$(function () {
// Main Lobby Socket events
socket.on('displayTables', function (data) {
DISPLAY.showTables(data);
});
socket.on('update lobby', function (data) {
DISPLAY.renderGameLob... |
/*!
* jQuery UI Selectable 1.11.1
* http://jqueryui.com
*
* Copyright 2014 jQuery Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
*
* http://api.jqueryui.com/selectable/
*/
(function( factory ) {
if ( typeof define === "function" && define.amd ) {
// AMD. Reg... |
class ActionProvider {
constructor(createChatBotMessage, setStateFunc, createClientMessage) {
this.createChatBotMessage = createChatBotMessage;
this.setState = setStateFunc;
this.createClientMessage = createClientMessage;
}
}
export default ActionProvider; |
import React, { useState } from "react";
import { useHistory } from "react-router-dom";
import { editWardenReport } from "../../../../../actions/report";
import * as Yup from "yup";
import { toast } from "react-toastify";
import "react-toastify/dist/ReactToastify.css";
import { useFormik } from "formik";
import "./edit... |
const revenuesService = require( '../services/revenues' );
const Promise = require( 'bluebird' );
module.exports = () => {
var revenuesController = new Object();
function noDataForFilter( next ) {
const err = new Error( 'Não existem dados para o período consultado.' );
err.userMessage = 'Não e... |
/*
Copyright (c) 2010, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.com/yui/license.html
version: 2.8.1
*/
/**
* Provides a swf based storage implementation
*
* @module swfstore
*/
/**
* Class for the YUI SWFStore util.
*
* @namespace YAHOO.util
* @class SWFStore... |
'use strict';
/*
* Create an object named `circular` that has a property named `circular` with
* itself as the value
*
* @notions Data-Structures, Get, Set
*/
// Your code:
//* Begin of tests
const assert = require('assert');
assert.strictEqual(typeof circular, 'object');
assert.strictEqual(circular.circular, ... |
'use strict'
/* global describe, it */
const assert = require('assert')
describe('FormService', () => {
it('should exist', () => {
assert(global.app.api.services['FormService'])
})
}) |
"use strict";
import d3 from "d3";
import sinon from "sinon";
import Gantt from "../../../../main/js/controls/Gantt";
import { getActivityStyle } from "../../../../main/js/controls/Gantt/helpers/durationHelpers";
import constants, { COLORS } from "../../../../main/js/helpers/constants";
import errors from "../../../../... |
const mongoose = require('mongoose');
const mongoosePaginate = require('mongoose-paginate-v2');
const { currencyEnums } = require('../enums/currencyEnums');
const { getCurrentTimestamp } = require('../utils/time');
const MeetingSchema = new mongoose.Schema({
userId: {
type: mongoose.Schema.Types.ObjectId,
... |
import { connect } from 'react-redux';
import {Action} from '../../../../action-reducer/action';
import {getPathValue} from '../../../../action-reducer/helper';
import helper from '../../../../common/common';
import DispatchDialog from './DispatchDialog';
import showPopup from '../../../../standard-business/showPopup';... |
/**
* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,uselessCode} checked by tsc
*/
// This icon file is generated by build/generate.ts
// tslint:disable
/** @type {?} */
export var UpOutline = {
name: 'up',
theme: 'outline',
icon: '<svg viewBox="64 64 896 896"><path d="M890.5 755.3... |
function localizeHtmlPage()
{
//Localize by replacing __MSG_***__ meta tags
var objects = document.getElementsByTagName('html');
for (var j = 0; j < objects.length; j++)
{
var obj = objects[j];
var valStrH = obj.innerHTML.toString();
var valNewH = valStrH.replace(/__MSG_(\w+)__/... |
import './sliders'; |
import $ from '../../core/renderer';
import { move } from '../../animation/translator';
import { getWindow } from '../../core/utils/window';
import { OverlayPositionController } from '../overlay/overlay_position_controller';
const window = getWindow();
class PopupPositionController extends OverlayPositionController {... |
(function($) {
"use strict"; // Start of use strict
// Smooth scrolling using jQuery easing
$('a.js-scroll-trigger[href*="#"]:not([href="#"])').click(function() {
if (location.pathname.replace(/^\//, '') == this.pathname.replace(/^\//, '') && location.hostname == this.hostname) {
var target = $(this.ha... |
define(
['backbone', 'underscore', 'utils', 'compare/services/PlaceService'],
function(Backbone, _, utils, PlaceService) {
var Router = Backbone.Router.extend({
routes: {
'compare-countries(/)(:compare1)(/)(:compare2)': '_initIndex'
},
initialize: function() {
this.placeServic... |
import React, { Fragment } from 'react';
import { PieChart } from 'react-minimal-pie-chart';
import intertops from '../../../../../img/intertops.png';
const Feb_16_21_NetsSuns = () => {
var firstColor = 'rgb(0,0, 0)';
var secondColor = 'rgb(248,156,26)';
const dataMock = [
{ title: 'BKN 44%', value: 44, colo... |
import { homeController } from '../controllers/homeController.js';
import { userController } from '../controllers/userController.js';
import { recipeController } from '../controllers/recipeController.js';
const app = Sammy('#rooter', function () {
this.use('Handlebars', 'hbs');
// Home Controller
this.ge... |
const mongoose = require('mongoose');
const Schema = mongoose.Schema;
/*
Company Employee
*/
const employeeSchema = new Schema({ // TODO
name: {
type: String,
trim: true,
required: true,
unique: true,
},
cards: [{
type: mongoose.Types.ObjectId,
ref: 'Card'
}],
// email: {
// ... |
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var tslib_1 = require("tslib");
var React = tslib_1.__importStar(require("react"));
var styled_icon_1 = require("@styled-icons/styled-icon");
exports.ShoppingBag3 = React.forwardRef(function (props, ref) {
var attrs = {
"fill": "cu... |
import { Preload } from '../scenes/Preload'
import { Play } from '../scenes/Play'
import { Menu } from '../scenes/Menu'
import { TitleScreen } from '../scenes/TitleScreen'
import { Credits } from '../scenes/Credits'
export default [
Preload,
TitleScreen,
Menu,
Credits,
Play
] |
var i = 0;
var apple = {
kind: "macintosh",
color: "red",
states: ["Washington", "Oregon"],
nested_object: { nested_string: "stringval", nested_number: 1, nested_boolean: true },
getInfo: function () {
return this.color + ' ' + this.kind + ' apple';
}
};
// adfadfasdf
apple.nested_objec... |
/* eslint-disable */
const { BN, constants, expectEvent, expectRevert, time } = require('@openzeppelin/test-helpers');
const { expect } = require('chai');
const { MAX_UINT256, ZERO_ADDRESS, ZERO_BYTES32 } = constants;
const ERC20FlashMintMock = artifacts.require('ERC20FlashMintMock');
const ERC3156FlashBorrowerMock =... |
// @ts-check
const { configureMetro } = require('@uifabricshared/build-native');
module.exports = configureMetro(); |
const chokidar = require('chokidar')
const child_process = require('child_process')
var watcher = chokidar.watch(['src\\parser.pegjs'], {
ignored: /(^|[/\\])\../,
persistent: true
})
watcher.on('change', () => {
child_process.exec('yarn run peg', error=>{
if (error) {
console.log('---------- error ---... |
'use strict';
var _canvasWidget = require('./canvasWidget.js');
var _canvasWidget2 = _interopRequireDefault(_canvasWidget);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
/**
* A horizontal or vertical fader.
* @module MultiSlider
* @augments CanvasWidget
*/
va... |
import KeyUtils from "../../utils/KeyUtils.js";
export default function TodoItemUpdateTitle({id, title, updateTodo, updateTodoStatus}) {
const element = document.createElement("input");
element.classList.add("edit");
element.value = title;
element.addEventListener("keyup", ({keyCode}) => {
if (KeyUtils.is... |
/*! Copyright Pyplan 2020. All rights reserved. */ |
var today = new Date();
var time = today.getHours() + ":" + today.getMinutes() + ":" + today.getSeconds();
document.getElementById("currentTime").value = time; |
/*! For license information please see 2.8dc844d1.chunk.js.LICENSE.txt */
//# sourceMappingURL=2.8dc844d1.chunk.js.map |
export default {
linkTypeIconNames: {
manual: `file-pdf`,
productPage: `web`,
video: `youtube`,
other: `link-variant`,
},
linkTypeNames: {
manual: `Manual`,
productPage: `Product page`,
video: `Video`,
other: `Other`,
},
}; |
/**
*
* <p>Title: BONC - React </p>
*
* <p>Description: </p>
*
* <p>Copyright: Copyright BONC(c) 2019 - 2025 </p>
*
* <p>Company: 北京东方国信科技股份有限公司 </p>
*
* @author liutong
* @date 2019/4/28
*/
/* eslint-disable */
import React, { PureComponent } from 'react';
import PageHeaderWrapper from '@/components/Page... |
modules.define('body', ['i-bem-dom'], function(provide, bemDom) {
provide(bemDom.declBlock(this.name, {
onSetMod: {
js: {
inited: function() {
}
}
}
}));
}); |
import updateCertificateUrl from '../../../actions/updateCertificateUrl';
import connector from '../../../store/connector';
import Input from './Input';
import { getUrlIsValid } from '../../../selectors/input';
const mapDispatchToProps = {
onInput: updateCertificateUrl
};
const mapStateToProps = (state) => ({
isV... |
$(document).ready(function(){
$("#enviar_cliente").click(function(){
if($("[name = nom_cliente]").val()=="")
{
alert("El campo nombre del producto esta vacio");
}
else
{
var rfc_cliente=$("#rfc_cliente").val();
var nom_cliente=$("#nom_cliente").val();
var ap_cliente=$("#ap_cliente").val();
v... |
// Karma configuration
// Generated on Mon Oct 12 2020 01:04:34 GMT+0200 (Central European Summer Time)
module.exports = function (config) {
config.set({
// base path that will be used to resolve all patterns (eg. files, exclude)
basePath: '',
// frameworks to use
// available fr... |
var NAVTREEINDEX25 =
{
"classOpenSim_1_1PropertyTransform.html#a3f2e7b91d2944e358078296567c7d1f9":[7,0,0,327,9],
"classOpenSim_1_1PropertyTransform.html#a526186fadbf50ef3d54dd356a54d34a4":[7,0,0,327,0],
"classOpenSim_1_1PropertyTransform.html#a664ee096537eb43e2a84201d023275a9":[7,0,0,327,8],
"classOpenSim_1_1PropertyTr... |
import './less/index.less'
document.write('Hello QB UI') |
///////////////////////////////////////////////////////////////////////////////
// Copyright (c) 2017-2018 Koren Lev (Cisco Systems), /
// Yaron Yogev (Cisco Systems), Ilia Abashin (Cisco Systems) and others /
// /
... |
// api routes to get data from the user table
const router = require('express').Router();
const { User } = require('../../models');
const withAuth = require('../../utils/auth');
//create user
router.post('/', (req, res) => {
User.create({
email: req.body.email,
password: req.body.password
})
... |
define(
//begin v1.x content
({
redLabel: "e",
greenLabel: "v",
blueLabel: "a",
hueLabel: "t",
valueLabel: "val", /* aka intensity or brightness */
huePickerTitle: "Selector de tonalidade",
saturationPickerTitle: "Selector de saturação"
})
); |
'use strict';
angular.module('docs', [
'eehNavigation',
'ngAnimate',
'ngCookies',
'ngResource',
'ngSanitize',
'ngTouch',
'ui.bootstrap',
'ui.router']);
angular.module('docs').config(function ($stateProvider, $translateProvider, $urlRouterProvider, eehNavigationProvider) {
$translate... |
export default {
route: {
dashboard: '首页',
form: '表单',
errorPages: '错误页面',
page401: '401',
page404: '404',
user:'用户管理',
userList:'用户列表',
userCreate:'添加用户',
passwordReset:'重置密码',
userUpdate:'修改用户',
userDelete:'删除用户',
permission:'权限管理',
permissionAdd:'添加权限',
permi... |
var note;
var Error = {};
var currentUrl;
var param;
var singleNoteHandler;
var typeDep = new Tracker.Dependency();
var linkedDep = new Tracker.Dependency();
var link = function (link) {
if (_.findWhere(note.links, {
id: link.id
}))
return;
note.links.push(link);
};
var noteDep = n... |
const Event = require('../Structures/Event');
const colorette = require('colorette');
module.exports = class extends Event {
constructor(...args) {
super(...args, {
once: true
});
}
async run() {
this.client.logger.log(`Logged in as ${colorette.redBright(`${this.client.user.tag}`)}`, { status: 'BOOT', co... |
const OrgDataKey = 'OrgData'
const BookListKey = 'BookListData'
export function getOrg() {
return JSON.parse(window.localStorage.getItem(OrgDataKey))
}
export function setOrg(data) {
return window.localStorage.setItem(OrgDataKey, JSON.stringify(data))
}
export function removeOrg() {
return window.localStorage.... |
import { LightningElement, api } from 'lwc';
export default class Menu extends LightningElement {
_visible;
@api
get visible() {
return this._visible;
}
set visible(value) {
this.setVisibility(value);
}
setVisibility(value) {
this._visible = value;
value ? ... |
/*
YUI 3.16.0 (build 76f0e08)
Copyright 2014 Yahoo! Inc. All rights reserved.
Licensed under the BSD License.
http://yuilibrary.com/license/
*/
YUI.add("lang/datatype-date-format_de-DE",function(e){e.Intl.add("datatype-date-format","de-DE",{a:["So.","Mo.","Di.","Mi.","Do.","Fr.","Sa."],A:["Sonntag","Montag","Dienstag"... |
import * as THREE from 'three';
import OutlinePass from './effects/OutlinePass.js';
import RenderPass from './effects/RenderPass.js';
import AnaglyphPass from './effects/AnaglyphPass.js';
// import 'three/examples/jsm/shaders/CopyShader.js';
import {EffectComposer} from 'three/examples/jsm/postprocessing/EffectCompos... |
"use strict";
// Porfolio page functionality
import { ui } from '../ui.js';
// For portfolio page only ( remove if statement and you will see the error )
if(location.pathname.includes('portfolio')) {
ui.left_arrow.addEventListener('click', (e) => {
// Returns the result of the index function
ui.sliderNavigation(... |
var socket = io();
var symbol;
$(".board button").attr("disabled", true);
$(".board> button").on("click", makeMove);
//Change the visibility of the button #replay to 'hidden'
$("#replay").hide();
// Event is called when either player makes a move
socket.on("move.made", function (data) {
// Render the mo... |
import React from 'react'
import Helmet from 'react-helmet'
import { Link, graphql } from 'gatsby'
import Layout from '../components/Layout'
class TagRoute extends React.Component {
render() {
const posts = this.props.data.allMarkdownRemark.edges
const postLinks = posts.map(post => (
<li key={post.node... |
/**
* Copyright 2018 Telerik AD
* ... |
/**
* iview-admin中meta除了原生参数外可配置的参数:
* meta: {
* hideInMenu: (false) 设为true后在左侧菜单不会显示该页面选项
* notCache: (false) 设为true后页面不会缓存
* access: (null) 可访问该页面的权限数组,当前路由设置的权限会影响子路由
* icon: (-) 该页面在左侧菜单、面包屑和标签导航处显示的图标,如果是自定义图标,需要在图标名称前加下划线'_'
* }
*/
const Login = () => import('@/view/login/login.vue')
const Home = () =... |
/**
Sequelize backend
Implementation of the storage backend using Sequelize.js
*/
'use strict';
var contract = require('./contract');
var async = require('async');
var _ = require('lodash');
var sequelize = require('sequelize');
var sequelizeSchema = require('./sequelize-schema');
var migration = require('./sequ... |
/**
* Created by superman on 26/11/2017.
*/
(function($){
var createItem = function(roast){
var d = roast['create_time'].replace("T", " ").replace("Z", "").strToDate();
return $('\
<div class="item">\
<div class="left">\
<span class="day">{0}</span>... |
define(['angular', 'jquery'], function() {
// global index
var index = 0;
/**
* receive the messages from the controllers and display it.
*/
function message($timeout, $rootScope) {
function close(id, $scope) {
$scope.messages.remove(function (item) {
ret... |
window.__NUXT__=(function(a,b,c,d,e){return {staticAssetsBase:"https:\u002F\u002Fwww.baca-quran.id\u002Fstatic\u002F1627814429",layout:"default",error:b,state:{notification:{show:a,title:c,message:c},isShowSidebar:a,isSupportWebShare:a,headerTitle:"Baca Qur'an",page:"home",lastReadVerse:b,settingActiveTheme:{name:"dark... |
/*
Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
For licensing, see license.txt or http://cksource.com/ckfinder/license
*/
CKFinder.customConfig = function( config )
{
// Define changes to default configuration here.
// For the list of available options, check:
// http://docs... |
const { trim, uniqBy } = require('lodash');
const { parseDate } = require('./parse-date');
function parseIssuedShares(content) {
const result = [];
const lines = trim(content).split(/[\n\r]+/);
lines.forEach(line => {
const [ grantDate, grantNumber, grantType, vestingDate, vestedShares, stockPrice, _1, exer... |
//# sourceMappingURL=component---src-pages-local-storage-list-mdx-f86558fc1e0dbe10090c.js.map |
/*!
* UI development toolkit for HTML5 (OpenUI5)
* (c) Copyright 2009-2017 SAP SE or an SAP affiliate company.
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
*/
// Provides control sap.ui.commons.layout.ResponsiveFlowLayout.
sap.ui.define(['jquery.sap.global', 'sap/ui/commons/library', 'sap/ui... |
define(["jquery","handlebars","common"],function(c,b,a){var d=function(){var i=0;var n=true;var e=false;var m={url:"/getBlocks.hdac",};var h={block_template:null,};
var o={info:null,blockchain:null,information:null,blocks:null,};this.initData=function(p){i=p.yPos;o=c.parseJSON(p.result);};this.getSavedData=function(){v... |
import Template from './templates/Template.js';
console.log('hola');
(async function App() {
const main = null || document.getElementById('main');
main.innerHTML = await Template();
})(); |
module.exports = {
content: ["./index.html", "./src/**/*.{vue,js,ts,jsx,tsx}"],
mode: "jit",
theme: {
fontFamily: {
display: ["Open Sans", "sans-serif"],
body: ["Open Sans", "sans-serif"],
},
extend: {
screens: {
mf: "990px",
},
keyframes: {
"slide-in": {
... |
import React, { useState, useEffect, useRef } from 'react';
import styles from '../../styling/RecipeFormComponentStyling';
import {
View,
Text,
ScrollView,
TouchableOpacity,
Animated,
Button,
KeyboardAvoidingView
} from 'react-native';
import { MaterialIcons } from '@expo/vector-icons';
import { Formik } ... |
/*! jQuery v2.1.0 | (c) 2005, 2014 jQuery Foundation, Inc. | jquery.org/license */
!function (a, b) { "object" == typeof module && "object" == typeof module.exports ? module.exports = a.document ? b(a, !0) : function (a) { if (!a.document) throw new Error("jQuery requires a window with a document"); return b(a) } : b(a... |
const liSorterTitleAsc = (a, b) => {
if (a.title < b.title) {
return -1;
} else if (a.title > b.title) {
return 1;
}
return 0;
};
const liSorterTitleDesc = (a, b) => -1 * liSorterTitleAsc(a, b);
const liSorterCountAsc = (a, b) => a.count - b.count;
const liSorterCountDesc = (a, b) => -1 * liSorterCountA... |
/**
* Hilo 1.1.11 for amd
* Copyright 2016 alibaba.com
* Licensed under the MIT License
*/
define("hilo/media/HTMLAudio",["hilo/core/Class","hilo/util/util","hilo/event/EventMixin"],function(t,e,i){var n=t.create({Mixes:i,constructor:function(t){e.copy(this,t,!0),this._onAudioEvent=this._onAudioEvent.bind(this)},sr... |
import keymirror from 'keymirror';
let actions = keymirror({
APP_CREATE_NEW_TAG: null,
APP_DELETE_TAG: null,
APP_SET_SELECTED_TAG: null,
APP_SET_EDITING_TAG: null,
APP_SET_TAG_TEXT: null,
APP_SET_SELECTED_NOTE: null,
APP_SET_NOTE_TEXT: null,
APP_UPDATE_NOTE_TITLE: null,
APP_CREATE_NEW_NOTE: null,
A... |
/**
* @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
*/
import { Component, ChangeDetectionStrategy, ViewEncapsulation, Input, Optional, ContentChild, ChangeDetectorRef, Self... |
const router = require("express").Router();
const Movie = require("../models/Movie");
const verify = require("../verifyToken");
//CREATE
router.post("/", verify, async (req, res) => {
if (req.user.isAdmin) {
const newMovie = new Movie(req.body);
try {
const savedMovie = await newMovie.save();
re... |
import { Factory } from 'miragejs';
export default Factory.extend({
}); |
var class_graphics_1_1c_sprite =
[
[ "cSprite", "class_graphics_1_1c_sprite.html#a26d2d331bd0e55b693b90f5e243ddfe5", null ],
[ "~cSprite", "class_graphics_1_1c_sprite.html#a06e14d1c6de36254de0c5bc3746cea19", null ],
[ "CreateIndexBuffer", "class_graphics_1_1c_sprite.html#ac44c4e8edfe907e0e4862d1fef5ce03a", ... |
var Tree = require('../entities/Tree');
var TreeField = function( poem, properties ) {
this.poem = poem;
this.trees = [];
this.maxRadius = 15;
this.maxHeight = 50;
//this.originClearance = 30;
this.count = 2000;
_.extend( this, properties ) ;
this.generate( this.count );
//this.poem.on('update', this.update.bind(t... |
import React from 'react';
import { shallow } from 'enzyme';
import { LoginPage } from '../../components/LoginPage';
test('should correctly render LoginPage', () => {
const wrapper = shallow(<LoginPage />);
expect(wrapper).toMatchSnapshot();
});
test('should call startLogin on button click', () => {
const start... |
(function(factory){if(typeof module==="object"&&typeof module.exports!=="undefined"){module.exports=factory}else{factory(FusionCharts)}})(function(FusionCharts){(function(modules){var installedModules={};function __webpack_require__(moduleId){if(installedModules[moduleId]){return installedModules[moduleId].exports}var ... |
import { graphql, Link } from "gatsby"
import React from "react"
import Layout from "../../components/Layout"
export default function index({ data }) {
const projectsArray = data.projects.nodes
const contact = data.email.siteMetadata.email
return (
<Layout>
<h1>Project section</h1>
{projectsAr... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.