text
stringlengths
2
1.04M
import { stockData } from '../utils/_DATA' import { fetchDecks, saveAllDecks, saveDeckTitle, saveCardToDeck, removeDeck } from '../utils/api' export const GET_DECKS = 'GET_DECKS' export const ADD_DECK_TITLE = 'ADD_DECK_TITLE' export const ADD_CARD_TO_DECK = 'ADD_CARD_TO_DECK' export const DELETE_DECK = 'DE...
/* * /MathJax/localization/ca/FontWarnings.js * * Copyright (c) 2009-2018 The MathJax Consortium * * 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/l...
export const HIDE_CART = 'HIDE_CART'; export const SHOW_CART = 'SHOW_CART'; export const SAVE_CART = 'SAVE_CART'; export function hideCart() { return { type: HIDE_CART }; } export function showCart() { return { type: SHOW_CART }; } export function saveCart(options) { return { type: SAVE_CART, ...
// Copyright (c) Microsoft Corporation and others. Licensed under the MIT license. // SPDX-License-Identifier: MIT const EntityCoordinates = require('./entityCoordinates') class ResultCoordinates { static fromString(path) { path = path.startsWith('/') ? path.slice(1) : path const [type, provider, namespaceS...
/** * @license Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/license */ /** * This file was added automatically by CKEditor builder. * You may re-use it at any time to build CKEditor again. * * If you would like to build CKEd...
const express = require('express'); const path = require('path'); const currencyApi = require('./routes/currencyApi'); const userRouter = require('./routes/user'); const cors = require('cors'); const currencyController = require('./controllers/currencyController'); const dotenv = require('dotenv'); dotenv.config({path:...
/* @flow */ export * from './tracking'; export * from './logo';
import { Route, Routes } from 'react-router-dom'; import './App.css'; import React from 'react'; import AddUserPage from './component/user/adduser/AddUserPage'; import HomePage from './component/home/HomePage'; class App extends React.Component { render() { return ( <div className="App"> <Rou...
'use strict'; const test = require('ava'); const util = require('./util'); /** * Sample ES6 class, with the constructor not listed first and other * tricky functions. */ class Es6Class { deconstructor(wrong) { return wrong; } constructor(right, correct) { return right + correct; } ...
import Header from '../components/Header.js'; import Footer from '../components/Footer.js'; import { parseISO, format } from 'date-fns'; import Head from 'next/head'; export default function BlogLayout({ children, frontMatter }) { const blogLink = 'https://github.com/envisionnew/envisionnew.org/edit/main/data/bl...
import getSourceInfo from './get_source_info' import println from './println' const raiseError = (errorText, errorObject) => { const errorSource = typeof errorObject !== 'undefined' ? getSourceInfo(errorObject) : '' println.error('Error: ', errorText, ' ', errorSource) process.exit(1) } export default raise...
import HP from './modules/helpers'; (function($) { // When DOM is ready $(function() { }); }(jQuery)); $(function() { $('.same-height').matchHeight(); });
// All material copyright ESRI, All Rights Reserved, unless otherwise specified. // See http://js.arcgis.com/3.15/esri/copyright.txt and http://www.arcgis.com/apps/webappbuilder/copyright.txt for details. //>>built define({"widgets/Summary/nls/strings":{_widgetLabel:"Sammanfattning",filter:"Filter",all:"Alla",missingLa...
module.exports = { roots: ['<rootDir>/src', '<rootDir>/tests'], setupFiles: ['<rootDir>/jsdomJestSetupFile.js'], transform: { '^.+\\.tsx?$': 'ts-jest', }, testRegex: '(/__tests__/.*|(\\.|/)(test|spec))\\.tsx?$', moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'json', 'node'], }
/* ***** BEGIN LICENSE BLOCK ***** * Distributed under the BSD license: * * Copyright (c) 2010, Ajax.org B.V. * 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 sou...
import React from 'react' import { graphql } from 'gatsby' import get from 'lodash/get' import SEO from '../components/seo' import Hero from '../components/hero' import Layout from '../components/layout' import Footer from '../components/footer' const NotFoundPage = (data) => ( <Layout> <SEO title={get(this, 'da...
import { createApp } from 'vue' import axios from 'axios' import DKToast from 'vue-dk-toast' import App from './App.vue' import router from './router' import store from './store' import './registerServiceWorker' // Import bootstrap, Popper and jquery window.$ = window.jQuery = require('jquery') require('bootstrap/dist...
// This is not included in the compiled otre client file. if (testdata === undefined) var testdata = {}; testdata.sgfs = { descriptionTest: "(;GM[1]C[Try these Problems out!])", base: "(;GM[1]FF[4]CA[UTF-8]AP[CGoban:3]ST[2]\n" + "RU[Japanese]SZ[19]KM[0.00]\n" + "PW[White]PB[Black])", escapedComment:...
// eslint-disable-next-line @typescript-eslint/no-var-requires const slug = require('slug'); // eslint-disable-next-line @typescript-eslint/no-var-requires const path = require('path'); require('dotenv').config({ path: `.env.${process.env.NODE_ENV}`, }); exports.createPages = async ({ actions, graphql, reporter })...
function change() { var user = document.getElementById('username').value; var pass = document.getElementById('password').value; if (user != '' && pass != '') { localStorage.setItem('cas_usr', user); localStorage.setItem('cas_pwd', pass); document.getElementById('ok').setAttribute('st...
/** * GET /analysis * List all analysis. */ const analysis = require('../models/Analysis.js'); exports.getAnalysis = (req, res) => { res.render('Analysis', { title: 'analysis' }); };
var typedoc = typedoc || {}; typedoc.search = typedoc.search || {};
import React from "react"; import moment from "moment"; import { useDispatch } from "react-redux"; import { activeNote } from "../../actions/notes"; export const DiarioEntry = ({ id, date, title, body, url }) => { const noteDate = moment(date); const dispatch = useDispatch(); const handleEntryClick = () => { ...
(function() { Danbooru.meta = function(key) { return $("meta[name=" + key + "]").attr("content"); } Danbooru.scrolling = false; Danbooru.scroll_to = function(element) { if (Danbooru.scrolling) { return; } else { Danbooru.scrolling = true; } var top = null; if (typeof(eleme...
export * from './BounceIn' export * from './BounceOut'
import { withRouter } from 'react-router-dom'; import React, { Component } from 'react'; import axios from 'axios'; import { Table, Modal, Button, Row, Form, Col, InputGroup, FormControl } from 'react-bootstrap'; class StudentInfo extends Component { state = { userinfo: null, active: null, ...
(function(e,t){if(typeof define==="function"&&define.amd){define(["jquery"],function(e){return t(e)})}else if(typeof module==="object"&&module.exports){module.exports=t(require("jquery"))}else{t(e["jQuery"])}})(this,function(e){(function(e){e.fn.selectpicker.defaults={noneSelectedText:"Ничего не выбрано",noneResultsTex...
#!/usr/bin/env node const yargs = require('yargs/yargs'); const { hideBin } = require('yargs/helpers'); const fs = require('fs'); const oldify = require('./index.js'); const settings = fs.existsSync('.oldifyrc') && JSON.parse(fs.readFileSync('.oldifyrc')); const { bold, parse, _ } = yargs(hideBin(process.argv)).argv;...
import React from 'react'; import classnames from 'classnames'; import RCTooltip from 'rc-tooltip'; const Overlay = (text) => <span>{text}</span>; export const Tooltip = ({ children, text, className, ...rest }) => { return ( <RCTooltip {...rest} overlayClassName={classnames('holla-tooltip', className)} ov...
import {localeModule, test} from '../qunit'; import moment from '../../moment'; localeModule('si'); /*jshint -W100*/ test('parse', function (assert) { var tests = 'ජනවාරි ජන_පෙබරවාරි පෙබ_මාර්තු මාර්_අප්‍රේල් අප්_මැයි මැයි_ජූනි ජූනි_ජූලි ජූලි_අගෝස්තු අගෝ_සැප්තැම්බර් සැප්_ඔක්තෝබර් ඔක්_නොවැම්බර් නොවැ_දෙසැම්බර් දෙසැ'....
var AppConstants = require('../../constants/AppConstants'); var MongoDB = require('../../db/mongodb'); var InfluxDB = require('../../db/influxdb'); var Helpers = require('../../common/Helpers'); var {ObjectId} = require('mongodb'); function AlertApi(){}; AlertApi.prototype.handleAlertData = function(req, res) { v...
let roomLogic = { init: require('./roomMemory'), spawning: require('./spawner'), towerLogic: require('./tower'), setCreepNumber: require('./creepNumber'), } module.exports = roomLogic;
import strip from 'strip'; import sanitizeHtml from 'sanitize-html'; import entities from 'entities'; import moment from 'moment'; import request from 'request'; import normalize from 'normalize-url'; import FeedParser from 'feedparser'; import zlib from 'zlib'; import podcastParser from './podcast_parser_sax'; import...
(function(StorageHelper, Logger, ChromeHelper, Spotify, Shazam, Tags){ var UpdateService = { update: function(initVersionTxt, finalVersionTxt) { // Block tags update while updating extention s2s.updatingApp = true; var initVersionParts = initVersionTxt.split('.'); var finalVersionParts = fin...
import './TaxonomyDetails.scss' import * as A from '@core/arena' import React from 'react' import PropTypes from 'prop-types' import { useHistory } from 'react-router' import * as R from 'ramda' import * as Taxonomy from '@core/survey/taxonomy' import { useI18n } from '@webapp/store/system' import { useSurveyId } ...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var AbstractIterator = /** @class */ (function () { function AbstractIterator() { } AbstractIterator.prototype[Symbol.iterator] = function () { return this; }; return AbstractIterator; }()); exports.AbstractIterator...
'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 React from "react"; import PropTypes from "prop-types"; import "./Button.scss"; const Button = ({ label, panelActive, theme, ...props }) => ( <button style={{ backgroundColor: !panelActive ? theme.btnBack || "darkcyan" : "darkgray", }} className={`noti-btn noti-btn-${panelActive ? "active" ...
import React from "react"; import Svg, { Path } from "react-native-svg"; const SvgIop = props => ( <Svg fill="none" {...props}> <Path d="M12 24c6.627 0 12-5.373 12-12S18.627 0 12 0 0 5.373 0 12s5.373 12 12 12z" fill="#4CB8D1" /> <Path fillRule="evenodd" clipRule="evenodd" d=...
import './DesktopTabComponent.html'; export default class DesktopTabComponent { constructor() {} tabpanelReady = (event) => { this.tabpanelCmp = event.detail.cmp; this.tabpanelCmp.setTabBar({ layout: { pack: 'left' } }); } }
import request from '@/utils/request' export function fetchList(data) { return request({ url: '/api/article/list', method: 'post', data }) } export function fetchArticle(data) { return request({ url: '/api/article/'+ data, method: 'get' }) } export function addArticle(data) { ...
const fixed = bgColor => ({ height: '100%', backgroundColor: bgColor, position: 'fixed', zIndex: 1, top: 0, left: 0 }) const blendStyles = (style1, style2) => Object.assign(style1, style2)
import React, {Fragment} from "react"; import { Link } from "react-router-dom"; const HistoryList = (props) => { const histories = props.data; const historyList = histories.map((history) => <Fragment key={history.id.toString()}> <tr> <td>{history.id}</td> <td>{history.name}</td> <td>{hi...
module.exports = { rules: { // enforce or disallow variable initializations at definition 'init-declarations': 'off', // disallow the catch clause parameter name being the same as a variable in the outer scope 'no-catch-shadow': 'error', // disallow deletion of variables ...
import { connect } from "react-redux"; import * as ActionTypes from 'constants/actionTypes' // import { LinkContainer } from "react-router-bootstrap"; import * as ReactBootstrap from 'react-bootstrap'; class NotifyBar extends React.Component { constructor(props) { super(props) this.state = { isToggleOn...
const key = 'chats'; const dispatchAddChats = (dispatch, object = {}) => { object.addChats = chats => { dispatch({ type: 'CREATE', key: key, chats: chats }); }; return object; }; export {dispatchAddChats};
$(document).on("click", "#save_profile", function(e) { e.preventDefault(); var user_id = $(this).val(); var email = $(this).parent().parent().parent().children('div.panel-body').children().children().children() .children().children().children().children('#user_email').val(); var telegram_id = ...
/** * @license Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ CKEDITOR.plugins.setLang( 'a11yhelp', 'fr', { title: 'Instructions d\'accessibilité', contents: 'Contenu de l\'aide. Pour fermer cette f...
import { firebaseAction } from 'vuexfire' import { db } from '@/store/utils/firestore' export default { namespaced: true, state: { pending: [] }, getters: { pendingUsers: state => state.pending .filter(user => user.pendingRoles || user.pendingDepartment) }, mutations: { }, actions: ...
angular .module("music-id", [ "ui.router", "ngResource" ]) .config([ "$locationProvider", "$stateProvider", Router ]) .factory("User", [ "$location", "$resource", User ]) .controller("LogIn", [ "$scope", "$http", LogInControllerFunction ]) .controller("UserShow", [ "$scope", "$http", "$state...
function Main(input) { let num = Number(input[0]); let result = num % 2 == 0 ? "even" : "odd"; console.log(result); }
/* * Copyright (c) Microsoft Corporation. * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. /** * This sa...
'use strict'; angular.module('calcentral.directives').directive('ccAcademicPlansDirective', [function() { return { templateUrl: 'directives/academic_plans.html', scope: { plans: '=', options: '=', type: '@' } }; }]);
// @flow import React, { Component } from 'react'; import styled from 'styled-components'; import getColor from '../config/colors'; import { getTypography, baseStep } from '../config/style-constants'; import { GENERAL_INFO, PLASMA_VIEW, LIVE_VIEW } from '../actions/mainFrameHeader'; const headerTabs = [ { ...
/* global jest test expect */ const execCommand = require('./execCommand') const childProcess = require('child_process') const path = require('path') const getConfig = require('./getConfig') jest.mock('child_process') jest.mock('./getConfig') const mockCommand = 'command 1' const mockEnv = { MOCK_ENV_1: 'mock value ...
const path = require('path'); const os = require('os'); const lernaPublish = require('@lerna/publish'); const opts = { yes: Boolean(process.env.CI), // 自动升级版本 conventionalCommits: true, message: 'chore(release): publish %s', push: false, includeMergedTags: true, preDistTag: 'alpha', distTag: 'latest', ...
var a00350 = [ [ "ParamsTrainingHypothesis", "a02550.html", "a02550" ], [ "ParamsTrainingBundle", "a02554.html", "a02554" ], [ "ParamsTrainingHypothesisList", "a00350.html#a008f78a2d77f64f92e6bd4329409f860", null ], [ "kParamsTrainingFeatureType", "a00350.html#a996f57000ba7e945e304ca3a5268b467", [ ...
import React from 'react'; const IconLogo = () => ( <svg width="17.5" height="35.6" viewBox="0 0 17.5 35.6" xmlns="http://www.w3.org/2000/svg"> <g id="svgGroup" strokeLinecap="round" fillRule="evenodd" fontSize="9pt" stroke="#000" strokeWidth="0.25mm" fill="#64FFDA"> ...
/* * * YCodaSlider 3.0 * @requires jQuery v1.3.2 * * Copyright (c) 2008 Massimiliano Balestrieri * Examples and docs at: http://maxb.net/blog/ * Licensed GPL licenses: * http://www.gnu.org/licenses/gpl.html * * Based on Gian Carlo Mingati's slideViewer * http://www.gcmingati.net/wordpress/wp-content/lab/jq...
/* global require,module,console */ //TODO 支持行内样式 'use strict'; var cheerio = require('cheerio'); var utils = require('./utils'); var Resource = require('./resource'); var Promise = require('./promise'); var VError = require('verror'); function HtmlParser (resource) { if (resource instanceof Promise) { ...
import React from 'react' import { storiesOf } from '@storybook/react' import { Slider } from 'components' storiesOf('Slider', module) .add('default', () => ( <Slider /> )) .add('reverse', () => ( <Slider reverse min={0} max={10} step={0.05} defaultValue={5} /> )) .add('disabled', () => ( <Slider...
import wofftwo from '../wofftwo.js'; import wofftwo2Module from '../wofftwo.wasm'; const module = wofftwo({ locateFile(path) { if (path.endsWith('.wasm')) { return wofftwo2Module; } return path; } }); const convertFromVecToUint8arr=(vec)=>{ let ttfarr = [] for (let ...
import React, { useState } from 'react'; import { API } from '../../utils/API'; function AccountUpdateContent(props) { const [updateUserData, setUpdateUserData] = useState({}); function handleChange(e) { e.preventDefault(); const { name, value } = e.target; setUpdateUserData({ ...updateUserData, [name]...
define( [ 'jquery', 'underscore', 'backbone', 'module', 'uri/route', 'splunk.i18n', 'splunk.util', 'models/services/licenser/License', 'views/shared/Modal', 'views/licensing/dialogs/Results', 'contrib/text!views/licensing/dialog...
/** * @private */ Ext.define('Ext.fx.animation.Flip', { extend: 'Ext.fx.animation.Abstract', alias: 'animation.flip', config: { easing: 'ease-in', /** * @cfg {String} direction The direction of which the slide animates * @accessor */ direction: 'right'...
import React from "react"; import { Link } from "react-router-dom"; import axios from "axios"; export default function Task({ taskName, taskId, refetch }) { function handleDelete(e) { axios .delete(`http://localhost:8000/api/tasks/delete/${taskId}`) .then((res) => refetch()) ...
$('.js-menu-toggle').click(function(){ $('.mobile-menu').toggleClass('is-active'); $('html').toggleClass('nav-open'); });
'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); var prefix = 'fab'; var iconName = 'cc-amex'; var width = 576; var height = 512; var ligatures = []; var unicode = 'f1f3'; exports.definition = { prefix: prefix, iconName: iconName, icon: [ width, height, ligature...
YUI.add('yui2-yahoo', function(Y) { Y.use('yui2-yuiloader'); }, '3.3.0' ,{}); YUI.add('yui2-get', function(Y) { Y.use('yui2-yuiloader'); }, '3.3.0' ,{"requires": ["yui2-yahoo"]}); YUI.add('yui2-yuiloader', function(Y) { /* Copyright (c) 2011, Yahoo! Inc. All rights reserved. Code licensed under the BSD License: htt...
var express = require('express'); var router = express.Router(); // 载入中间件 const { signup, list, remove, signin } = require("../controllers/users") const {auth} = require("../middlewares/auth") // 获取数据 router.get("/", auth, list) router.delete("/", remove) // 登陆注册 router.post('/', signup); router.post("/signin", sig...
const buildAssetsIndex = require('./buildAssetsIndex'); const createLockFile = require('./createLockFile'); const writeLockFile = require('./writeLockFile'); const createAssetsWatcher = require('./createAssetsWatcher'); const watchAssetsIndex = require('./watchAssetsIndex'); module.exports = { buildAssetsIndex, crea...
import React, { Component } from "react"; import { Item } from "semantic-ui-react"; class MovieList extends Component { data = { Movie: [ { movieId: "1", title: "Toy Story", year: 1995, imdbRating: 8.3, plot: "A cowboy doll is profoundly threatened and jeal...
const { ethers } = require("hardhat"); const { use, expect } = require("chai"); const { solidity } = require("ethereum-waffle"); const fs = require("fs"); const { utils } = require("ethers"); use(solidity); describe("My Dapp", function () { let myContract; describe("YourContract", function () { it("Should de...
"use strict"; // THIS CODE WAS AUTOMATICALLY GENERATED // DO NOT EDIT THIS CODE BY HAND // YOU CAN REGENERATE IT USING yarn generate:lib Object.defineProperty(exports, "__esModule", { value: true }); exports.es2015_proxy = void 0; exports.es2015_proxy = { ProxyHandler: { eslintImplicitGlobalSetting: 'readon...
// 10 正则表达式匹配 // https://leetcode-cn.com/problems/regular-expression-matching/ // 筛选无模式和有模式 // 无模式mi 一一对比 // 有模式 s*, .*,[a-z]*, // ([a-z.]\*)|([a-z]+(?=([a-z.]\*|$))) // 最简单用js的正则表达式解决 var isMatch = (s,p) => { var reg = new RegExp(`^${p}$`) return reg.test(s) } console.log(isMatch('aa','.*'))
"use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _createSvgIcon = _interopRequireDefault(require("./utils/createSvgIcon")); var _jsxRuntime = require("react/jsx-runtime")...
import { cloneDeep } from "./utils/helpers"; /* * NOTE: All ends for ranges are EXCLUSIVE */ const clamp = (num, min, max) => Math.max(Math.min(num, max), min); export default class Note { constructor(start, end, id, meta = {}) { this.start = start; this.end = end; this.id = id; this.meta = meta;...
'use strict'; /** * @ignore * @suppress {duplicate} */ var util = require('util'); /** * @ignore * @suppress {duplicate} */ var path = require('path'); /** * @ignore * @suppress {duplicate} */ var mockFs = require('mock-fs'); /** * @ignore * @suppress {duplicate} */ var Q = require('q'); /** * @ignore...
var count = 1; $(document).ready(function() { var b = $(".bottom-arrow"); var u = $(".up-arrow"); b.click(function(e) { if ($(".slide" + (+count + 1)).length) { count++; goToByScroll("slide" + count); b.html('<span class="arrow-bounce">&#x25BC;</span>'); u.html('<span class="arrow-bounc...
var searchData= [ ['kid_5fgps_6252',['KID_GPS',['../classc_data_k_m_l.html#a5bfd4435af1c6599b6c02c5b6ccf978fa20ea809ea06525ff0f660736a8e2a395',1,'cDataKML']]], ['kid_5fgps1_6253',['KID_GPS1',['../classc_data_k_m_l.html#a5bfd4435af1c6599b6c02c5b6ccf978fa4e680373d381e5166600bea55a72fac0',1,'cDataKML']]], ['kid_5fgp...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var _lodashEs = require("lodash-es"); var _assessment = require("../../assessment"); var _assessment2 = _interopRequireDefault(_assessment); var _inRange = require("../../helpers/inRange.js"); var _shortlinker = require("../../helpers/s...
/* Copyright 2020 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 or agreed to ...
/* * The MIT License (MIT) * * Copyright (c) 2015 - present Instructure, Inc. * * 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 ri...
// Components import VOverlay from '../../components/VOverlay'; // Utilities import { keyCodes, addOnceEventListener, addPassiveEventListener, getZIndex, composedPath } from '../../util/helpers'; // Types import Vue from 'vue'; /* @vue/component */ export default Vue.extend().extend({ name: 'overlayable', props:...
/* eslint dot-notation:0, quote-props:0 */ import * as utils from '../src/utils.js'; import { registerBidder } from '../src/adapters/bidderFactory.js'; import { Renderer } from '../src/Renderer.js'; const NATIVE_DEFAULTS = { TITLE_LEN: 100, DESCR_LEN: 200, SPONSORED_BY_LEN: 50, IMG_MIN: 150, ICON_MIN: 50, };...
'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); var vue = require('vue'); var shared = require('@vue/shared'); var vnode = require('../../../utils/vnode.js'); var util = require('../../../utils/util.js'); var props = require('../../../utils/props.js'); require('./item.js'); var useSpace =...
import { ALLOWED_BOARD_COLORS, ALLOWED_COLORS, TYPE_BOARD, TYPE_TEMPLATE_BOARD, TYPE_TEMPLATE_CONTAINER, } from '/config/const'; const escapeForRegex = require('escape-string-regexp'); Boards = new Mongo.Collection('boards'); /** * This is a Board. */ Boards.attachSchema( new SimpleSchema({ title: {...
/* This test is covered by the clone command test, as they work together. */
import React,{Component} from "react" import styled from "styled-components" import AniLink from "gatsby-plugin-transition-link/AniLink"; import HeroImage from "./low-level/heroImage" import DevImage from "./low-level/devHero"; import ProdImage from "./low-level/prodHero"; import Product from "../images/Prod_Graphic.pn...
import './account.scss';
var gulp = require('gulp'); var connect = require('gulp-connect'); var jshint = require('gulp-jshint'); var qunit = require('gulp-qunit'); gulp.task('webserver', function() { connect.server(); }); gulp.task('jshint', function() { return gulp.src('scripts/**/*.js') .pipe(jshint()) .pipe(jshint.r...
var app = (function () { 'use strict' function t() {} function e(t) { return t() } function n() { return Object.create(null) } function o(t) { t.forEach(e) } function r(t) { return 'function' == typeof t } function l(t, e) { return t != t ? e == e : t !== e || (t &&...
// DOM: <video id="video-bg" class="video-bg" poster=""/> var selectBG; var videoBG; var videoRetryHandler; var isLoopPlay; const posterBG = "/assets/images/bg_reclaim_hong_kong.jpg"; $(document).ready(function () { selectBG = document.getElementById("select-video-bg"); videoBG = document.getElementById("video-bg...
const { Map } = require('immutable') // Returns a random number from the geometric distribution with p = 0.75. // That is, returns k with probability p * (1 - p)^(k - 1). // For example, returns 1 with probability 3/4, returns 2 with probability 3/16, // returns 3 with probability 3/64, and so on. function* randomLeve...
'use strict'; var expect = require('must'); require('../../testutil/configureForTest'); var Renderer = require('simple-configure').get('beans').get('renderer'); describe('Renderer', function () { describe('should render bracket tags', function () { it('1', function () { var text = 'a [[Foo]] b'; ex...
/** * Created by aa on 10 December 2016. */ with (Math) { for (i in c) { c[i[x = m = n = k = 0] + (i[6] || '')] = c[i] } for (W = a.width, H = a.height, f = ['#F52616', '#9317A8', '#188FEC', '#4BCB50', '#FF8800'], d = min(W, H) / 7, L = W / 2 - d * 3 + d / 2, ...
import { createApp } from "vue"; import router from "./router"; import store from "@/store"; import App from "./App"; import BaseCard from "@/components/ui/BaseCard"; import BaseButton from "@/components/ui/BaseButton"; import BaseBadge from "@/components/ui/BaseBadge"; const app = createApp(App); app.use(router); a...
var callbackArguments = []; var argument1 = function() { callbackArguments.push(arguments) return 5; }; var argument2 = null; var argument3 = function() { callbackArguments.push(arguments) return 34.55148283400502; }; var argument4 = r_0; var argument5 = function() { callbackArguments.push(arguments) return 63...
import { Str } from "https://code4fukui.github.io/mojikiban/Str.js"; import { ArrayUtil } from "https://js.sabae.cc/ArrayUtil.js"; const names = [ "第1水準", "第2水準", "第3水準", "第4水準", "非漢字", ]; const jisx0213c = new Str(names.map(name => { const s = new Str(Deno.readTextFileSync("../sample/JISX0213_" + name + ...
const express = require('express') const {logger} = require("../logger") const bodyParser = require("body-parser") const error = (err, req, res, next)=>{ if(err) return res.send({ok: false, msg:err}) } const middlewares = [ logger, express.json(), bodyParser.json(), express.urlencoded({extended: false}), ] mo...