text
stringlengths
2
1.04M
'use strict'; function evaluateBinary(node) { const op = node.operator; const left = evaluateConst(node.left); const right = evaluateConst(node.right); if (op === '+') return left + right; throw new Error(`Unsupported binary operation: "${op}"`); } function evaluateConst(node) { if (node.type === '...
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import '../styles/App.css'; import ScrollableFeed from 'react-scrollable-feed'; import styles from '../styles/conversation.module.css'; import Message from './Message'; import CheckBoxOptionsContainer from './CheckBoxOptionsContainer'; impor...
// User data const wsUrl = 'ws://localhost:1370/'; // Log helper const log = { el: document.getElementById('log'), append(message) { this.el.append(`${message}\n`); }, appendData(data) { this.append(JSON.stringify(data)); } } // Api usage example const api = new AuroraAPI(); api.on...
var NISLFuzzingFunc = function(toUri) { var i, parent, len; idx = 0; false = this.column; this.after = train; var state = this.get("register"); var id = this.addBoundable(img); if (fit > len >> 0) { render += "set"; ...
var _ = require('lodash'), Promise = require('bluebird'), config = require('../../config'), schema = require('../schema').tables, clients = require('./clients'), dbConfig; function addTableColumn(tablename, table, columnname) { var column, columnSpec = schema[tablename][columnn...
// Karma configuration // http://karma-runner.github.io/0.10/config/configuration-file.html module.exports = function(config) { config.set({ // base path, that will be used to resolve files and exclude basePath: '', // testing framework to use (jasmine/mocha/qunit/...) frameworks: ['jasmine'], ...
(function() { function Fixtures() { var Fixtures = {}; // Example album var albumPicasso = { title: "The Colors", artist: "Pablo Picasso", label: "Cubism", year: "1881", albumArtUrl: '/assets/images/album_covers/01.png', ...
$(function () { /*$(".store-nav li").live("click", function () { $(this).addClass("active").siblings().removeClass("active"); });*/ var top1 = $(".store-nav-box").offset().top; $(window).scroll(function () { // 动态获取当前页面的位置 var win_top = $(this).scrollTop(); // 动态获取需要固定的div的位置 var top = $(".store-na...
// All material copyright ESRI, All Rights Reserved, unless otherwise specified. // See http://js.arcgis.com/3.12/esri/copyright.txt for details. //>>built define("esri/dijit/geoenrichment/CheckList","../../declare dojo/dom-construct dojo/dom-class dojo/_base/lang dojo/query dojo/store/Memory dgrid/List dgrid/Selection...
const jwt = require('jsonwebtoken') const { ErrorHandler } = require("../helpers/error") const dotenv = require('dotenv') const User = require('../models').User const ms = require('ms') const bcrypt = require('bcrypt') dotenv.config() async function checkToken (req, _res, next) { try { let token = await re...
const axios = require("axios"); const { InternalServerException, } = require("http-exception-transformer/exceptions"); require("dotenv").config(); const getBlogs = async (page) => { try { const response = await axios.get( `https://dev.to/api/articles/me?per_page=6&page=${page}`, { headers:...
tinymce.addI18n('zh_CN',{ "Redo": "恢复", "Undo": "撤销", "Cut": "剪切", "Copy": "复制", "Paste": "粘贴", "Select all": "全选", "New document": "新建文档", "Ok": "确定", "Cancel": "取消", "Visual aids": "网格线", "Bold": "粗体", "Italic": "斜体", "Underline": "下划线", "Strikethrough": "删除线", "Superscript": "上标", "Subscript": "下标", "Clear formattin...
/* * Copyright (c) 2014-2021 Bjoern Kimminich. * SPDX-License-Identifier: MIT */ const utils = require('../lib/utils') const challenges = require('../data/datacache').challenges const db = require('../data/mongodb') module.exports = function trackOrder () { return (req, res) => { const id = utils.disableOnCo...
Bridge.merge(new System.Globalization.CultureInfo("tn-ZA", true), { englishName: "Setswana (South Africa)", nativeName: "Setswana (Aforika Borwa)", numberFormat: Bridge.merge(new System.Globalization.NumberFormatInfo(), { nanSymbol: "NaN", negativeSign: "-", positiveSign: "+", ...
"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["defaul...
module.exports = { css: { extract: false, loaderOptions: { // by default the `sass` option will apply to both syntaxes // because `scss` syntax is also processed by sass-loader underlyingly // but when configuring the `data` option // `scss` syntax requires an semicolon at the end of a...
const composer = require('openwhisk-composer') /** * A helper composition. Note how one can modularize compositions! * This function implements a looping subroutine. In order not to * pollute the parameter bindings of the given composition, this * helper uses the MASK combinator to "mask out" the n variable. */ f...
import React from 'react' const LastTime = () => { return ( <> <path fill="none" d="M8 4L8 8" strokeWidth="0.75" strokeLinecap="round" strokeLinejoin="round"/> <path fill="none" d="M8 8L10 10" strokeWidth="0.75" strokeLinecap="round" strokeLinejoin="round"/> <circle fill...
/** * Created by DenQ on 31.08.2015. */ var LTT, list, ltt; LTT = (function() { LTT.prototype.groupParent = []; LTT.prototype.key_id = 'id'; LTT.prototype.key_parent = 'parent'; LTT.prototype.position = 'position'; LTT.prototype.options = {}; function LTT(list, options) { this.list...
import { SUGGESTED_FEATURED, SUGGESTED_TOP_SUBSCRIBED } from 'constants/subscriptions'; import { createSelector } from 'reselect'; import { selectAllClaimsByChannel, selectClaimsById, selectAllFetchingChannelClaims, makeSelectChannelForClaimUri, selectClaimsByUri, parseURI, } from 'lbry-redux'; import { swa...
import React from "react" import styled from "styled-components" import { Text } from "../Header.styles" const MenuItem = styled.a` cursor: pointer; text-decoration: none; p:hover { color: #7c5eff; } ` const ListItem = styled.li` list-style: none; margin: 5px 10px; ` const Item = props => { return ...
tinyMCE.addI18n('hi.advhr_dlg',{ width:"Width", size:"Height", noshade:"No shadow" });
import BaseCourseAPI from './Base'; export default class CommentsAPI extends BaseCourseAPI { /** * post = { * id: number, title: string, text: string, createdAt: datetime, * - Post attributes * formattedText: string, * - same as text attribute but formatted for html * creator = { ...
/* eslint-disable no-undef */ // *********************************************** // This example commands.js shows you how to // create various custom commands and overwrite // existing commands. // // For more comprehensive examples of custom // commands please read more here: // https://on.cypress.io/custom-commands ...
// Copyright (c) 2012 Ecma International. All rights reserved. // Ecma International makes this code available under the terms and conditions set // forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the // "Use Terms"). Any redistribution of this code must retain the above // copyright and this n...
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _actions = require('../actions'); var describeUpdateSyncErrors = function describeUpdateSyncErrors(reducer, expect, _ref) { var fromJS = _ref.fromJS, setIn = _ref.setIn; return function () { it('should update sync errors...
export GenericPage from './GenericPage' export DashboardPage from './DashboardPage' export HomePage from './HomePage' export NotFoundPage from './NotFoundPage' export SamplePage from './SamplePage'
LatinRead = {}; LatinRead.convertRoman = function(num) { var rom = { M: 1000, CM: 900, D: 500, CD: 400, C: 100, XC: 90, L: 50, XL: 40, X: 10, IX: 9, V: 5, IV: 4, I: 1 }; return Object.keys(rom).reduce(function (acc, ch) { acc.str += ch.repeat(acc.num / ro...
import { debug } from '../../lib/logger' import config from '../jira.config' import { getCurrentPageConfig } from './Page' export function getIssuesList() { let pageConfig = getCurrentPageConfig() if (typeof pageConfig.issuesListId !== 'undefined') { return document.getElementById(pageConfig.issuesListId) } els...
$(document).ready(function() { $('#nestable').nestable().on('change', function() { const data = { menu: window.JSON.stringify($('#nestable').nestable('serialize')), _token: $('input[name=_token]').val() }; $.ajax({ url: '/admin/menu/guardar-orden', ...
const router = require("express").Router(); const schedule = require("../../controllers/schedule"); // matches with "/api/:id" router.route('/:id') .get(schedule.findById); // matches with "/api/" router.route("/") .post(schedule.create); module.exports = router;
var searchData= [ ['z',['z',['../structsecp256k1__gej.html#ae41776408dba32cbe28b5e345b5f2286',1,'secp256k1_gej']]] ];
var playState = { create: function(){ var background = game.add.sprite(0, 0, 'cidade'); background.width = 1300; background.height = 650; graphics = game.add.graphics(0, 0); groupCidade = game.add.group(); groupCidade.inputEnableChildren = true; var x = 1...
/* * Molecule API Documentation * The Hydrogen Molecule API * * OpenAPI spec version: 1.3.0 * Contact: info@hydrogenplatform.com * * NOTE: This class is auto generated by the swagger code generator program. * https://github.com/swagger-api/swagger-codegen.git * * Swagger Codegen version: 2.4.14 * * Do not e...
import { Pragma, util } from "../../index" const createTemplate = conf => new Pragma() .run(function () { util.createChains(this, 'config') this.config = function(conf){ this.configChain.exec(conf) return this } this.onConfig((conf = {}) => { ...
/* global __CONFIG__ */ import styled from 'styled-components' const headerHeight = __CONFIG__.cssVariables.headerHeight export const Container = styled.div` height: 100%; background-color: black; ` export const Contents = styled.div` overflow-y: auto; position: absolute; width: 100%; top: ${headerHeig...
"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]; } } }...
// ############################## // // // javascript library for creating charts // ############################# const Chartist = require("chartist"); // ############################## // // // variables used to create animation on charts // ############################# var delays = 80, durations = 500; var delay...
const mongoose = require('mongoose') module.exports = (settings) => { mongoose.connect(settings.db, err => { if (err) { console.log(err) return } console.log('Mongo up and running ...') }) }
import Vue from 'vue' import Vuex from 'vuex' import service from '@/utils/service' import formatTime from '@/utils/formatTime' Vue.use(Vuex) export function createStore () { return new Vuex.Store({ strict: process.env.NODE_ENV !== 'production', // 严格模式,只能用action来修改state state: { // 存储当前用户的数据 cur...
"use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/builtin/interopRequireDefault"); Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _react = _interopRequireDefault(require("react")); var _createSvgIcon = _interopRequireDefault(require("./utils/c...
import React from "react"; import { map } from "ramda"; import PostListItem from "./components/PostListItem"; import Container from "components/Layout/Container"; const renderPosts = map(post => ( <PostListItem item={post} key={post.node.id} /> )); const PostList = ({ posts }) => { return <Container>{renderPosts...
import {createConfig} from '../../scripts/create.rollup.config' import pakg from './package.json' export default createConfig(pakg,'BrickDesign')
var struct__nvpnode = [ [ "name", "struct__nvpnode.html#a3780d85aec87b4e9de181c501c1c3bc9", null ], [ "next", "struct__nvpnode.html#aac5711b7fd606ab939629d6846aeaf10", null ], [ "val", "struct__nvpnode.html#a4dc4ac517d07d1f0fd1216c98de32c3d", null ] ];
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["error/401~error/404~error/500"],{"9a79":function(t,e,n){"use strict";n("b833")},b833:function(t,e,n){},c619:function(t,e,n){},f5c0:function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"error-pa...
search_result['71']=["topic_000000000000001A_methods--.html","ErrorController Methods",""];
import React from 'react'; import {Card, Grid, CardMedia, CardContent, Typography, Button} from '@material-ui/core/'; import makeStyles from '@material-ui/core/styles/makeStyles'; import {StarIcon} from '../../public/svg-icons'; const useStyle = makeStyles(theme => ({ display: { width: "100%", height: "100%", ...
(function (translator) { translator.translations["fr"] = { // javascript alerts or messages "testneteditionactivated": "ÉDITION TESTNET ACTIVÉE", "paperlabelbitcoinaddress": "Adresse Dash:", "paperlabelprivatekey": "Clé Privée:", "paperlabelencryptedkey": "Encrypted Private Key (Password required)", //TODO:...
import _inheritsLoose from "@babel/runtime/helpers/inheritsLoose"; import Ext_field_trigger_Trigger from './Ext/field/trigger/Trigger.js'; import ElementParser from './common/ElementParser.js'; var EWCTrigger = /*#__PURE__*/function (_Ext_field_trigger_Tr) { _inheritsLoose(EWCTrigger, _Ext_field_trigger_Tr); func...
/** * @license Apache-2.0 * * Copyright (c) 2018 The Stdlib Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
'use strict'; var path = require('path'); var assert = require('yeoman-assert'); var helpers = require('yeoman-generator').test; var rootTmp = path.join(__dirname, '.tmp'); var gulpTasksPath = path.join(rootTmp, 'gulp/tasks'); var endOfLine = require('os').EOL; describe('angular 1.x', function () { before(functi...
import { css } from 'styled-components'; const variables = css` :root { --dark-navy: #020c1b; --navy: #0a192f; --light-navy: #112240; --lightest-navy: #q2340; --navy-shadow: rgba(2, 12, 27, 0.7); --dark-slate: #495670; --slate: #8892b0; --light-slate: #a8b2d1; --lightest-slate: #c...
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import copyToClipboard from 'copy-to-clipboard'; import { shortenAddress, checksumAddress } from '../../../helpers/utils/util'; import Tooltip from '../../ui/tooltip'; class SelectedAccount extends Component { state = { copied: false,...
import React, {useState} from "react"; import { Container, Row, Col, Button, FormGroup, Input, Form, Modal } from "reactstrap"; import Footer from './Footer'; import SubNav from './Subnav'; import useForm from './UseForm' import validate from './CreateProductValidateRules'; function CreateProduct() { ...
/* Author: Daniel Upshaw URL: http://danieluphaw.com/ */ ;(function ($, window, document, undefined) { "use strict"; var defaults = { css: { // Use {} to bypass adding CSS classes to the container via the plugin (you can use your own CSS files) 'color': '#E7711B', 'text-shadow': '-1px 1px 0 rgba(127, 127...
"use strict"; /* * Copyright 2019 gRPC authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable l...
#!/usr/bin/env node
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = function (_ref) { var _ref$to = _ref.to; var to = _ref$to === undefined ? TO_DEFAULT : _ref$to; var subject = _ref.subject; var html = _ref.html; var callback = arguments.length <= 1 || arguments[1] === undefine...
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d22c0b4"],{f20b:function(n,e,u){"use strict";u.r(e);var t,r,c={name:"Home",data:function(){return{}},render:function(n){return n("div",["首页"])}},o=c,a=o,d=u("2877"),i=Object(d["a"])(a,t,r,!1,null,null,null);e["default"]=i.exports}}]);
var searchData= [ ['floatvalue',['FloatValue',['../class_float_value.html',1,'']]], ['function',['Function',['../classerpcgen_1_1_function.html',1,'erpcgen']]], ['functionbase',['FunctionBase',['../classerpcgen_1_1_function_base.html',1,'erpcgen']]], ['functiontype',['FunctionType',['../classerpcgen_1_1_functio...
(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.LC = f()}})(fu...
module.exports = { theme: require('@scaffold/cli/src/common/theme'), };
const mongoose = require("mongoose"); const User = mongoose.model( "User", new mongoose.Schema({ username: String, email: String, name: String, title: String, company: { type: mongoose.Schema.Types.ObjectId, ref: "Company" }, statu...
// Representative is the person who fills the form. 'use strict'; var memoize = require('memoizee/plain') , defineBusinessProcess = require('./base') , definePerson = require('../person'); module.exports = memoize(function (db/*, options*/) { var options = Object(arguments[1]) ...
import _ from 'lodash'; import React, { Component } from 'react'; import { BrowserRouter as Router, Route, Redirect } from 'react-router-dom'; import 'semantic-ui-css/semantic.min.css' import Index from './components'; import NewSeans from './components/NewSeans'; class RouterComp extends Component { constructor(pr...
import React from 'react'; import { connect } from 'react-redux'; import { ActionCreators as UndoActionCreators } from 'redux-undo'; import PropTypes from 'prop-types'; import Sortable from 'sortablejs'; // import fileDownload from 'react-file-download'; // Actions import { toggleMenu } from '../../actions/menu'; impor...
/** * @license Apache-2.0 * * Copyright (c) 2020 The Stdlib Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
export default class Behavior { constructor() { this.action = null this.subject = null this.reply = null } getReply() { return this.reply } setReply(value) { this.reply = value return this } getSubject() { return this.subject } ...
;(function(window,UNDEF){ "use strict"; function scenes(Mojo){ const {Sprites:_S, Scenes:_Z, FX:T, Input:_I, Game:_G, Arcade:_2d, v2:_V, ute:_,is}=Mojo; const int=Math.floor, ceil=Math.ceil; const sin=Math.sin, cos=Math.cos...
import _ from 'lodash'; import { fs, system, logger, util } from 'appium-support'; import log from '../logger'; import { exec, SubProcess } from 'teen_process'; import { checkPortStatus } from 'portscanner'; import http from 'http'; import net from 'net'; import B from 'bluebird'; import { waitForCondition } from 'asyn...
export default config => ({ autoCollapseDisabled: false, collapsedBreakpoint: 'md', secondaryAutoCollapseDisabled: false, secondaryCollapseBreakpoint: 'md', heightAdjustmentDisabled: false, ...config, });
'use strict'; const test = require('@putout/test')(__dirname, { 'remove-useless-types': require('..'), }); test('remove usless types: report', (t) => { t.report('unused', '"Point" is defined but never used'); t.end(); }); test('remove usless types: transform', (t) => { t.transform('unused', '\n\n'); ...
import React, { Component } from 'react'; import { View, Text, Switch } from 'react-native'; import PropTypes from 'prop-types'; import Icon from 'react-native-vector-icons/MaterialCommunityIcons'; import Touchable from '../Touchable'; import styles from './styles'; import sharedStyles from '../../styles/sharedStyles...
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path fill="none" d="M0 0h24v24H0V0z" /><path d="M13 3c-4.97 0-9 4.03-9 9H1l4 3.99L9 12H6c0-3.87 3.13-7 7-7s7 3.13 7 7-3.13 7-7 7c-1.93 0-3.68-.79-4.94-2.06l-1.42 1.42C8.27 19.99 10.51 21 13 21...
'use strict'; var should = require('chai').should(); var P2P = require('../../'); var builder = P2P.Messages.builder; var bitcore = require('ulitecore-lib'); describe('Messages Builder', function() { describe('@constructor', function() { it('should return commands based on default', function() { // inst...
import Promise from 'es6-promise/lib/es6-promise/promise'; // Return the first non-falsy result from an array of // maybe-sync, maybe-promise-returning functions export default function first ( candidates ) { return function ( ...args ) { return candidates.reduce( ( promise, candidate ) => { return promise.then(...
/** * First we will load all of this project's JavaScript dependencies which * includes Vue and other libraries. It is a great starting point when * building robust, powerful web applications using Vue and Laravel. */ require('./bootstrap'); window.Vue = require('vue'); /** * The following block of code may be ...
module.exports = function (grunt) { // Project configuration. grunt.initConfig({ pkg: grunt.file.readJSON('package.json'), uglify: { main: { src: 'js/<%= pkg.name %>.js', dest: 'js/<%= pkg.name %>.min.js' } }, less: { ...
let path = require('path'); let fs = require('fs'); module.exports = { 'init': function(browser) { browser .url('file://' + path.join(__dirname, 'index.html')) .waitForElementVisible('body', 1000) .pause(300) .assert.value('input', '0.5,0.5/0,0') .end(); } };
/* eslint-env mocha */ /* eslint-disable no-console, no-unused-expressions */ import Web3 from 'web3'; import { expect } from 'chai'; import Sigmate from '../src'; import { accountsObject } from './_harness'; describe('balances', () => { it('should correctly set up the balances', (done) => { const web3 = new W...
console.log("Functions pt.2"); let sayHello = function(name) {console.log(`Hello there ${name}`)}; sayHello("Jhon"); // storing function in array let numberStats = [ (num) => num > 0 ? "Positive" : "Negative", (num) => num % 2 === 0 ? "Even" : "Odd" ]; console.log(numberStats[0](10)); console.log(numberStat...
import React from "react"; import PropTypes from "prop-types"; import clsx from "clsx"; import styled from "styled-components"; import Tab from "@material-ui/core/Tab"; import { withTheme } from "dry/theme"; import setPropTypes from "dry/utils/setPropTypes"; function DryTab(props) { const { className, ...restProps }...
'use strict'; /** * Affiliate.js service * * @description: A set of functions similar to controller's actions to avoid code duplication. */ // Public dependencies. const _ = require('lodash'); module.exports = { /** * @api {post} /affiliate/share Share Affiliate link with other users * @apiVersion 0.0...
// JavaScript Document $(document).ready(function() { $('header').removeClass("headerBg"); $("#about_banner h2").animate({ "margin-left":"0px", "opacity":1 },800); $("#about_banner span").animate({ "margin-left":"0px", "opacity":1 },800); window.addEventListener('scroll', function(){ var topHei...
// dependencies import React, { useContext, useState } from 'react'; import { Tooltip } from '@material-ui/core'; import { Rating } from '@material-ui/lab'; // local modules import { addReview } from '../../services/gamesService'; import { AuthContext } from '../../contexts/authContext'; import { isIncluded } from '.....
(function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) : typeof define === 'function' && define.amd ? define(['exports'], factory) : (global = global || self, factory(global.window = global.window || {})); }(this, (function (exports) { 'use strict'; var _svgPa...
import {SurfaceAnalystService} from '../../../src/common/iServer/SurfaceAnalystService'; import {DatasetSurfaceAnalystParameters} from '../../../src/common/iServer/DatasetSurfaceAnalystParameters'; import {GeometrySurfaceAnalystParameters} from '../../../src/common/iServer/GeometrySurfaceAnalystParameters'; import {Su...
(function (factory) { if (typeof define === 'function' && define.amd) { // AMD. Register as an anonymous module. define(['jquery'], factory); } else if (typeof exports === 'object') { // Node/CommonJS style for Browserify module.exports = factory; } else { // Browser globals factory(jQuery); } }( /** *...
/* ** Copyright (c) 2020, Oracle and/or its affiliates. ** Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. */ console.info('Loaded Console Javascript'); const okitVersion = '0.14.1'; const okitReleaseDate = '18th November 2020'; // Validation const validate_error_...
// @flow import React, { Component } from 'react'; import { connect } from 'react-redux'; import type { Dispatch } from 'redux'; import { setWindowAlwaysOnTop } from '../actions'; import ToggleWithLabel from './ToggleWithLabel'; type Props = { /** * Redux dispatch. */ dispatch: Dispatch<*>; ...
/* * Licensed to Elasticsearch B.V. under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch B.V. licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not u...
import React, { useState, useEffect } from 'react' import withStyles from '@material-ui/core/styles/withStyles' import { SignOutIcon } from './icons' import { Link } from 'react-router-dom' import logo from '../big-logo.png' import Input from '@material-ui/core/Input' import Done from '@material-ui/icons/Done' import C...
'use strict' // in-picture project: Ben Tamir var gQuestsBank = [ { opt: ['This is a dog', 'This is a cat'], correctOptIndex: 2 }, { opt: ['My name is Bert', 'My name is Ernie'], correctOptIndex: 1 }, { opt: ['Best coding lang ever', 'Java what?'], correctOptIndex: 1 } , ]; var gCurrQuestIdx = 0; functi...
// Karma configuration const gulpConfig = require('./gulpfile.config.json'); module.exports = function(config) { const karmaConfig = { // base path that will be used to resolve all patterns (eg. files, exclude) basePath: '', // frameworks to use // available frameworks: https://npmjs.org/browse/k...
//! moment.js locale configuration //! locale : Spanish(United State) [es-us] //! author : bustta : https://github.com/bustta import moment from '../moment'; var monthsShortDot = 'ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.'.split('_'), monthsShort = 'ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_di...
'use babel'; import React from 'react' import IconBase from './IconBase' export default function Emoji_1f60b(props) { return ( <IconBase viewBox="0 0 64 64" {...props}> <g><path fill="#FFDD67" d="M62 31.996C62 48.566 48.566 62 32 62 15.432 62 2 48.566 2 31.996 2 15.434 15.432 2 32 2c16.566 0 30 13.428 30 ...
import React from 'react'; import PropTypes from 'prop-types'; import Humburger from './humburger/Humburger'; import LeftNav from './leftNav/LeftNav'; import RightNav from './rightNav/RightNav'; const NavigationBar = ({ brand, navModel, handleLeftNavItemClick, ...
import * as sel from "../index"; import { MOCK_STATE } from "./mock_state"; describe("test index selector", () => { test("testing selectorMap", () => { expect(sel.selectorMap()).toEqual(expect.any(Function)); expect(sel.selectorMap({ email: sel.email, isAdmin: sel.isAdmin })(MOCK_STATE)).t...
var rownum = 0; var colnum = 0; var cells = {}; var rows = {}; var headerRows; var headerCells = [{},{},{}]; function createCell() { var tdElem = document.createElement("td"); var input = document.createElement("input"); input.classList.add('cell'); tdElem.appendChild(input); return [tdElem, input]; } functio...
macDetailCallback("dc4a9ea00000/28",[{"d":"2020-09-09","t":"add","s":"ieee-mam.csv","a":"Room 606, Block B, Bldg. 1, No. 3000 Longdong Avenue., Zhangjiang Hi-Tech Park, Pudong District ShangHai CN 201203","c":"CN","o":"LongSung Technology (Shanghai) Co.,Ltd."}]);