text stringlengths 2 1.04M |
|---|
import React from "react";
import { Get } from "ajwah-store";
import { useStream } from "./hooks";
import { CounterState } from "../states/counterState";
export const Counter = () => {
const csCtrl = Get(CounterState);
const data = useStream(csCtrl.count$, "");
return (
<p>
<button className="btn" on... |
var events = require('events');
var os = require('os');
var util = require('util');
var debug = require('debug')('yosemite-bindings');
var XpcConnection = require('xpc-connection');
var localAddress = require('./local-address');
var uuidToAddress = require('./uuid-to-address');
/... |
import requestAnimationFrame from 'raf'
class DefaultProgram {
constructor(wgli, props) {
this.wgli = wgli;
this.props = props;
this._update = this._update.bind(this);
}
// Entry point for the program
run() {
// Begin main update loop
requestAnimationFrame(this._update);
}
// Update p... |
deepmacDetailCallback("001f28000000/24",[{"d":"2007-12-31","t":"add","a":"8000 Foothills Blvd\nRoseville CA 95747\n\n","c":"UNITED STATES","o":"ProCurve Networking by HP"},{"d":"2013-03-27","t":"change","a":"8000 Foothills Blvd\nRoseville CA 95747\n\n","c":"UNITED STATES","o":"HPN Supply Chain"},{"d":"2015-08-27","t":"... |
import React, { PureComponent as Component } from 'react';
import { connect } from 'react-redux';
import PropTypes from 'prop-types';
import {
fetchInterfaceListMenu,
fetchInterfaceList,
fetchInterfaceCatList,
fetchInterfaceData,
deleteInterfaceData,
deleteInterfaceCatData,
initInterface
} from '../../../... |
/**
* @module jsdoc/tutorial
*/
const markdown = require('parsers/markdown');
const hasOwnProp = Object.prototype.hasOwnProperty;
/**
* Removes child tutorial from the parent. Does *not* unset child.parent though.
*
* @param {Tutorial} parent - parent tutorial.
* @param {Tutorial} child - Old child.
* @private... |
var toastTrigger = document.getElementById('liveToastBtn')
var toastLiveExample = document.getElementById('liveToast')
if (toastTrigger) {
toastTrigger.addEventListener('click', function () {
var toast = new bootstrap.Toast(toastLiveExample)
toast.show()
})
} |
// Global Namespace
var AZ = {};
AZ.Ajax = (function () {
"use strict";
$(document).ready(function () {
// Add please wait to body and attach to ajax function
var loadingDiv = "<div id='ajax_loader' style='width: 100%;height: 100%;top: 0;left: 0;position: fixed;opacity: 0.7;background-color: ... |
const useIsConnected = web3Modal => !!web3Modal && !!web3Modal.cachedProvider;
export default useIsConnected; |
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=blockchainStatus.js.map |
var searchData=
[
['ianimationhelper',['IAnimationHelper',['../group___animation.html#classpdg_1_1_i_animation_helper',1,'pdg']]],
['idle',['idle',['../namespacepdg.html#a4607662e1a6ff2db1ecff1b8eea07296',1,'pdg']]],
['ieventhandler',['IEventHandler',['../group___events.html#classpdg_1_1_i_event_handler',1,'pdg']... |
"use strict";
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
var _react = _interopRequire... |
import { FileText, BookOpen } from 'react-feather'
import { snakeCase } from 'lodash'
import PropTypes from 'prop-types'
import React from 'react'
import ReactTooltip from 'react-tooltip'
const MenuButtons = ({ id, theme, title, selectSolution, renderModal }) => (
<div className="sidebar--menu--detail--button--conta... |
#!/usr/bin/env node
var net = require('net')
, repl = require('repl')
, assert = require('assert')
, wd = require('./main')
;
var startRepl = function() {
var r = repl.start('(wd): ');
r.context.assert = assert;
r.context.wd = wd;
r.context.help = function() {
console.log("WD - Shell.");
conso... |
/**
* Jamming technique. Section 6.2.49
*
* Copyright (c) 2008-2015, MOVES Institute, Naval Postgraduate School. All rights reserved.
* This work is licensed under the BSD open source license, available at https://www.movesinstitute.org/licenses/bsd.html
*
* @author DMcG
*/
// On the client side, support for a ... |
/* ***** 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 so... |
/*
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( 'elementspath', 'pt', {
eleLabel: 'Caminho dos elementos',
eleTitle: 'Elemento %1'
} ); |
import { ServiceProvider } from '@makerdao/services-core';
import AccountsService from '../eth/AccountsService';
import AllowanceService from '../eth/AllowanceService';
import CacheService from '../utils/CacheService';
import ConsoleLogger from '../utils/loggers/ConsoleLogger';
import DSProxyService from '../eth/DSProx... |
module.exports = {
root: true,
env: {
node: true,
es6: true
},
parserOptions: {
ecmaVersion: 8
},
extends: ['eslint:recommended'],
overrides: [
{
files: ['src/**/*.ts', 'src/**/*.tsx'],
parser: '@typescript-eslint/parser',
settings: {
react: {
version: '... |
"use strict";
const gulp = require('gulp');
const mocha = require('gulp-mocha');
const eslint = require('gulp-eslint');
const sequence = require('run-sequence');
const _glob = require('glob');
const co = require('co');
const childProcess = require('child_process');
const entry = './index.js';
const testDir = './test'... |
/**
*
* TextField
*
*/
import React from 'react';
import styled from 'styled-components';
const TextField = styled.div`
width: 600px;
height: 150px;
padding: 5px;
background-color: #ffebba;
overflow-y: scroll;
`;
TextField.propTypes = {
};
export default TextField; |
import moment from "moment-timezone";
const INFO = "INFO";
const WARN = "WARN";
const ERR = "ERROR";
const ENV = process.env.ENV;
function log(level, message) {
if(ENV === 'test') {
return;
}
console.log(JSON.stringify({time : moment(new Date()).format(), severity : level, message : message}));
}
export defaul... |
(function AlumnosCRUDScope(angular) {
'use strict';
angular.module('cdApp.alumno').controller('AlumnosCRUDController',
['$scope', 'Alumnos', '$uibModalInstance', 'alumnoId', 'Materias',
function ($scope, Alumnos, $uibModalInstance, alumnoId, Materias) {
var that = this;
... |
/*!
* froala_editor v3.0.0 (https://www.froala.com/wysiwyg-editor)
* License https://froala.com/wysiwyg-editor/terms/
* Copyright 2014-2019 Froala Labs
*/
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(require("froala-editor")):"function"==typeof define&&define.amd?define(["froala-editor"],t... |
import React from 'react'
import Icon from 'react-icon-base'
const IoAndroidMap = props => (
<Icon viewBox="0 0 40 40" {...props}>
<g><path d="m34.1 5c0.5 0 0.9 0.4 0.9 0.9v25.1c0 0.4-0.2 0.7-0.5 0.8l-9.5 3.2-10-3.5s-8.2 3.2-8.4 3.3-0.6 0.2-0.7 0.2c-0.5 0-0.9-0.4-0.9-0.9v-25.1c0-0.4 0.2-0.7 0.5-0.8l9.5-3.2... |
const Oracle = artifacts.require('Oracle');
const Resolver = artifacts.require('Resolver');
const Example = artifacts.require('Example');
// If you want to use await / async syntax in Truffle migrations,
// see https://github.com/trufflesuite/truffle/issues/501
module.exports = (deployer, network) => {
if (network =... |
"use strict";
const mongoose = require("mongoose");
const _ = require("lodash");
const userSchema = new mongoose.Schema({
username: {
type: String,
required: true
},
email: {
type: String,
required: true
},
password: {
type: String,
required: true
... |
'use strict';
require('dotenv').config();
const assert = require('assert');
const api_key = process.env.LOL_API_KEY;
const LeagueofLegends = require('../index');
const lol = new LeagueofLegends(api_key, 'na');
describe('League', function() {
describe('#league', function() {
it('should retrieve league info of ... |
const { page } = require('@asl/service/ui');
const { form } = require('../../common/routers');
const { submit } = require('../middleware');
const schema = require('./schema');
module.exports = () => {
const app = page({ root: __dirname });
app.use(form({ schema }));
app.post('/', submit());
return app;
}; |
//describe('Shoutem website', () => {
// it('Shoutem header', async () => {
// await browser.url('https://shoutem.com/pricing/');
// const hed = await $('h1');
// await expect(hed).toHaveText('There are more ways to create apps with Shoutem');
// })
// })
// describe('Shoutem buttoni',... |
import { Translate } from 'aws-sdk';
import { handler } from './translator';
jest.mock('aws-sdk');
describe('translator', () => {
beforeEach(() => {
Translate.mockRestore && Translate.mockRestore();
});
it('should return a 200 http result with the translation', async () => {
// Given
const event =... |
import React from 'react';
import createSvgIcon from './utils/createSvgIcon';
export default createSvgIcon(React.createElement("path", {
d: "M20 8h-3V4H1v13h2c0 1.66 1.34 3 3 3s3-1.34 3-3h6c0 1.66 1.34 3 3 3s3-1.34 3-3h2v-5l-3-4zM6 18c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1zm13.5-8.5l1.96 2.5H17V9.5h2.5zM18 18... |
const Editor = require('./Editor.vue').default;
const Render = require('./Render.vue').default;
export default {
code: 'core-imageblock',
name: 'Image',
icon: 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAPoAAABkBAMAAABdrjA9AAAAJ1BMVEX///8AAAA/Pz+fn58vLy8PDw/v7++AgICvr69gYGC/v7+Pj49vb2+gyKB9AAABQUlEQVRo3... |
const db = require('../database/connection');
const jwt = require('../config/jwt');
module.exports = {
async authenticate(req, res, next) {
if (!req.headers.authorization) {
return res.status(401).json({ error: 'Authorization header was not provided' });
}
const [_, token] = req.headers.authorizat... |
import { isUrl } from '../utils/utils';
const menuData = [
/*{
name: 'dashboard',
icon: 'dashboard',
path: 'dashboard',
children: [
{
name: '分析页',
path: 'analysis',
},
{
name: '监控页',
path: 'monitor',
},
{
name: '工作台',
path:... |
'use strict';
import MouseMove from '../src/MouseMove';
describe('MouseMove', function() {
it('should be tested', function() {
expect('No tests for this module yet.').toBe('Everything is ok.');
});
}); |
regions = [
'countryCM:foreign',
'countryCM:adamaoua',
'countryCM:centre',
'countryCM:est',
'countryCM:extreme-nord',
'countryCM:littoral',
'countryCM:nord',
'countryCM:nord-ouest',
'countryCM:sud',
'countryCM:sud-ouest',
'countryCM:ouest'
]; |
import React from 'react';
import { mount } from 'enzyme';
import { ThemeProvider } from 'styled-components';
import Blur from '../Blur';
import theme from '../../theme';
const renderComponent = (EffectComponent = Blur, props = {}) => mount(
<ThemeProvider theme={theme}>
<EffectComponent {...props} />
</ThemeP... |
ace.define("ace/mode/doc_comment_highlight_rules",[], function(require, exports, module) {
"use strict";
var oop = require("../lib/oop");
var TextHighlightRules = require("./text_highlight_rules").TextHighlightRules;
var DocCommentHighlightRules = function() {
this.$rules = {
"start" : [ {
tok... |
'use strict';
const siteConfig = require('./config.js');
const postCssPlugins = require('./postcss-config.js');
module.exports = {
siteMetadata: {
url: siteConfig.url,
title: siteConfig.title,
subtitle: siteConfig.subtitle,
copyright: siteConfig.copyright,
disqusShortname: siteConfig.disqusShort... |
/* ------------------------- External Dependencies -------------------------- */
import React from 'react'
import { Route } from 'atomic'
/* ------------------------- Internal Dependencies -------------------------- */
import HTMLRender from 'foundry/editor/HTMLRender'
/* ------------------------------- Component -----... |
var elixir = require('laravel-elixir'),
bowerDir = "vendor/bower_components/";
require('laravel-elixir-livereload');
elixir(function(mix) {
mix.browserSync();
// mix.livereload();
});
elixir(function(mix) {
mix.copy(bowerDir + 'bootstrap/fonts', 'public/fonts')
.copy(bowerDir + 'font-awesome... |
module.exports={A:{A:{"1":"A B","2":"H C G E EB"},B:{"1":"D g w J L N I"},C:{"1":"0 1 2 4 5 6 7 8 z F K H C G E A B D g w J L N I O P Q R S T U V W X Y y a b c d e f M h i j k l m n o p q r s t u v x WB QB","2":"YB"},D:{"1":"0 1 2 4 5 6 7 8 G E A B D g w J L N I O P Q R S T U V W X Y y a b c d e f M h i j k l m n o p q... |
import NumberInput from './src/NumberInput';
export { NumberInput } |
// Copyright 2020 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Flags: --allow-natives-syntax --no-analyze-environment-liveness --no-use-ic
function foo(x) {
var a = [];
for (var k1 in x) {
for (var k2 in... |
"use strict";
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Refl... |
// material
import PropTypes from 'prop-types';
import { Card, CardHeader, Typography, Stack, LinearProgress } from '@mui/material';
// utils
import { fPercent, fCurrency } from '../../../utils/formatNumber';
import mockData from '../../../utils/mock-data';
// ----------------------------------------------------------... |
const Discord = require('discord.js');
const fs = require('fs');
//var ayarlar = require('../ayarlar.json');
exports.run = async (client, msg, args) => {
if(args[0].length > 4) return msg.channel.send('Discrimler 4 basamaklı olur')
const s = [`asd1`, `asd2`, `asd3`]
const discrim = args[0] || msg.author.discri... |
// @flow
import * as React from 'react';
import AccessibleSVG from '../accessible-svg';
import { bdlBoxBlue } from '../../styles/variables';
import type { Icon } from '../flowTypes';
const UploadFilePaywallState = ({ className = '', color = bdlBoxBlue, height = 129, title, width = 133 }: Icon) => (
<AccessibleSV... |
import styled from 'styled-components';
import { lighten } from 'polished';
export const Container = styled.div`
display: flex;
`;
export const Content = styled.div`
display: flex;
align-items: center;
text-transform: uppercase;
max-width: 120px;
padding: 4px 6px;
border-radius: 50px;
strong {
ma... |
let interval;
document.addEventListener('DOMContentLoaded', () => {
getClientId();
interval = setInterval(getClientId, 1000);
});
function getClientId() {
chrome.runtime.sendMessage({ cmd: "request-client-id" }, (response) => {
if (response.result) {
document.getElementById("noClientId... |
"use strict";
const conversions = require("webidl-conversions");
const utils = require("./utils.js");
module.exports = {
convertInherit(obj, ret) {
let key, value;
key = "behavior";
value = obj === undefined || obj === null ? undefined : obj[key];
if (value !== undefined) {
ret[key] = (value... |
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var core_1 = require("@angular/core");
var router_1 = require("@angular/router");
var backend_service_1 = require("./shared/backend.service");
var AuthGuard = (function () {
function AuthGuard(router) {
this.router = router;
}
... |
// The client ID is obtained from the Google Developers Console
// at https://console.developers.google.com/.
// If you run this code from a server other than http://localhost,
// you need to register your own client ID.
var OAUTH2_CLIENT_ID = '483640587877-ghsrf99ff5lrdm5tk4ua08astbbrrja5.apps.googleusercontent.com';
... |
'use strict';
module.exports = function(config) {
return {
entry: require('./entry')(config),
output: require('./output')(config),
module: {
rules: require('./rules')(config)
},
plugins: require('./plugins')(config),
context: config.sourceDir,
resolve: require('./resolve')(conf... |
const debug = require('debug')('poloniex');
const crypto = require('crypto');
const request = require('request');
const nonce = require('nonce')();
const autobahn = require('autobahn');
const EventEmitter = require('events');
const WebSocket = require('ws');
const Big = require('big.js');
const version = require('../... |
const GoogleSpreadsheet = require('google-spreadsheet')
const { promisify } = require('util')
const creds = require('../credentials/google_api.json')
async function writeOnSpreadsheet(spreadSheetId, object) {
const doc = new GoogleSpreadsheet(spreadSheetId)
try{
await promisify(doc.useSer... |
import React from 'react'
import Layout from '@theme/Layout'
import useDocusaurusContext from '@docusaurus/useDocusaurusContext'
function MainLayout({ children }) {
const context = useDocusaurusContext()
const { siteConfig = {} } = context
return (
<Layout description="An open source tool to measure and anal... |
/**
* Copyright 2019 The AMP HTML Authors. 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 require... |
//# sourceMappingURL=component---src-pages-projects-js-8ce54eb9c7dae7639295.js.map |
// - -------------------------------------------------------------------- - //
// - libs
var z = require("../");
var fs = require("fs");
var cwd = __dirname + "/../";
var assert = require("assert");
// - -------------------------------------------------------------------- - //
// - Zip
describe("Zip",function() {
... |
import React from 'react';
import PropTypes from 'prop-types';
import {View, StyleSheet, Text, Image} from 'react-native';
import LinearGradient from 'react-native-linear-gradient';
import ToggleIcon from './ToggleIcon';
import {checkSource} from './utils';
const backgroundColor = 'transparent';
const styles = Styl... |
const fs = require("fs")
const toml = require("toml")
const tomlify = require("tomlify-j0.4")
const Web3 = require("web3")
const HDWalletProvider = require("@truffle/hdwallet-provider")
const Kit = require("@celo/contractkit")
const hostChain = process.env.HOST_CHAIN || "ethereum"
// Returns a web3 instance basing on... |
import React from 'react';
import renderer from 'react-test-renderer';
import ImageColorPicker from '../image-color-picker';
function props() {
return {
imageUrl: 'https://dummyimage.com/600x400',
pickerCallback: jest.fn(),
paletteType: 'average',
colorType: 'hex',
imageType: 'jpeg',
palette... |
import React, { Component } from 'react';
import { connect } from 'react-redux';
import { Sparklines, SparklinesLine} from 'react-sparklines';
import Chart from '../components/chart';
class WeatherList extends Component {
renderWeather(cityData) {
const name = cityData.city.name;
const temps = cityData.list.map... |
export const ic_explicit_twotone = {"viewBox":"0 0 24 24","children":[{"name":"path","attribs":{"d":"M0 0h24v24H0V0z","fill":"none"},"children":[]},{"name":"path","attribs":{"d":"M5 19h14V5H5v14zM9 7h6v2h-4v2h4v2h-4v2h4v2H9V7z","opacity":".3"},"children":[]},{"name":"path","attribs":{"d":"M21 19V5c0-1.1-.9-2-2-2H5c-1.1... |
import React, { useEffect, useState } from 'react'
import { useApi } from '../../../api'
import Loading from 'react-loading'
import { Button } from 'react-bootstrap'
import ActiveRequestBody from './RequestComponents/ActiveRequestBody'
import ResolvedRequestBody from './RequestComponents/ResolvedRequestBody'
import Req... |
/*
* Copyright DataStax, Inc.
*
* 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 in wri... |
/**
* introScreen.js
* _____________________________________________________________________________
*
* @author William Malone (www.williammalone.com)
*/
/*global window, BLOCKS, Image */
BLOCKS.introScreen = function (spec, game) {
"use strict";
var introScreen = BLOCKS.eventDispatcher(),
bg,
clock,
... |
export default {
// Options.jsx
items_per_page: '/ side',
jump_to: 'Gå til side',
page: '',
// Pagination.jsx
prev_page: 'Forrige side',
next_page: 'Neste side',
prev_5: '5 forrige',
next_5: '5 neste',
prev_3: '3 forrige',
next_3: '3 neste'
}; |
/**
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @flow
*/... |
const mongoose = require('mongoose');
const db = require('../models');
mongoose.connect(process.env.MONGODB_URI || 'mongodb://localhost/workout', {
useNewUrlParser: true,
useFindAndModify: false,
useUnifiedTopology: true,
});
const workoutSeed = [
{
day: new Date(new Date().setDate(new Date().getDate() - ... |
const { SSHMachineService } = require("../services/remotes/ssh-machine-service.js")
const constants = require('../constants.js')
const path = require('path')
const { FileSystem } = require('../../../../../nativescript-cli/lib/common/file-system')
const { Logger } = require('../../../../../nativescript-cli/lib/common/l... |
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.Html = void 0;
var _base = require("./base");
class Html extends _base.BaseTransformation {
constructor(ext = 'html', isRequired = true) {
super(ext, isRequired);
}
transform(content) {
return content;
}
}
expor... |
import React from 'react'
import Dropdown from '@helpscout/hsds-react/components/Dropdown/DropdownV2'
import { cy } from '../../index'
cy.useFakeTimers()
describe('Dropdown', () => {
test('Can open a Dropdown', () => {
const props = {
items: [{ value: 'one' }, { value: 'two' }],
}
cy.render(<Dropd... |
import assert from 'assert';
import cookie from 'cookie';
import io from 'socket.io-client';
import startServer from '../src/server';
import {
createChat,
USER_SIGN_IN,
MESSAGE_SEND,
CHAT_READY,
CHAT_INIT,
USER_ADD,
USER_UPDATE,
USER_SET_ROOM,
MESSAGE_ADD,
Message
} from '../../... |
const gulp = require('gulp')
const gulpRename = require('gulp-rename')
const gulpClean = require('gulp-clean')
const gulpReplace = require('gulp-replace')
const relative = require('relative')
const prettier = require('prettier')
const resolve = require('resolve')
const webpackStream = require('webpack-stream')
const we... |
export default styles => ({
toWidth: styles.width,
toHeight: styles.height
}) |
/* @flow */
import React from 'react';
import Icon from 'mineral-ui/Icon';
import type { IconProps } from 'mineral-ui/Icon/types';
/* eslint-disable prettier/prettier */
export default function IconLooks6(props: IconProps) {
const iconProps = {
rtl: false,
...props
};
return (
<Icon {...iconProps}>... |
'use strict';
// ===============
// Widget Wrangler
// ===============
//
// This is a light-weight JavaScript library that loads "widgets" written in MV* style libraries such
// as AngularJS. It manages loading JS libraries efficiently and without conflict when they are used
// by multiple independent widgets on a pag... |
/*
* This code snippet checks if the page allows creating
* and executing new inline scripts (script-injection attacks)
* See https://github.com/bahmutov/disable-inline-javascript-tutorial
* Credit: https://github.com/bahmutov/code-snippets/blob/master/test-script-injection.js
*/
(function testInlineScriptInject... |
import * as React from 'react';
import { StyledIconBase } from '@styled-icons/styled-icon';
export const Clipboard = /*#__PURE__*/React.forwardRef((props, ref) => {
const attrs = {
"fill": "currentColor",
"xmlns": "http://www.w3.org/2000/svg"
};
return /*#__PURE__*/React.createElement(StyledIconBase, Obje... |
document.getElementById("id_business_version").innerHTML = "Business version = 2017.11.27.1";
window.addEventListener("deviceorientation",on_device_orientation);
//-----------------------------------------
function deseneaza_cerc(unghi1,unghi2)
{
var cerc = document.getElementById("id_circle");
cerc.setAttribut... |
const replacements = require('./replacements'),
element = require('./element'),
listen = require('./listen'),
string = require('./string');
// The smartquotes function should just delegate to the other functions
function smartquotes(context, ignoreClassNames=[]) {
if (typeof docum... |
import React from 'react';
import ReactDOM from 'react-dom';
import { hot } from 'react-hot-loader/root';
import './index.css';
import App from './App';
import * as serviceWorker from './serviceWorker';
const WithHotReload = process.env.NODE_ENV === 'production' ? App : hot(App);
ReactDOM.render(<WithHotReload />, do... |
const Config = require('./Config');
const config = new Config({
mode: 'development',
devtool: 'eval-source-map',
// devtool: 'cheap-module-eval-source-map',
// devtool: 'inline-source-map',
externals: {
lodash: '_',
react: 'React',
'react-dom': 'ReactDOM',
antd: 'antd',
moment: 'moment',
... |
import { Route, Redirect } from "react-router-dom";
import { useSelector } from "react-redux";
import Loader from "./Loader";
const PrivateRoute = ({ component: Component, ...rest }) => {
const userLogin = useSelector((state) => state.userLogin);
const { loading, userInfo } = userLogin;
return (
<Route
... |
CKEDITOR.dialog.add('ckawesomeDialog', function( editor ) {
function getCKAwesomeIcons(selectList ){
var result = [];
var scriptUrl = editor.fontawesomePath;
$.ajax({
url: scriptUrl,
type: 'get',
dataType: 'html',
async: false,
success: function(res... |
import { observable, action, computed } from 'mobx';
class Progress {
@observable statusText = '';
@observable visible = false;
@observable showProgress = false;
@observable showTerminal = false;
@observable progressValue = 0; // 进度
@observable progressSpeedValue = 0; // 下载速度
@observable progressRemainin... |
const request = require('request-promise')
const express = require("express")
const port = process.env.PORT || 3000;
const cron = require('node-cron')
const app = express()
app.listen(port, () => {
console.log("Server running on port 3000, created by ahsan mubariz");
});
let datayya, ODP, pdp, positif, rujukan,posit... |
/*!
Responsive 1.0.6
2014-2015 SpryMedia Ltd - datatables.net/license
*/
(function(n,p){var o=function(e,k){var h=function(d,a){if(!k.versionCheck||!k.versionCheck("1.10.1"))throw"DataTables Responsive requires DataTables 1.10.1 or newer";this.s={dt:new k.Api(d),columns:[]};this.s.dt.settings()[0].responsive||(a&&"st... |
import { __extends } from "tslib";
import { GetOpenIdTokenForDeveloperIdentityInput, GetOpenIdTokenForDeveloperIdentityResponse, } from "../models/models_0";
import { deserializeAws_json1_1GetOpenIdTokenForDeveloperIdentityCommand, serializeAws_json1_1GetOpenIdTokenForDeveloperIdentityCommand, } from "../protocols/Aws_... |
"use strict";
var hasColors = false;
if (colors) {
hasColors = true;
}
async function cssCreate() {
let bfeElements = document.getElementsByClassName("bfe");
let bfes = [];
for (let bfeElement of bfeElements) {
bfeElement.classList.forEach((item) => {
if (!bfes.includes(item) && item !== "bfe" && ite... |
import React from "react";
import { MapContainer, TileLayer, Marker, Popup } from 'react-leaflet';
// import Stations from "../ui/stations.json"
const MapExample = (props) => {
const { searchedPlaceLatLon, amenitiesFound } = props;
return (
<div>
{amenitiesFound.length === 0 && <div>Nothin... |
// cnpm install redis
// http://redis.js.org/
var redis = require("redis")
var client = redis.createClient()
client.on("error", function (err) {
console.log("Error " + err);
});
client.on("ready", function () {
console.log("ready");
});
var ClientSendChan = "";
var ClientRecvChan = "";
client.set("ClientSendCha... |
// flow-typed signature: 0fe87764d96a49db9882a0d9d4275677
// flow-typed version: <<STUB>>/vuex-module-decorators_v^0.17.0/flow_v0.131.0
/**
* This is an autogenerated libdef stub for:
*
* 'vuex-module-decorators'
*
* Fill this stub out by replacing all the `any` types.
*
* Once filled out, we encourage you to... |
import React, { PropTypes } from 'react';
import classNames from 'classnames';
const propTypes = {
className: PropTypes.string,
name: PropTypes.string.isRequired
};
const Icon = (props) => {
const { className, name, ...otherProps } = props;
const classes = classNames('material-icons', className);
... |
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// WARNING: This file was auto-generated, any change will be overridden in next release. Please use configs/es6.conf.js then run "npm run convert". //
//////////////////... |
/*!
* ionic.bundle.js is a concatenation of:
* ionic.js, angular.js, angular-animate.js,
* angular-sanitize.js, angular-ui-router.js,
* and ionic-angular.js
*/
/*!
* Copyright 2014 Drifty Co.
* http://drifty.com/
*
* Ionic, v1.1.1
* A powerful HTML5 mobile app framework.
* http://ionicframework.com/
*
* ... |
//"use strict";
// An implementation of basic necessary libraries for the web. This integrates
// with a compiled libc and with the rest of the JS runtime.
//
// We search the Library object when there is an external function. If the
// entry in the Library is a function, we insert it. If it is a string, we
// do anot... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.