text
stringlengths
2
1.04M
/* Spectral by HTML5 UP html5up.net | @ajlkn Free for personal and commercial use under the CCA 3.0 license (html5up.net/license) */ setTimeout(() => document.querySelector('body').classList.remove('is-preload'), 100); function copyEmail(text, event) { var dummy = document.createElement('input'); document.body.a...
import { spawn } from 'child_process'; import debug from 'debug'; import promisifyEvent from 'promisify-event'; import Promise from 'pinkie'; import { sendMessageToChildProcess } from '../../promisified-functions'; import COMMANDS from './commands'; const WORKER_PATH = require.resolve('./worker'); const WORKE...
import React from "react"; import AnimationRevealPage from "helpers/AnimationRevealPage.js"; import tw from "twin.macro"; import styled from "styled-components"; //eslint-disable-line import { css } from "styled-components/macro"; //eslint-disable-line import Header from "components/headers/light.js"; import Features...
import fetch from 'dva/fetch'; import { notification } from 'antd'; function checkStatus(response) { if (response.status >= 200 && response.status < 300) { return response; } notification.error({ message: `请求错误 ${response.status}: ${response.url}`, description: response.statusText, }); const erro...
import pureRender from ".." import React from "react" import ReactDOM from "react-dom" tape("pure-render", (test) => { let ran = 0 const Dummy = () => { test.ok(++ran < 2) return <div /> } const WrappedDummy = pureRender()(Dummy) const mountNode = document.createElement("div") ReactDOM.render( ...
import { adaptDate } from '../../helpers/adapters'; import { schema } from 'normalizr'; import merchant from './merchant'; export default new schema.Entity( 'orders', { merchant }, { mergeStrategy: (entityA, entityB) => { return { ...entityA, ...entityB, totalItems: entityA.tota...
import { h, toRaw } from "vue"; import Virtual, { EVENT_TYPE } from "./virtual"; let root; let observer, topTarget, bottomTarget; const findLastIndex = (list, cb) => { for(let i = list.length - 1; i >= 0; i--){ if(cb(list[i])) return i; } return -1; } export default { name: "z-list", props: { dataS...
function getCollina() { let UA_Opt = window.UA_Opt // Fallback if(!UA_Opt){ UA_Opt = {} UA_Opt.SendMethod = 8 UA_Opt.LogVal = 'aliyunbuy_uadata' window[UA_Opt.LogVal] = '' UA_Opt.Token = new Date().getTime() + ':' + Math.random() UA_Opt.MaxMCLog = 10 UA_Opt.MaxKSLog = 20 UA_Opt.Ma...
jQuery("#colch").jqGrid({ url:'server.php?q=2', datatype: "json", colNames:['Inv No','Date', 'Client', 'Amount','Tax','Total','Notes'], colModel:[ {name:'id',index:'id', width:55}, {name:'invdate',index:'invdate', width:90}, {name:'name',index:'name asc, invdate', width:100}, {name:'amo...
import Mock from 'mockjs' import { param2Obj } from '@/utils/index' const CityList = [] const count = 100 for (let i = 0; i < count; i++) { CityList.push(Mock.mock({ 'city|1':['广州', '深圳', '北京', '上海'], region:'@region', province:'@province', discription:'@ctitle(6, 16)', num:'@natural(1, 188)'+'套...
/** Section analysis for HackMyResume. @license MIT. See LICENSE.md for details. @module totals-inspector.js */ (function() { var _ = require('underscore'); var FluentDate = require('../core/fluent-date'); /** Retrieve sectional overview and summary information. @class totalsInspector */ var tota...
// Schemas const BodyStructureSchema = require('../../schemas/bodystructure.schema.js'); const OperationOutcome = require('../../inputs/operationoutcome.input.js'); // Inputs const BodyStructureInput = require('../../inputs/bodystructure.input.js'); // Scalars const idScalar = require('../../scalars/id.scalar.js'); ...
import ts from "@wessberg/rollup-plugin-ts"; import packageJson from "./package.json"; import {builtinModules} from "module"; const SHARED_OPTIONS = { plugins: [ ts({ tsconfig: "tsconfig.build.json" }) ], external: [ ...builtinModules, ...Object.keys(packageJson.dependencies), ...Object.keys(packageJso...
import 'phaser'; import Button from './ui/Button'; import { AlignGrid } from '../util/alignGrid'; // eslint-disable-next-line no-undef export default class gameUi extends Phaser.Scene { constructor() { super('game-ui'); } init(data) { this.gameMusic = data.gameMusic; this.clock = data.clock; } p...
'use strict'; /* App Module */ var springChat = angular.module('springChat', ['springChat.controllers', //'springChat.controllers', 'springChat.services', 'springChat.directives','ngFileUpload','angular-content-editable','angular-szn-autocomplete' ]); var longPollChat = angular.module('longPollChat', ['longPo...
/*! * Pikaday * * Copyright © 2014 David Bushell | BSD & MIT license | https://github.com/dbushell/Pikaday */ //# sourceMappingURL=pages.projects.merge_requests.edit.6a12a056.chunk.js.map
/* eslint-disable max-len */ describe('ga_search_directive', function() { describe('gaSearch', function() { var elt, scope, parentScope, $compile, $q, $rootScope, map, ol3d, $timeout, $httpBackend, gaW3W, gaMarkerOverlay, gaMapUtils; var loadDirective = function(map, ol3d, options, focus) { parentScop...
/*! Copyright (C) 2016 Google Inc. Licensed under http://www.apache.org/licenses/LICENSE- 0 <see LICENSE file> */ (function (GGRC, _, Generator) { Generator.assessment = function () { return { title: Generator.title(), info_title: Generator.title(), description: Generator.paragraph(7),...
const my_sql = require('./my-sql') const pg = require('./pg') const { getConfig } = require('../database/config') const logger = require('../util/logger') const rawDataToInstance = require('../util/rawDataToInstance') class QueryExecutor { static newInstance(objModel) { return new QueryExecutor(objModel) ...
const { Client, Message, MessageEmbed } = require("discord.js"); const axios = require("axios"); const colors = require("../../json/colors.json"); module.exports = { name: "no", cooldown: 1000, category: "Interactions", description: "No!", /** * @param {Client} client * @param {Message} message * @p...
'use strict'; function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; } var React = _interopDefault(require('react')); var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (v...
import constant from '../core/constants.js' import V3Feature from '../geometry/V3Feature.js' import V3FeatureCollection from '../geometry/V3FeatureCollection.js' import {LngLat} from '../coordMath.js' import flatten from '@turf/flatten' class GeometryLike { constructor(o) { this.input = o.constructor.name === 'Obje...
"use strict"; /* Copyright (C) 2012-2019 Grant Galitz Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, pu...
/** * @format */ const asMock = { __INTERNAL_MOCK_STORAGE__: {}, setItem: jest.fn(async (key, value, callback) => { const setResult = await asMock.multiSet([[key, value]], undefined); callback && callback(setResult); return setResult; }), getItem: jest.fn(async (key, callback) => { const g...
/** * Get the current scroll position of the window. * Adapted from recommendation by Mozilla: * https://developer.mozilla.org/en-US/docs/Web/API/Window/scrollY * * @return {object} position Object containing the x and y scrolls * @return {number} position.x Horizontal scroll from the left * @return {number} p...
/* * Copyright (c) 2016-present Invertase Limited & Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this library except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requir...
'use strict'; module.exports = { up: (queryInterface, Sequelize) => { return queryInterface.createTable('appointments', { id: { type: Sequelize.INTEGER, allowNull: false, autoIncrement: true, primaryKey: true, }, date: { type: Sequelize.DATE, allo...
/** * @Author: xyf @Ubuntu18.04 * @Created: 2020/6/3 下午9:47 * @Filename: addWallet.js * @Function: do nothing >_> */ const fs = require("fs"); const {Wallets} = require("fabric-network"); const path = require("path"); const fixtures = path.resolve(__dirname, "./../eer-network"); async function main() { // Ma...
var assert = require("assert"); module.exports = function(request, response){ var doneSsrCookies; function addCookies( doc ) { var cookieDef = (function () { var cookies = {}; // Give parsed cookie info to the request object so the ssr response // can 'Set-Cookie' as needed doneSsrCookies = coo...
const { Component, createElement } = require("react") const React = require("react") const autoBind = require("auto-bind") const interpretChildren = require("./functions/interpretChildren") const titleCase = require('./functions/titleCase') const allowedFormProps = ["onSubmit", "onError", "displayErrors", "displayErro...
/*! * nodeclient.js - node client for ldogejs * Copyright (c) 2014-2017, Christopher Jeffrey (MIT License). * https://github.com/bcoin-org/bcoin */ 'use strict'; const assert = require('bsert'); const AsyncEmitter = require('bevent'); /** * Node Client * @alias module:node.NodeClient */ class NodeClient exte...
/** * Test to make sure that range deleter deletions blocked on prepare conflicts do not prevent * stepdown from occuring. * * Layout: * 1. Shard a collection and split it into two chunks, both of which live on shard 0. * 2. Pause range deletion. * 3. Move one chunk from shard 0 to shard 1. * 4. In a transactio...
var searchData= [ ['run_116',['run',['../d4/d4c/classcom_1_1unity3d_1_1player_1_1_my_bluetooth_service_1_1_connect_thread.html#a25c155e36126bab65fa35c042130932c',1,'com.unity3d.player.MyBluetoothService.ConnectThread.run()'],['../de/dde/classcom_1_1unity3d_1_1player_1_1_my_bluetooth_service_1_1_connected_thread.html#...
import manifestInfos from "./infos.js"; import multiAdaptationSetsInfos from "./multi-AdaptationSets.js"; import notStartingAt0ManifestInfos from "./not_starting_at_0.js"; import streamEventsInfos from "./event-stream"; import segmentTemplateInheritanceASRep from "./segment_template_inheritance_as_rep"; import segmentT...
/* istanbul instrument in package npmdoc_grunt_prettify */ /*jslint bitwise: true, browser: true, maxerr: 8, maxlen: 96, node: true, nomen: true, regexp: true, stupid: true */ (function () { 'use strict'; var local; // run shared js-env code - init-before (function () ...
/** * * Tests for Initialize * * @see https://github.com/react-boilerplate/react-boilerplate/tree/master/docs/testing * */ import React from 'react' import { render } from 'react-testing-library' // import 'jest-dom/extend-expect'; // add some helpful assertions import Initialize from '../index' describe('<Ini...
var gutil = require('gulp-util'), less = require('gulp-less'), path = require('path'), jshint = require('gulp-jshint'), react = require('gulp-react'), webpack = require('webpack'), shell = require('gulp-shell'); function loadTemplate(template) { return this.fs.readFileSync(template).toStrin...
import React from 'react'; import styled from 'styled-components'; const TeamTable = styled.table` text-align: center; `; const TeamTableHeader = () => <thead> <tr> <th>MIN</th> <th>FGM/FGA</th> <th>FG%</th> <th>FTM/FTA</th> <th>FT%</th> <th>3PM</th> <th>REB</th> ...
describe('just checking', () => { it('has a dummy spec to test 2 + 2', () => { expect(2 + 2).toEqual(4); }); });
/** * Layout component that queries for data * with Gatsby's useStaticQuery component * * See: https://www.gatsbyjs.org/docs/use-static-query/ */ import React from "react" import styled from "styled-components" import PropTypes from "prop-types" import { useStaticQuery, graphql } from "gatsby" import Header from...
export const actionTypes = { setProfileFormUsername: 'SET_PROFILEFORM_USERNAME', setProfileFormState: 'SET_PROFILEFORM_STATE', setRoomFormName: 'SET_ROOMFORM_NAME', setRoomFormState: 'SET_ROOMFORM_STATE', createRoom: 'CREATE_ROOM', createRoomFulfilled: 'CREATE_ROOM_FULFILLED', createRoomRejected: 'CREATE_...
const Job = require("../models/Job.js"); const JobUtils = require("../utils/jobUtils.js"); const Profile = require("../models/Profile.js"); module.exports = { async save(req, res) { await Job.create({ name: req.body.name, "daily-hours": req.body["daily-hours"], "total-ho...
var isWorker = typeof window == "undefined" || !window.document; // Symbol polyfill for IE if (isWorker ? !self.Symbol : !window.Symbol) Symbol = function() { return Math.floor(Math.random() * Math.pow(10, 10)); }; //extended json var extendedJSON = (function() { var out = {}; out.specialObjec...
import { shallowMount, mount } from '@vue/test-utils'; import asyncUserDetails from './__mocks__/api.account.details.json'; import { defaultData, defaultPropsData, mockGet, setDesktopViewport, setMobileViewport } from './helpers/navigation'; import Navigation from '../Navigation.vue'; const $styl...
/* Tailwind - The Utility-First CSS Framework A project by Adam Wathan (@adamwathan), Jonathan Reinink (@reinink), David Hemphill (@davidhemphill) and Steve Schoger (@steveschoger). Welcome to the Tailwind config file. This is where you can customize Tailwind specifically for your project. Don't be intimidated by th...
/* * Copyright (c) 2014-2020 Bjoern Kimminich. * SPDX-License-Identifier: MIT */ const config = require('config') const utils = require('../../lib/utils') const pastebinLeakProduct = config.get('products').filter(product => product.keywordsForPastebinDataLeakChallenge)[0] describe('/#/contact', () => { let comme...
import app from '../../forum/app'; import Post from './Post'; import classList from '../../common/utils/classList'; import PostUser from './PostUser'; import PostMeta from './PostMeta'; import PostEdited from './PostEdited'; import EditPostComposer from './EditPostComposer'; import ItemList from '../../common/utils/Ite...
import React, { useEffect } from "react"; import { useLazyQuery } from "@apollo/react-hooks"; import CartItem from "../CartItem"; import Auth from "../../utils/auth"; import "./style.css"; // import { useStoreContext } from "../../utils/GlobalState"; import { TOGGLE_CART, ADD_MULTIPLE_TO_CART } from "../../utils/action...
var util = require('../../util'); var Component = require('./Component'); var TimeStep = require('../TimeStep'); var DateUtil = require('../DateUtil'); var moment = require('../../module/moment'); /** * A horizontal time axis * @param {{dom: Object, domProps: Object, emitter: Emitter, range: Range}} body * @param {...
/** * @license * Copyright The Closure Library Authors. * SPDX-License-Identifier: Apache-2.0 */ /** * @fileoverview A utility class for managing editable links. */ goog.provide('goog.editor.Link'); goog.require('goog.array'); goog.require('goog.dom'); goog.require('goog.dom.NodeType'); goog.require('goog.dom....
import React, { PropTypes } from 'react'; import DocumentTitle from 'react-document-title'; import Immutable from 'immutable'; import FontAwesome from 'react-fontawesome'; import { bindActionCreators } from 'redux'; import { connect } from 'react-redux'; import { Button, Modal, Pager } from 'react-bootstrap'; import P...
import Panel from '@admin/components/panel' import TeamToken from '@admin/tokens/team' import Manage from './manage' import React from 'react' const mapPropsToPanel = (props, context) => ({ title: 't(Teams)', collection: { endpoint: `/api/admin/platform/apps/${props.app.code}/teams`, table: [ { label...
const { Web3Shim, createInterfaceAdapter } = require("@truffle/interface-adapter"); const utils = require("../utils"); const execute = require("../execute"); const bootstrap = require("./bootstrap"); const debug = require("debug")("contract:contract:constructorMethods"); const OS = require("os"); module.exports = ...
webpackJsonp([0],{ /***/ 99: /***/ (function(module, exports, __webpack_require__) { "use strict"; var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.config...
/*! * AngularJS Material Design * https://github.com/angular/material * @license MIT * v1.1.17-master-1b37e82 */
/* * 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. */ export { FollowerIndexAdd } from './follower_index_add.container';
import React from 'react'; import ReactJson from 'react-json-view'; import './results.scss'; class Results extends React.Component { render() { return ( <div> <legend>Results</legend> <p>url: {this.props.url}</p> <p>method: {this.props.method}</p>...
const { deviceType } = require('./constants') const { drainMessageObject: sendAwsSns } = require('../awsSNS') const { sendBrowserNotification, sendSafariNotification } = require('../webPush') // TODO (DM) - move this into redis const pushNotificationQueue = { PUSH_NOTIFICATIONS_BUFFER: [], PUSH_ANNOUNCEMENTS_BUFFE...
export default function(node) { return node && typeof node === 'object' && node.nodeType === 1 && typeof node.nodeName === 'string' }
var searchData= [ ['keepbest',['keepBest',['../d2/d02/classmarian_1_1AccuracyValidator.html#a163ff7773c7cab8b92e83aaffdb50c4d',1,'marian::AccuracyValidator::keepBest()'],['../de/da1/classmarian_1_1Validator.html#ab70989b9c6aef7dc0d0655fd066e7fa9',1,'marian::Validator::keepBest()'],['../d9/dde/classmarian_1_1CrossEntr...
export default function ({store, redirect}) { if (store.getters['auth/authenticated']) { return redirect ('/'); } }
module.exports = { root: true, env: { node: true }, 'extends': [ 'plugin:vue/strongly-recommended', '@vue/standard' ], rules: { 'no-console': 'off', 'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off', 'generator-star-spacing': 'off', 'no-mixed-operators': 0, ...
/** @jsx jsx */ import { jsx } from "theme-ui" import { Link } from "gatsby" import { RiArrowDownLine, RiArrowRightSLine } from "react-icons/ri" import PostCard from "./section-card" export default function BlogListHome(props) { const data = props.data const posts = data.edges .filter(edge => !!edge.node.fron...
import { Key } from '../../types.js'; import React$1, { useState, useRef, useEffect, useCallback } from 'react'; import { useUniqueId } from '../../utilities/unique-id/hooks.js'; import { findFirstFocusableNode } from '../../utilities/focus.js'; import { Portal as Portal$1 } from '../Portal/Portal.js'; import { useTogg...
/* * 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...
module.exports = { get Router() { return require('./dist/Router').Router; }, get createGenericScreen() { return require('./dist/screens/GenericScreen').createGenericScreen; }, get createTabScreen() { return require('./dist/screens/TabScreen').createTabScreen; }, };
/*! * jQuery JavaScript Library v1.10.1 * http://jquery.com/ * * Includes Sizzle.js * http://sizzlejs.com/ * * Copyright 2005, 2013 jQuery Foundation, Inc. and other contributors * Released under the MIT license * http://jquery.org/license * * Date: 2013-05-30T21:49Z */ (function( window, undefined ) { // ...
import { module, skip /* test */ } from 'qunit'; import { setupTest } from 'ember-qunit'; module('Unit | Route | admin/error-log', function(hooks) { setupTest(hooks); skip('it exists', function(assert) { let route = this.owner.lookup('route:admin/error-log'); assert.ok(route); }); });
/** * @overview ccm component for SVG Editor called draw_svg * @link https://github.com/santanubiswas948/draw-svg * @author Manfred Kaul <manfred.kaul@h-brs.de> 2018 * @license The MIT License (MIT) * @version latest (1.0.0) * @changes * version 1.0.0 26.12.2018 initial build * TODO: unit tests * TODO: builder...
class Organization { constructor(name, budget) { this.name = name; this.budget = budget; this.employees = []; this.departments = { marketing: this.budget * 0.4, finance: this.budget * 0.25, production: this.budget * 0.35, }; } get ...
// THIS FILE IS AUTO GENERATED import { GenIcon } from '../lib'; export function GiLoincloth (props) { return GenIcon({"tag":"svg","attr":{"viewBox":"0 0 512 512"},"child":[{"tag":"path","attr":{"d":"M118.486 25l-26 78h29.028l26-78zM256 25c-10.926 0-25.17 4.748-36.14 12.404-10.97 7.656-18.208 17.732-18.883 27.235-.8 ...
angular .module('altairApp') .controller('logoutCtrl', [ '$scope', 'dataservice','$http','toastr','$state', function ($scope,dataservice,$http,toastr,$state) { $http.post(dataservice.base_url()+'do-logout') .then(function(response){ $htt...
/** * */ function clearChildSelect(childSelector) { $(childSelector).empty(); } function loadDistrictsSelect(stateSelector, toElement) { debugger; if (jQuery(toElement).attr('data-loaded') == 'true') { } else if (jQuery(toElement).attr('data-loaded') == 'false') { var url = 'static/state/' + $(stateSele...
/*! Copyright (c) 2017 Jed Watson. Licensed under the MIT License (MIT), see http://jedwatson.github.io/classnames
mergeInto(LibraryManager.library, { $SOCKFS__postset: '__ATINIT__.push(function() { SOCKFS.root = FS.mount(SOCKFS, {}, null); });', $SOCKFS__deps: ['$FS'], $SOCKFS: { mount: function(mount) { // If Module['websocket'] has already been defined (e.g. for configuring // the subprotocol/url) use that,...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports["default"] = void 0; var _createIcon = _interopRequireDefault(require("../util/createIcon")); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; } var _default = (0, _createIcon["defau...
//Dance Party Code var character_name = "hef_1.png" var hef = json.hef; var timer_1 = null; // Old Character Animation function startAnimationOne(animationName){ var timer = null; var counter = 0; var fps = 50; var timeout_timer = 0; var timeout_timer_end = 265; // 20 counts = 1s var anim = ...
const fs = require('fs') const path = require('path') const { promisify } = require('util') const xml2json = require('xml2json') const readFile = promisify(fs.readFile) const getPercentage = (covered = 0, total = 0) => (covered / total) * 100 || 0 ;(async () => { const coveragePath = path.resolve(__dirname, '../co...
import {useEffect, useState} from 'react'; import { window } from "browser-monads"; export const useDarkMode = () => { const [theme, setTheme] = useState('default'); const [mountedComponent, setMountedComponent] = useState(false); const setMode = mode => { window.localStorage.setItem('theme', mode...
const function880 = function (t, e, i) { "use strict"; var n = this && this.__extends || function () { var t = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function (t, e) { t.__proto__ = e } || function (t, e) { for (var i in...
'use strict'; /** * GraphQL.js service * * @description: A set of functions similar to controller's actions to avoid code duplication. */ const _ = require('lodash'); const pluralize = require('pluralize'); const Aggregator = require('./Aggregator'); const Query = require('./Query.js'); const Mutation = require('...
import PropTypes from 'prop-types' import React, { Component } from 'react' import Item from './Item' // import ItemGroup from './ItemGroup' import { _get, arraysEqual, keyBy } from '../utils' const canResizeLeft = (item, canResize) => { const value = _get(item, 'canResize') !== undefined ? _get(item, 'canResize') ...
const { authenticate } = require('@feathersjs/authentication').hooks; const checkPermissions = require('feathers-permissions'); const { calculateEmotionScore } = require('../serviceUtils/calculateEmotionScore'); const { calculateRatingScore } = require('../serviceUtils/calculateRatingScore'); const { mapToObject } = re...
importScripts('./post-me.umd.js'); const PostMe = self['post-me']; const methods = { sum: (x, y) => x + y, mul: (x, y) => x * y, }; PostMe.ChildHandshake(methods, '*', self).then((_connection) => { console.log('Worker successfully connected'); });
var currentSelection = null; var currentResult = null; var useSolutionExplorer = /*USE_SOLUTION_EXPLORER*/true/*USE_SOLUTION_EXPLORER*/; var anchorSplitChar = ","; var externalUrlMap = [ /*EXTERNAL_URL_MAP*/"https://referencesource.microsoft.com/", "http://sourceroslyn.io/"/*EXTERNAL_URL_MAP*/ ]; var supportedFi...
import React from "react"; import useTitle from "../../hooks/useTitle"; import AuthLayout from "../../layouts/AuthLayout"; import Signup from "../../components/authComponent/Signup"; export default function SignupView() { useTitle("Реєстрація"); return ( <AuthLayout> <Signup /> </AuthLayout> ); }
//// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF //// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO //// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A //// PARTICULAR PURPOSE. //// //// Copyright (c) Microsoft Corporation. All rights reserved (function () {...
import { Operation } from '../../waychaser' /** * @param {object} action the siren action to map * * @returns {object} the link objection that the @{param action} maps to */ export function mapSirenActionToOperation (action) { const { name, href, fields, type, ...otherProperties } = action const bodyParameters...
const express = require('express'); const router = express.Router(); const Sequelize = require('sequelize'); const db = require('../db/dbconnection'); const unmatchedSuppliers = require('../models/unmatched_suppliers'); router.get('/priorityList', (req, res) => { db.query('select * from supplier_priority_list').th...
const config = require('config') const passport = require('passport') const GitHubStrategy = require('passport-github').Strategy function githubAuth(req, res, next) { if (!config.get('verifyGithubAccount')) { return next() } passport.serializeUser(function(user, done) { done(null, user) }) passport...
jQuery(document).ready(function () { initCustomForms(); initButtonHover(); clearInputs(); ieHover(".add-nav ul li, .gallery .box ul li"); initZoomList(); initZoomList2(); initSlide(); initProgressBar(); initLightBox(); initStep(); initTabs(); initSingleTab(); }); function...
const BaseController = require('../modules/BaseController'); const MODULE_KEY = 'manager'; const { Op } = require('sequelize'); class ManagerController extends BaseController { init () { this.MODULE_KEY = MODULE_KEY; this.setEntity(this.ctx.model.SysManager); } info () { this.ctx.resBody({ result: t...
export default { master: [ { name: 'link世界', route: 'all' }, { name: '我的收藏', route: 'collection' }, { name: '设置', route: 'setting' }, { name: '更多', subTabs: [ { name: '直播回放', route: 'replay' }, { ...
console.log("@hover-design/react Package Init");
import { SlQrCode } from "./chunk.2VJ4CLSP.js"; // src/react/qr-code/index.ts import * as React from "react"; import { createComponent } from "@lit-labs/react"; var qr_code_default = createComponent(React, "sl-qr-code", SlQrCode, {}); export { qr_code_default };
CLAZZ("projects.sprite.filters.Perlin", { seed: 0, contrast: 1, iterations: 0, greyscale:"Yes", mode:"gpu", meta:{ seed : { int:{ min:0, max:0xFFFFFFFF, nonlinear:true} }, contrast : { int:{ min:1, max:20 } }, iterations : { dynamic:true }, greyscale : { select:[...
import {BaseWorker, MasterOnly, WorkerOnly} from './BaseWorker'; export class DedicatedWorker extends BaseWorker { } export {BaseWorker, MasterOnly,WorkerOnly}
var $successBox, $errorBox, $warningBox, successBoxTimeout, errorBoxTimeout; var LOADER_DELAY = 200; function redirect(url, timeout) { if (!timeout) { timeout = 1; } setTimeout(function() { window.document.location = url; } , timeout); } function addValueToHiddenElement(element) { ...
angular.module('ukebook') .controller('UploadControlCtrl', function($scope, upload){ $scope.$watch('songId', function(songId) { this.uploader = songId ? upload.createUploader(songId, null) : null; }.bind(this)); });
const test = require('../../src/test.js') const RLPInt = require('../../src/utils/RLPInt.js') const b = (value) => new Uint8Array(value) test('RLP Encode Integer', t => { t.plan(8) t.deepEqual(RLPInt(0), b([0])) t.deepEqual(RLPInt(1), b([1])) t.deepEqual(RLPInt(127), b([127])) t.deepEqual(RLPInt(1...