text
stringlengths
3
1.05M
(function(addon) { var component; if (window.UIkit) { component = addon(UIkit); } if (typeof define == "function" && define.amd) { define("uikit-slideshow", ["uikit"], function() { return component || addon(UIkit); }); } })(function(UI) { "use strict"; ...
import json import requests as r from urllib3.exceptions import InsecureRequestWarning r.packages.urllib3.disable_warnings(category=InsecureRequestWarning) class Lab(object): """Manages tasks""" def __init__(self, host='127.0.0.1', port='8443', apikey=None): super(Lab, self).__init__() ...
const _ = require('lodash'); const path = require('path'); const fs = require('fs'); module.exports = function Fixture(sails) { return { /** * defaults * * The implicit configuration defaults merged into `sails.config` by this hook. * * @type {Dictionary} ...
/** * @license Angular v4.4.4 * (c) 2010-2017 Google, Inc. https://angular.io/ * License: MIT */ !function(global,factory){"object"==typeof exports&&"undefined"!=typeof module?factory(exports,require("@angular/core"),require("@angular/http"),require("rxjs/ReplaySubject"),require("rxjs/Subject"),require("rxjs/operat...
const replace = require('replace-in-file') const options = { files: ['node_modules/@syncfusion/**/bootstrap*.scss', 'node_modules/@syncfusion/**/_*.scss'], from: /@import 'ej2-/g, to: "@import 'node_modules/@syncfusion/ej2-" } replace(options) .then(results => { console.log('Replacement results:', results)...
/* Description: Write a function called repeatStr which repeats the given string string exactly n times. repeatStr(6, "I") // "IIIIII" repeatStr(5, "Hello") // "HelloHelloHelloHelloHello" */ function repeatStr (n, s) { return s.repeat(n); }
(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{"+tJ4":function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var r=function(t){return function(e){for(var n=0,r=t.length;n<r&&!e.closed;n++)e.next(t[n]);e.complete()}}},"+umK":function(t,e,n){"use strict";function r(){}n.d(e,"a",(function(){return r}))},...
'use strict'; define(['src/header/components/default', 'src/util/versioning', 'src/util/util'], function (Default, Versioning, Util) { function Element() { } Util.inherits(Element, Default, { _onClick() { Versioning.pasteData(); } }); return Element; });
import React from 'react'; import Button from './Button'; const GradientButton = ({ colorRight, colorLeft, ...props }) => { return ( <Button {...props} /> ) } export default GradientButton;
# If you have ROS in your system please uncomment the two lines below import sys sys.path.remove('/opt/ros/kinetic/lib/python2.7/dist-packages') import logging import yaml import os import argparse import numpy as np from contextlib import contextmanager from json import dumps as pprint from superpoint.datasets impor...
/*! Select300 4.0.3 | https://github.com/select300/select300/blob/master/LICENSE.md */ (function(){if(jQuery&&jQuery.fn&&jQuery.fn.select300&&jQuery.fn.select300.amd)var e=jQuery.fn.select300.amd;return e.define("select300/i18n/sr",[],function(){function e(e,t,n,r){return e%10==1&&e%100!=11?t:e%10>=2&&e%10<=4&&(e%100<...
const express = require("express"); const router = express.Router(); const databaseSchema = require("../../schemas/m/class_section_schema"); router.post("/retrieve", (req, res) => { databaseSchema.find() .skip(req.body.skip) .limit(req.body.limit) .then(results => { res.json(res...
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import s from './InputForm.module.css'; class InputForm extends Component { static propTypes = { onSubmit: PropTypes.func.isRequired, }; state = { name: '', number: '', }; handleChange = event => { const { name, ...
'use strict'; describe('Controller: UpdateCtrl', function () { // load the controller's module beforeEach(module('uMasterApp')); var UpdateCtrl, scope; // Initialize the controller and a mock scope beforeEach(inject(function ($controller, $rootScope) { scope = $rootScope.$new(); UpdateCtrl = $...
import Component from '@ember/component'; const DATA = [ {option: 'name', type: 'string', description: 'The value to to display in the header/footer of the component that is ' + 'displayed when <code>sortableColumn</code> is used in basic form as opposed to block form.'}, {option: 'propertyName', type: 'string...
# Copyright 2020 Huawei Technologies Co., Ltd # # 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...
var searchData= [ ['set_5fexception_23',['set_exception',['../classutility_1_1ValOrErr__t.html#acc0788ceec4ad388516844507189a72b',1,'utility::ValOrErr_t']]], ['set_5freturn_5fvalue_24',['set_return_value',['../classutility_1_1ValOrErr__t.html#ac68cdfea02b99fe6d67bc236d8f54ff5',1,'utility::ValOrErr_t']]] ];
const path = require('path'); const express = require('express'); const fallback = require('express-history-api-fallback'); const app = express(); module.exports = app; app.use((req, res, next) => { // ----------------------------------------------------------------------- // authentication middleware const a...
export function distance(lon1, lat1, lon2, lat2) { if ((lat1 === lat2) && (lon1 === lon2)) { return 0; } else { var radlat1 = Math.PI * lat1 / 180; var radlat2 = Math.PI * lat2 / 180; var theta = lon1 - lon2; var radtheta = Math.PI * theta / 180; var dist = Math.sin(radlat1) * Math.sin(radlat2) + Math.co...
let handler = async (m, { conn, text }) => { if (!text) throw 'Enter the message you are looking for!' let split = text.split`|` let result = await conn.searchMessages(split[0], m.chat, split[1], 1) if (result.messages.length > 0) { let total = result.messages.length let sp = total < Num...
import React from 'react'; import styles from './Input.module.css'; const Input = ({ label, type, name, value, onChange, error, onBlur }) => { return ( <div className={styles.wrapper}> <label htmlFor={name} className={styles.label}> {label} </label> <input id={name} clas...
import logging import os import sys from typing import Any, Optional from ray.rllib.utils.types import TensorStructType, TensorShape, TensorType logger = logging.getLogger(__name__) # Represents a generic tensor type. TensorType = TensorType # Either a plain tensor, or a dict or tuple of tensors (or StructTensors)....
define(["Colorer", "util"], function (Colorer, util) { /** * * @class AnimationPanel * * Creates tab for the animation panel and handles their events events. * * @param{Object} animator The object that creates the animations * * @return {AnimationPanel} * construct Anima...
// db.js var mongoose = require('mongoose'); mongoose.connect('mongodb://project2:geraldo@cluster0-shard-00-00-lg1pg.mongodb.net:27017,cluster0-shard-00-01-lg1pg.mongodb.net:27017,cluster0-shard-00-02-lg1pg.mongodb.net:27017/test?ssl=true&replicaSet=Cluster0-shard-0&authSource=admin') .then(function (data) { }).c...
# -*- encoding: utf-8 -*- # # Copyright 2013 IBM Corp. # Copyright © 2013 Julien Danjou # # Author: Julien Danjou <julien@danjou.info> # # 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 # # ...
'use strict'; const assert = require('chai').assert; const api = require('../../').api; const validate = require('../helper').validate; describe('api auth', () => { it('token', () => { assert.isNull(validate('auth.token.yaml', api.auth.token).error); }); it('crumb', () => { assert.isNull(...
class Node: def __init__(self,): self.dic = collections.defaultdict(Node) self.isleaf = False class Solution: def findWords(self, board: List[List[str]], words: List[str]) -> List[str]: node = Node() res = set() def build(words): nd = node for i i...
var structaddress = [ [ "closest_point", "structaddress.html#ad9a017db73b0a1429c661deddf557767", null ], [ "closest_point_dist", "structaddress.html#a7e21baaf703872e51449ac153b7396ba", null ], [ "id", "structaddress.html#a7441ef0865bcb3db9b8064dd7375c1ea", null ], [ "lat", "structaddress.html#a797233453...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const qs = require("querystring"); const loaderUtils = require("loader-utils"); const formatError_1 = require("./formatError"); const compiler_sfc_1 = require("@vue/compiler-sfc"); // Loader that compiles raw template into JavaScript functions...
/*jslint node:true plusplus:true white:true */ 'use strict'; /* * this function passes the challenge test, but it uses apply() rather than Array#filter as used in the expected solution. either way, it takes advantage of Array#call for both expeted purposes, so I think the intended goal is met. */ function duckCoun...
/* * @Author: AlanWang * @Date: 2018-03-29 14:33:16 * @Last Modified by: AlanWang * @Last Modified time: 2018-04-08 14:53:34 */ const app = require('../app') const supertest = require('supertest') const config = require('../config') const expect = require('chai').expect describe('Api server test started!', () => {...
(function() { var componentName = 'led-indicator'; var s = ` <div v-bind:class="status" class="led-indicator"> <div class="highlight"></div> </div> `; Vue.component(componentName, { created: function() { viewController.registerView(componentName, this); }, props: ["status"], template: s, data:...
# -*- coding: utf-8 -*- #!/usr/bin/env python # # Copyright 2015-2019 BigML # # 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 requi...
// Generated by CoffeeScript 1.7.1 var AfterBrunch, exec, sysPath; sysPath = require('path'); exec = require('child_process').exec; module.exports = AfterBrunch = (function() { AfterBrunch.prototype.brunchPlugin = true; function AfterBrunch(config) { var _ref; this.config = config; this.commands = (...
/** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * @flow strict * @format */ 'use strict'; export type PlatformType = 'iOS' | 'android'; export type CommandsFunctionTypeAnnota...
/* eslint-env browser */ import * as Y from 'yjs' import { CrossTabProvider } from '../src/y-bc.js' const ydoc = new Y.Doc() const provider = new CrossTabProvider('crosstab-aka-broadcastchannel-test', ydoc) const yarray = ydoc.getArray() yarray.observeDeep(() => { console.log('yarray updated: ', yarray.toJSON()) }...
import numpy as np from timemachine.lib import custom_ops from hilbertcurve.hilbertcurve import HilbertCurve import time def test_block_bounds(): np.random.seed(2020) for N in [128, 156, 298]: block_size = 32 D = 3 coords = np.random.randn(N, D) box_diag = (np.random.rand(...
'use strict'; exports.__esModule = true; var _skeletonService = require('./skeleton-service'); var _accountService = require('./account-service'); var _accountDeviceService = require('./account-device-service'); var _accountInvitationService = require('./account-invitation-service'); var _contactService = require...
import { login, logout, getInfo } from '@/api/user' import { getToken, setToken, removeToken } from '@/utils/auth' import router, { resetRouter } from '@/router' import {logoutToken,request} from '@/assets/js/util.js' // get isLogin const state = { token: '', avatar: '', introduction: '', roles: [], purview:[...
/* Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ CKEDITOR.plugins.setLang( 'blockquote', 'it', { toolbar: 'Citazione' } );
from electrum_mona.util import print_stderr, raw_input from electrum_mona.logging import get_logger from .plugin import HardwareHandlerBase _logger = get_logger(__name__) class CmdLineHandler(HardwareHandlerBase): def get_passphrase(self, msg, confirm): import getpass print_stderr(msg) ...
const giveaway = require('../../functions/giveaway.js'); const mongo = require("../../mongo.js") const giveawaySchema = require("../../Schemas/giveaway-schema.js") const ms = require("ms"); module.exports = { name: 'gstart', aliases: ["giveaway-start", "giveaway"], usage: '&{prefix}giveaway <time> <winners>...
__version__ = u'18.7.1'
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon(React.createElement(React.Fragment, null, React.createElement("path", { fill: "none", d: "M0 0h24v24H0z" }), React.createElement("path", { d: "M21 5v14h2V5h-2zm-4 14h2V5h-2v14zM14 5H2c-.55 0-1 .45-1 1v12c0 ....
/** Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"...
import React from "react"; import { Card, CardImg, CardBody, CardText, CardTitle, Button } from "reactstrap" const Items = ({addInCart, product}) => { return( <Card className="mt-2 mb-1"> <CardImg top height="250" width="100%" src={product.smallImage}/> <Ca...
const path = require('path'); const HtmlWebpackPlugin = require('html-webpack-plugin'); const TsconfigPathsPlugin = require('tsconfig-paths-webpack-plugin'); const webpack = require('webpack'); const { dependencies } = require("./package.json"); const GitRevisionPlugin = require('git-revision-webpack-plugin'); const gi...
class OutputDocument { /** * @param {Promise<object>} pdfDocumentPromise */ constructor(pdfDocumentPromise) { this.bufferSize = 9007199254740991; this.pdfDocumentPromise = pdfDocumentPromise; } /** * @returns {Promise<object>} */ getStream() { return this.pdfDocumentPromise; } /** * @returns {...
import axios from 'axios' import React, { Component } from 'react' import { ServerStyleSheet } from 'styled-components' /* * For Less Support * */ import autoprefixer from 'autoprefixer' import ExtractTextPlugin from 'extract-text-webpack-plugin' import postcssFlexbugsFixes from 'postcss-flexbugs-fixes' /* * For TypeS...
"use strict"; function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.ap...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var _stringify = require("babel-runtime/core-js/json/stringify"); var _stringify2 = _interopRequireDefault(_stringify); var _react = require("react"); var _react2 = _interopRequireDefault(_react); var _propTypes = require("prop-types")...
from manage import db, app class User(db.Model): __tablename__ = 'users' id = db.Column(db.Integer, primary_key=True) name = db.Column(db.String(64), index=True, unique=True) steps = db.Column(db.Integer, index=True, unique=True) temp = db.Column(db.Integer, index=True, unique=True) def __rep...
'use strict'; angular.module('app') .constant("CSRF_TOKEN", '{{ csrf_token() }}') //.controller('ProductUploadCtrl', ['$scope', '$http', function($scope,$http) { .controller('ProductUploadCtrl', ['$scope', 'FileUploader', function($scope, FileUploader, CSRF_TOKEN) { var uploader = $scope.upload...
//# ==++== //# //# //# Copyright (c) 2006 Microsoft Corporation. All rights reserved. //# //# The use and distribution terms for this software are contained in the file //# named license.txt, which can be found in the root of this distribution. //# By using this software in any fashion, you are agr...
module.exports = [{"name":"path","attribs":{"d":"M21 1l-8.59 8.59L21 18.18V1zM4.77 4.5L3.5 5.77l6.36 6.36L1 21h17.73l2 2L22 21.73 4.77 4.5z"}}];
import { clickable, collection, Interactor, interactor, isPresent, text, } from '@bigtest/interactor'; import TagsAction from './common/TagsAction'; @interactor class Header { static defaultScope = '#pane-invoiceDetails [class*=paneTitleLabel---]'; } @interactor class MenuActions { static defaultScop...
$(function() { var owner = $('#owner'); var cardNumber = $('#cardNumber'); var cardNumberField = $('#card-number-field'); var CVV = $("#cvv"); var mastercard = $("#mastercard"); var confirmButton = $('#confirm-purchase'); var visa = $("#visa"); var amex = $("#amex"); // Use the pay...
import React from "react"; const IcSwapHoriz = props => <svg width="1em" height="1em" viewBox="0 0 24 24" {...props}><path d="M6.99 11L3 15l3.99 4v-3H14v-2H6.99v-3zM21 9l-3.99-4v3H10v2h7.01v3L21 9z" /></svg>; export default IcSwapHoriz;
var fs = require("fs"); var Koa = require("koa"); var router = require("koa-router")(); var bodyParser = require("koa-bodyparser"); var app = new Koa(); var files = fs.readdirSync(__dirname+"/counters"); var js_files = files.filter((f) => { return f.endsWith(".js"); }); for(var f of js_files){ console.log(`...
import re from setuptools import setup def get_long_description(): with open('README.md', 'r') as readmefile: readme_md = readmefile.read() first_para = readme_md.split('\n\n')[1] no_links = re.sub(r'\[([^\]]+)\]\[[^\]]+\]', r'\1', first_para) return no_links.replace('\n', ' ') setup( n...
#!/usr/bin/env node const path = require('path'); const { init, klap, read, log, error, info } = require('./dist'); const { name, version } = require('./package.json'); const command = process.argv[2]; (async () => { switch (command) { case 'init': log(`${name}@${version} - Initializing your package...`); ...
# MIT License # # Copyright (c) 2017-18 Felix Simkovic # # 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, m...
(self.webpackChunkempty_project=self.webpackChunkempty_project||[]).push([[295],{19295:module=>{module.exports=function(e,n){return n=n||{},new Promise((function(t,r){var s=new XMLHttpRequest,o=[],u=[],i={},a=function(){return{ok:2==(s.status/100|0),statusText:s.statusText,status:s.status,url:s.responseURL,text:functio...
import alt from './../../alt.js'; import navFetch from './navFetch.js'; class LocaleActions { fetch() { navFetch() .then(data => { this.dispatch(data); }); } } export default alt.createActions(LocaleActions);
var express = require('express'); var bodyParser = require('body-parser'); var cors = require('cors'); /** * Route to verify username / password */ function router () { var routes = new express.Router(); routes.use(cors()); routes.use(bodyParser()); routes.post('/', (req, res) => { cons...
"use strict"; // 1) --------------------- // // using the (objLat) function; return the formatted text based on the provided object as the example: // let obj = { // firstName: 'Jaber', // lastName: 'Saleh', // age: 67, // hobby: 'Gaming and Sleeping' // } // ===> // 'my name is Jaber Saleh ...
/* * * AddEntity constants * */ export const DEFAULT_ACTION = 'app/AddEntity/DEFAULT_ACTION';
import { Box3, Line3, Plane, Sphere, Triangle, Vector3 } from "../../../src/Three"; import { Capsule } from "../math/Capsule.js"; var Octree = ( function () { var _v1 = new Vector3(); var _v2 = new Vector3(); var _plane = new Plane(); var _line1 = new Line3(); var _line2 = new Line3(); var _sphere = new ...
import scrapy from scrapy.http import Request from .base_spider import BaseSpider class NiceSpider(BaseSpider): """ Handle crawling responses for the nice.org.uk web site Note: NICE may not return valid extension based URLs for actual PDF files, so this has to operate on content-t...
# =============================================================================== # Copyright 2019 ross # # 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/LICE...
import React from 'react'; const Tabs = ({ switchTab }) => { return ( <div> <ul> <li onClick={() => switchTab(0)}> <i className='fa fa-user'></i>Overview </li> <hr class='HRsettings' /> <li onClick={() => switchTab(1)}> <i className='fa fa-map-marker'></i...
# coding=utf-8 # Copyright 2020 The Google Research 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 applicab...
/** * Copyright 2012-2017, Plotly, Inc. * All rights reserved. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ 'use strict'; var Lib = require('../../lib'); var Axes = require('../../plots/cartesian/axes'); var extendFlat = require('../....
from django import forms from django.db.models import Q from videos.models import Video from .models import Course, Lecture class LectureAdminForm(forms.ModelForm): class Meta: model = Lecture fields = [ 'order', 'title', 'free', 'video', ...
/** * Kendo UI v2020.1.114 (http://www.telerik.com/kendo-ui) * Copyright 2020 Progress Software Corporation and/or one of its subsidiaries or affiliates. All rights reserved....
import graphene from ingredients import schema class Query(schema.Query, graphene.ObjectType): pass schema = graphene.Schema(query=Query)
# -*- coding: utf-8 -*- """ Created on Tue Jan 4 16:29:12 2022 @author: Johannes.Wiesner """
/* Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ CKEDITOR.plugins.setLang( 'find', 'af', { find: 'Soek', findOptions: 'Find Options', findWhat: 'Soek na:', matchCase: 'Hoof/kleinletter sensitief', mat...
/** * SPDX-License-Identifier: Apache-2.0 */ import React, { Component } from 'react'; import compose from 'recompose/compose'; import { withStyles } from 'material-ui/styles'; import PropTypes from 'prop-types'; import Blocks from '../Lists/Blocks'; import Card from 'material-ui/Card'; const styles = theme => ({...
window.Physijs = (function() { 'use strict'; var SUPPORT_TRANSFERABLE, _is_simulating = false, _Physijs = Physijs, // used for noConflict method Physijs = {}, // object assigned to window.Physijs Eventable, // class to provide simple event methods getObjectId, // returns a unique ID for a Physijs mesh obje...
import React from 'react'; import Project from '../project/Project'; const project1 = { id: "project1", name: "Space Escape", skills: "React/CSS/JavaScript/PWT/MySQL/", description: "A game with space background", deployed: "https://space-escape.herokuapp.com/", github: "https://github.com/qtian13/space-es...
import styled from 'styled-components' const H1 = styled.h1` font-size: 64px; color: ${({ theme }) => theme.colors.light} ` export default function Logo () { return <H1>{'{Amigo} Secreto'}</H1> }
/* * http://www.ibleaders.co.kr * Call (02)2621-2288~9 * * Copyright 2015 IB LEADERS CO. LTD. */ var ibleaders; ibleaders = ibleaders || {}; ibleaders = { /** * licenseType * * enum [ "file", "value" ] default 'value' * * file로 사용할 경우 licenseType 을 명시하고 해당 프로퍼티 value로 "file" 을 설정한다. ...
import React, { useState, useEffect } from "react" import { Grid, IconButton, Tooltip } from "@material-ui/core" import { makeStyles } from "@material-ui/styles" import MUIDataTable from "mui-datatables" import { Person as AccountIcon, DeleteOutline as DeleteIcon, Edit as EditIcon, Add as AddIcon } from "@mater...
/** * @fileoverview gRPC-Web generated client stub for ibc.applications.transfer.v1 * @enhanceable * @public */ // GENERATED CODE -- DO NOT EDIT! /* eslint-disable */ // @ts-nocheck const grpc = {}; grpc.web = require('grpc-web'); var gogoproto_gogo_pb = require('../../../../gogoproto/gogo_pb.js') var cosm...
#!/usr/bin/env node require('../server.babel'); // babel registration (runtime transpilation for node) const path = require('path'); const rootDir = path.resolve(__dirname, '..'); /** * Define isomorphic constants. */ global.__CLIENT__ = false; global.__SERVER__ = true; global.__DISABLE_SSR__ = false; // <----- DISA...
import React from "react"; import ReactDOM from "react-dom"; import Shop from "./components/shop.jsx"; ReactDOM.render( <Shop />, document.getElementById("app") );
import React from 'react'; import { withStyles } from '@material-ui/core/styles'; import isElectron from 'is-electron'; import PropTypes from 'prop-types'; import { useIntl, FormattedMessage } from 'react-intl'; import Dialog from '@material-ui/core/Dialog'; import Typography from '@material-ui/core/Typography'; import...
var searchData= [ ['wave',['Wave',['../structsff_1_1utils_1_1Wave.html',1,'sff::utils']]], ['what',['what',['../classsff_1_1error_1_1BaseException.html#a109264774db76d06235a30e6c1413428',1,'sff::error::BaseException']]] ];
import Operation from './Operation'; export default class ComponentMove extends Operation { component; constructor(component, originX, originY, x, y) { super(); this.component = component; this.originX = originX; this.originY = originY; this.x = x; this.y = y; } do(canvas) { canvas...
export default function functionPlugin() { const ls = window.localStorage; return { set(superFn, key, value) { if (typeof value === 'function') { ls.setItem(key, `return ${value}`); ls.setItem(`${key}-isFn`, true); } else { superFn(key, value); } }, get(superFn,...
# Copyright 2018 Amazon.com, Inc. or its affiliates. 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. # A copy of the License is located at # # http://www.apache.org/licenses/LICENSE-2.0 # # or in the "l...
const irMagician = require('irmagician'); const { delay } = require('../lib'); const DATA_FILES = { ON: 'modules/data/remoconcent/on.json', OFF: 'modules/data/remoconcent/off.json' }; module.exports = { turnOn: async () => { irMagician.write(DATA_FILES.ON); await delay(1000); irMag...
_N_E = (window["webpackJsonp_N_E"] = window["webpackJsonp_N_E"] || []).push([["pages/index"],{ /***/ "./node_modules/next/dist/build/polyfills/object-assign.js": /*!*****************************************************************!*\ !*** ./node_modules/next/dist/build/polyfills/object-assign.js ***! \************...
import React from "react"; import { Segment, Accordion, Header, Icon, Image, List } from "semantic-ui-react"; class MetaPanel extends React.Component { state = { privateChannel: this.props.isPrivateChannel, activeIndex: 0, channel: this.props.currentChannel }; setActiveIndex = (event, ti...
"use strict"; exports.createObjectURL = function (blob) { return function () { return URL.createObjectURL(blob); }; }; exports.revokeObjectURL = function (url) { return function () { URL.revokeObjectURL(url); }; };
module.exports = { presets: ['module:metro-react-native-babel-preset'], plugins: [ [ 'module-resolver', { extensions: ['.js', '.jsx', '.ts', '.tsx'], root: ['.'], alias: { '@senseyeinc/react-native-senseye-sdk': './src/index', }, }, ], ], };
// This event executes when a new member joins a server. Let's welcome them! module.exports = (client, member) => { // Load the guild's settings console.log("ADDD"); const settings = client.getGuildSettings(member.guild); // If welcome is off, don't proceed (don't welcome the user) if (settings.welcomeEnabled ==...
import React from 'react'; import PropTypes from 'prop-types'; import Link from 'next/link'; import Fade from 'react-reveal/Fade'; import Box from 'reusecore/src/elements/Box'; import Text from 'reusecore/src/elements/Text'; import Heading from 'reusecore/src/elements/Heading'; import Button from 'reusecore/src/element...
//! moment.js locale configuration //! locale : Lao [lo] //! author : Ryan Hart : https://github.com/ryanhart2 ;(function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' && typeof require === 'function' ? factory(require('../moment')) : typeof define === 'function' ...