text stringlengths 2 1.04M |
|---|
var io = require('socket.io')(8080);
var status = 0; //status defined if process is listening -> 0: no, 1: yes
var inputRFID = "emtpy";
var readline = require('readline');
var rl = readline.createInterface({
input: process.stdin,
output: process.stdout,
terminal: false
});
rl.on('line', function(... |
/**
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components
* @version v22.0.0
* @link http://www.ag-grid.com/
* @license MIT
*/
var __extends = (this && this.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics ... |
# add key to prevent updates from happening
db.app.configuration.update({"key" : "mongodb.updates"}, { $addToSet: {"value": "update-avatar-url-to-https"}})
# update all collections
var count=0;
db.social.users.find({"avatarURL": /^http:\/\/www.gravatar.com\//}).forEach(function(d) {
d.avatarURL=d.avatarURL.replace("h... |
const postcss = require('postcss')
const compileAmpCustom = require('./libs/compileAmpCustom')
const isPostCSSv8 = require('./libs/isPostCSSv8')
const PLUGIN_NAME = 'postcss-amp-custom'
module.exports = (option = {}) => {
option = Object.assign({
enableByteLimit: false
}, option || {})
if (isPostCSSv8(postc... |
import React from 'react';
import DonorCard from './DonorCard';
const DonorCol = ({donorCol}) => {
return (
<div className="media on-hover-box-spacing-1 ">
<div className="media-body content padding-davidtabledata rounded bg-white position-relative">
{
donorCol.map((donor)=>{
... |
var CLOSURE_UNCOMPILED_DEFINES = null;
if(typeof goog == "undefined") document.write('<script src="js/compiled/out/goog/base.js"></script>');
document.write('<script src="js/compiled/out/cljs_deps.js"></script>');
document.write('<script>if (typeof goog != "undefined") { goog.require("clojure_cup_2015.core"); } else { ... |
var lastSec = 0;
var pixelRatio;
var ct;
var width;
var height;
var iww, iw, ih;
var date;
var inductor;
function init(){
console.log("Initializing...");
window.addEventListener('resize', resize, false);
resize();
inductor = new Array();
for(j=0;j<=8;j++){
inductor[j] = new Array();
... |
import { Meteor } from 'meteor/meteor';
import { getUserPreference, RoomTypeConfig } from 'meteor/rocketchat:utils';
export class ConversationRoomType extends RoomTypeConfig {
constructor() {
super({
identifier: 'merged',
order: 30,
label: 'Conversations',
});
}
condition() {
// returns true only if... |
'use strict';
import test from 'ava';
test.beforeEach(t => {
t.context.server = require('../server/server').createServer(3000);
});
test.afterEach(t => {
t.context.server.stop();
});
test.cb('New Issue: responds with status code 200 and new poll', t => {
let options = {
method: 'POST',
url: '/new-issu... |
/*
Messenger - wrapper around some client that sets up by-message communication, channels etc
don't makes any assumptions about underlying protocol
requires for client to have methods send(object) and disconnect(), and also have event (property) messageReceived
expect incoming and outcoming messages to be binary
parad... |
function take_snapshot() {
Webcam.snap( function(data_uri) {
$(".image-tag").val(data_uri);
document.getElementById('results').innerHTML = '<img src="'+data_uri+'"/>';
} );
}
function take_snapshot_identification() {
Webcam.snap( function(data_uri) {
... |
/**
* @file tuber-time web server.
* @version 2.0.0
*/
'use strict';
var easyrtc = require('open-easyrtc');
var express = require('express');
var fs = require('fs');
var Handlebars = require('handlebars');
var io = require('socket.io');
var nconf = require('nconf');
var webServer = null;
// Try to find configuri... |
YUI.add("scrollview",function(e,t){e.Base.plug(e.ScrollView,e.Plugin.ScrollViewScrollbars)},"3.18.0",{requires:["scrollview-base","scrollview-scrollbars"]}); |
// @flow
import Color from 'color';
import * as React from 'react';
import CustomButton from './CustomButton';
import clamp from './clamp';
import './czi-color-editor.css';
function generateGreyColors(count: number): Array<Color> {
let cc = 255;
const interval = cc / count;
const colors = [];
while (cc > 0)... |
import state from '../state'
const getters={
getDragAbleBtnInfo(state){
return state.dragAbleBtnItems
},
getPageInfo(state){
return state.pageInfo
},
getState(state){
return state
}
}
export default getters; |
import React, { Component } from 'react'
import { connect } from 'dva'
import { Input, Button, Table, Modal, } from 'antd'
import styles from '../InputTests/style.less'
const error = Modal.error
class QuestionTable extends Component {
constructor(props) {
super(props)
}
componentDidMount(){
... |
module.exports = {
projects: [
'<rootDir>/apps/cb-web',
'<rootDir>/apps/cb-widget',
'<rootDir>/apps/cb-backend',
'<rootDir>/libs/bridge',
],
}; |
import React from "react"
import { Helmet } from "react-helmet"
import MainLayout from "@/layouts/Main"
import StakeCalculator from "@/components/StakeCalculator"
const Page = () => {
return (
<MainLayout>
<Helmet title="Cardano Staking Calculator" />
<StakeCalculator />
</MainLayout>
)
}
expo... |
const path = require("path");
const pkg = require("./package.json");
module.exports = async (hikaru) => {
if (!hikaru.site["siteConfig"]["feed"]["enable"]) {
return;
}
const {escapeHTML} = hikaru.utils;
const {File} = hikaru.types;
const fn = await hikaru.compiler.compile(path.join(__dirname, "atom.njk")... |
/*
* jQuery Pines Notify (pnotify) Plugin 1.2.0
*
* http://pinesframework.org/pnotify/
* Copyright (c) 2009-2012 Hunter Perrin
*
* Triple license under the GPL, LGPL, and MPL:
* http://www.gnu.org/licenses/gpl.html
* http://www.gnu.org/licenses/lgpl.html
* http://www.mozilla.org/MPL/MPL-1.1.html
*/
(fu... |
// Copyright 2017 Mathias Bynens. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
author: Mathias Bynens
description: >
Unicode property escapes for `Sentence_Terminal`
info: |
Generated by https://github.com/mathiasbynens/unicode-property-escapes-tests
Unicode v... |
const electron = require("electron");
const { ipcRenderer } = electron;
const randomButton = document.getElementById("randomBtn");
randomButton.addEventListener("click", e => {
ipcRenderer.send("getRandomWallpaper");
const randomStatusContainer = document.getElementById(
"randomStatusContainer"
);
randomS... |
import React, { useEffect } from 'react';
import { useSelector, useDispatch } from 'react-redux';
import { fetchCategoriesStartAsync, fetchPokemonByCategory } from '../actions/getData';
import { setNewFilter } from '../actions/actionTypes';
import TypeDisplayer from '../components/TypeDisplayer';
const CategoryTypes =... |
// @flow
const [TextEncoder, TextDecoder] = (() => {
if (process.env.BROWSER_OPT) {
return [
window.TextEncoder,
window.TextDecoder
]
} else {
const util = require('util')
return [
util.TextEncoder,
util.TextDecoder
]
}
})()
import BN from 'bn.js'
import bs58check fr... |
//encapsulate all code within a IIFE (Immediately-invoked-function-expression) to avoid polluting global namespace
//global object sunburst will contain functions and variables that must be accessible from elsewhere
var SunburstChart = {
sunburst: function sunburst(id, indx) {
"use strict";
var region = abmvi... |
module.exports = {
url: "https://matrix.org",
userid: "@your_user_id:matrix.org",
user: "your_user_id",
pass: "your_password",
}; |
import { Link as DefaultLink } from "@chakra-ui/react";
import { Link } from "react-router-dom";
const NavLink = ({ children, ...props }) => (
<DefaultLink
px={2}
py={1}
as={Link}
textColor={"gray.800"}
_hover={{
borderBottom: "2px",
}}
_focus={{
border: "0",
outline:"0"... |
import { Directive, ViewContainerRef, Input, Injectable, Component, Renderer2, ElementRef, HostBinding, EventEmitter, Output, TemplateRef, NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
/**
* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,missingOverride,missing... |
/* global window:false */
/*eslint-disable no-magic-numbers */
import React from "react";
import { range, random } from "lodash";
import {
Area,
VictoryArea,
VictoryAxis,
VictoryChart,
VictoryLine
} from "victory";
import importedTheme from "../../styles/theme";
const GradientPath = (props) => {
const toG... |
import { hooks as defaultHooks } from "../htmlbars-runtime";
import { merge } from "../htmlbars-util/object-utils";
// import { manualElement } from "../htmlbars-runtime/render";
import { compile } from "../htmlbars-compiler/compiler";
// import { hostBlock } from "../htmlbars-runtime/hooks";
import { equalTokens } fro... |
var
del = require('del'),
gulp = require('gulp');
// Clean dist folder
gulp.task('clean', function () {
console.log('Cleaning up…\n')
return del([
'./build/'
]);
});
gulp.task('clean:pack', function () {
return del([
'build/assets/css/listr.pack.css',
'build/assets/js/listr.pack.js'
]);
})... |
import { parseModule as esprima_parse } from 'esprima';
import * as babelParser from "@babel/parser";
import * as typescriptEstreeParser from '@typescript-eslint/typescript-estree';
import { load as cheerio_load } from 'cheerio';
import { extension } from '../util';
import { sourceTypes, sourceExtensions } from './typ... |
{
if (x === 8) {
return BIGAdAccountSelector7(7);
}
} |
import React from 'react';
import { storiesOf } from '@storybook/react';
import Card from '../components/Card';
const footerElement = () => {
return (
<p className="border-top">
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus felis nec
tellus dapibus, vestibulum lectus quis, gravida sapien.
... |
import {fromJS} from 'immutable';
const initialState = fromJS({
tracks: []
});
export default (state = initialState, action) => {
switch (action.type) {
case 'SET_TRACKS': {
return state.set('tracks', action.tracks);
break;
}
default:
return state;
}
} |
import { query, CreateCollection } from "faunadb";
import { generate } from "shortid";
import { FaunaTestDb, teardown } from "./faunaDatabases";
const { Add, Create, Get } = query;
export const FolderHasItemTestSuiteA = () => {
describe("Basic functionality", () => {
test("Addition", async () => {
... |
/**
* Piano
* Desktop browser keyboard for touch screens
*
* QWERTY (4 rows) layout
*
* @author hugohil <hugo@soixantecircuits.fr>
* @license MIT
* @version 1.0b
*/
module.exports = [
// TODO: find a nice way to implement a 'ctrl' key.
// ['1', '!'], ['2', '@'], ['3', '#'], ['4', '$'], ['5', '%'], ['6', '... |
Object.assign(exports, require('prosemirror-inputrules')); |
import { FADE_IN_STRONG_CLASS_NAME, FLEX_CENTERED_CLASS_NAME, PREFIX } from "../../../constants/classes-names";
export function renderInvalid(
{
elements: { sources: sourcesElements, sourceAnimationWrappers, sourceMainWrappers },
props: { sources }
}, i
) {
sourcesElements[i] = document.cre... |
$(function() {
$(".speedTab15").click();
function close_pop() {
if ($(".popboxes_close").length > 0) {
$(".popboxes_close").click();
}
}
function next(){
if($('.current_play').find('.progressbar').width() == $('.current_play').find('.progressbar_box').width()){
... |
// Copyright 2015 Peter Beverloo. All rights reserved.
// Use of this source code is governed by the MIT license, a copy of which can
// be found in the LICENSE file.
"use strict";
var LegacyApplication = function(config, container, callback) {
this.config_ = config;
this.container_ = container;
this.last_sche... |
{
return super.foo() + ' B';
} |
console.log('load _tone_1050_GeneralUserGS_sf2_file');
var _tone_1050_GeneralUserGS_sf2_file={
zones:[
{
midi:105
,originalPitch:5400
,keyRangeLow:0
,keyRangeHigh:56
,loopStart:7249
,loopEnd:7487
,coarseTune:0
,fineTune:4
,sampleRate:44100
,ahdsr:true
,anchor:0.01131519
//_tone.Ba... |
var state = history.state || {
'filters': {},
'page': 0,
'size': 0,
'sort': 'last_refreshed desc'
};
$.extend(config, {
'isInitializing': true,
'cataloguePages': 0,
'datasetsPerPage': 10,
'filters': [
'dataset_category',
'owner_division',
'refresh_rate',
... |
exports.parse = require('./lib/parse');
exports.stringify = require('./lib/stringify'); |
define(["exports", "@kinkajou/kinkajou/Kinkajou", "@kinkajou/svg-icon/SvgIcon"], function (_exports, _Kinkajou, _SvgIcon2) {
"use strict";
Object.defineProperty(_exports, "__esModule", {
value: true
});
_exports.AspectRatio = void 0;
function _typeof(obj) { if (typeof Symbol === "function" && typeof Sym... |
const keyName = 'bar';
const baz = 65536;
const obj1 = { foo: 256, [keyName]: 4096, baz: baz };
console.log(obj1);
const obj2 = { baz };
console.log(obj2); |
const { EventEmitter } = require('events');
const { initialize, isEnabled } = require('../lib');
class MyRepo extends EventEmitter {
constructor() {
super();
this.data = {
name: 'my-feature',
description: 'foo',
enabled: true,
strategies: [],
variants: [],
};
}
stop() {... |
import React, { Component } from 'react';
import PropTypes from 'prop-types';
import { bindActionCreators } from 'redux';
import { connect } from 'react-redux';
import { createSelector } from 'reselect';
import { Button, Form } from '@freecodecamp/react-bootstrap';
import { withTranslation } from 'react-i18next';
impo... |
/* <overflow-dimension>
*
* Used for the overflow-x and overflow-y properties
*
* CSS3: visible | hidden | scroll | auto | no-display | no-content | inherit
*/
"use strict";
var base = require('./base');
var util = require('../../util');
var validate = require('./validate');
var OverflowDimension = base.baseCo... |
import React, { Fragment, useEffect, lazy, Suspense } from 'react';
import { Route, Switch } from 'react-router-dom';
import { scrollToTop } from '../../helpers/shared/helpers';
import {
fetchSelectedPlatform,
fetchPlatforms
} from '../../redux/actions/platform-actions';
import useQuery from '../../utilities/use-qu... |
/* * * * * * * * * * * * * * * * * * * * * * * * * * * */
/* Copyright (c) 2020 Mobify Research & Development Inc. All rights reserved. */
/* * * * * * * * * * * * * * * * * * * * * * * * * * * */
/**
* Shop API
* No description provided (generated by Swagger Codegen htt... |
export const globalOptions = {
name: "young_shadow_30111Identifier",
url: "https://young_shadow_30111Identifier.botics.co",
api: "https://young_shadow_30111Identifier.botics.co/api/v1"
}
export const modulesOptions = {} |
import React, { useEffect } from "react";
// Redux Connect
import {connect} from 'react-redux';
// Router
import {withRouter, Route} from 'react-router-dom';
import {PrivateRoute} from '../utils/PrivateRoute';
// Actions
import {homeLoaded, fetchUser} from '../actions/actions';
// Components
import Landing from './Land... |
import React from 'react';
import PropTypes from 'prop-types';
/**
* @category communication
* @component loading-spinner
* @variations collab-ui-react
*/
const Loading = props => {
const {
small,
} = props;
return (
<div className={`cui-loading ${small ? 'cui-loading--small' : ''}`}>
<span c... |
module.exports = (function(){
var fs = require('fs');
var path = require('path');
var index = 'var path=require("path"),log="",fs=require("fs"),util=require("util"),router=require("express").Router();function req(e,r,t){var i=require(t);r=r.replace(/@/g,":"),log+=util.format("Mapping %s %s to %s \\n",e.toUpperCase()... |
const path = require('path');
let dev = "http://localhost:3001";
let produ = "";
let serverPath = dev;
let robotSavePath = path.resolve(__dirname,'../public/images/robot')
let robotServerPath = `${serverPath}/images/robot`;
const config = {
serverPath: serverPath,
robotServerPath:robotServerPath,
robotS... |
/* jshint indent: 2 */
module.exports = function(sequelize, DataTypes) {
return sequelize.define(
"choiselang",
{
idCHOISELANG: {
type: DataTypes.INTEGER(11),
allowNull: false,
primaryKey: true,
autoIncrement: true
},
nameLang: {
type: DataTypes.STRIN... |
module.exports=function(e){function r(m){if(y[m])return y[m].exports;var a=y[m]={exports:{},id:m,loaded:!1};return e[m].call(a.exports,a,a.exports,r),a.loaded=!0,a.exports}var y={};return r.m=e,r.c=y,r.p="",r(0)}({0:function(e,r,y){y(545),e.exports=y(545)},545:function(e,r){!function(e,r){kendo.cultures.luo={name:"luo"... |
const { expect } = require('chai');
const bootstrap = require('../test_helper');
describe('Client#add', () => {
before(bootstrap(__dirname, { config: 'client_secrets' }));
it('client secret is mandatory if even one of the authz needs it', function () {
expect(this.provider.Client.needsSecret({
token_en... |
'use strict';
exports.__esModule = true;
exports.default = {
ready: 'ready',
readyForBrowserManipulation: 'ready-for-browser-manipulation',
waitForFileDownload: 'wait-for-file-download'
};
module.exports = exports['default']; |
import EmptySpace from './EmptySpace';
export default EmptySpace; |
import apiEndpoints from 'services/apiEndpoints';
const config = {
// basename: only at build time to set, and don't add '/' at end off BASENAME for breadcrumbs, also don't put only '/' use blank('') instead,
// like '/berry-material-react/react/default'
basename: '',
defaultPath: '/dashboard/default',
fontF... |
// flow
import * as React from 'react';
import { RefreshControl, View, Image } from 'react-native';
import { connect } from 'react-redux';
import type { Dispatch } from 'redux';
import { KeyboardAwareScrollView } from 'react-native-keyboard-aware-scroll-view';
import Banner from '../Banner';
import SyncActions, {
isS... |
var pi = Math.PI,
tau = 2 * pi,
epsilon = 1e-6,
tauEpsilon = tau - epsilon;
function Path() {
this._x0 = this._y0 = // start of current subpath
this._x1 = this._y1 = null; // end of current subpath
this._ = [];
}
function path() {
return new Path();
}
Path.prototype = path.prototype = {
constr... |
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang("a11yhelp", "af", {
title: "Toeganglikheid instruksies",
contents: "Hulp inhoud. Druk ESC om toe te maak.",
legend: [{
name: "Alg... |
import * as React from 'react';
import { View, Text, StyleSheet, ImageBackground, FlatList, Dimensions, StatusBar, TextInput, TouchableNativeFeedback} from 'react-native';
import { MaterialIcons } from '@expo/vector-icons';
const windowWidth = Dimensions.get('window').width;
function profile({navigate}) {
const... |
/**
* Layout component that queries for data
* with Gatsby's StaticQuery component
*
* See: https://www.gatsbyjs.org/docs/static-query/
*/
import React from "react"
import PropTypes from "prop-types"
import { StaticQuery, graphql, Link } from "gatsby"
import Header from "./header"
import "../../static/styles/mai... |
#!/usr/bin/env node
'use strict';
const minimist = require('minimist');
const flop = require('..');
const argv = minimist(process.argv.slice(2));
let path;
const keys = Object.keys(argv);
if (keys.length === 1)
if (argv._.length)
unknown();
else
help();
else
keys.some((name) => {
... |
;
(function(undefined) {
"use strict"
var _global;
function result(args, fn) {
var argsArr = Array.prototype.slice.call(args);
if (argsArr.length > 0) {
return argsArr.reduce(fn);
} else {
return 0;
}
}
// 本页面刷新
$(".refres").on('click', f... |
'use strict';
const safeBuffer = require('safe-buffer');
const Buffer = safeBuffer.Buffer;
/**
* Merges an array of buffers into a new buffer.
*
* @param {Buffer[]} list The array of buffers to concat
* @param {Number} totalLength The total length of buffers in the list
* @return {Buffer} The resulting buffer
... |
window.onload=()=>{for(var a=a=>{for(var b=0;b<a.length;b++)if("a"==a[b].localName)return a[b];return null},b=b=>{var c=a(b.path);if(null!==c){for(var d=document.querySelectorAll(".bb-container:not(#"+c.dataset.bb+")"),e=0;e<d.length;e++)d[e].classList.add("bb-d-none");document.getElementById(c.dataset.bb).classList.to... |
instrumentation = {
tests: [],
counters: {},
currentTestID: 1,
startTime: Date.now(),
startTest: function(category) {
var newTestID = this.currentTestID++,
newTest = {
testID: newTestID,
category: category
};
this.tests[newTestID] = newTest;
if (category) {
!(category in this.counters) ... |
import { check, sleep } from 'k6';
import remote from 'k6/x/remotewrite';
export let options = {
scenarios: {
sendBatch: {
executor: 'constant-vus',
exec: 'sendBatch',
vus: 10,
duration: '1m',
},
increaseCounter: {
executor: 'const... |
"use strict";
module.exports = {
"rules": {
// Enforces getter/setter pairs in objects
"accessor-pairs": 0,
// treat var statements as if they were block scoped
"block-scoped-var": 0,
// specify the maximum cyclomatic complexity allowed in a program
"complexity": [0, 11],
// require retur... |
import React, { Component } from 'react'
import PropTypes from 'prop-types'
import ethUtil from 'ethereumjs-util'
import classnames from 'classnames'
import { ObjectInspector } from 'react-inspector'
import { ENVIRONMENT_TYPE_NOTIFICATION, MESSAGE_TYPE } from '../../../../../app/scripts/lib/enums'
import { getEnvironm... |
import './minify.css'
import css from './imported.css'
text('.imported-css', css)
import sass from './sass.scss'
text('.imported-sass', sass)
import less from './less.less'
text('.imported-less', less)
import stylus from './stylus.styl'
text('.imported-stylus', stylus)
import rawCss from './raw-imported.css?raw'
t... |
import React from 'react';
import renderer from 'react-test-renderer';
import configureMockStore from 'redux-mock-store';
import thunk from 'redux-thunk';
import { Provider } from 'react-redux';
import setPerPage from '../../../client/connect/setPerPage';
import { request } from '../../../client/store/modules/numbers';... |
(function(){
var toggleStateOption = function(e) {
var $country_option = $(this);
var countrySelected = $country_option.val();
var $target = $('#' + $country_option.attr('data-change-state'));
if (countrySelected == 'Australia') {
$target.empty();
$.each(au... |
module.exports = parseQueryBuffer
function parseQueryBuffer (queryBuf) {
var ast = JSON.parse(queryBuf.slice(12, queryBuf.length).toString())
return {
type: ast[0],
term: ast[1],
opts: ast[2]
}
} |
/**
* Test if passed variable is a Valid JSON String
* @param {*} str the object that you want to test
* @returns {Boolean} result, true if passed variable is a Valid JSON String
*/
function isJSON(str) {
if (!isString(str) || ( /^\s*$/.test(str) )) return false;
str = str.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F... |
import React, { Component } from 'react';
import TextField from '@material-ui/core/TextField';
import Button from '@material-ui/core/Button';
import Box from '@material-ui/core/Box';
import Typography from '@material-ui/core/Typography';
import Alert from '@material-ui/lab/Alert';
class Input extends Component {
... |
// This file was procedurally generated from the following sources:
// - src/dstr-binding/ary-ptrn-elem-id-init-undef.case
// - src/dstr-binding/default/for-of-let.template
/*---
description: Destructuring initializer with an undefined value (for-of statement)
esid: sec-for-in-and-for-of-statements-runtime-semantics-la... |
/*
* ! ${copyright}
*/
// Provides control sap.m.P13nSortPanel.
sap.ui.define([
'./library',
'./P13nConditionPanel',
'./P13nPanel',
'./P13nSortItem'
], function(library, P13nConditionPanel, P13nPanel, P13nSortItem) {
"use strict";
// shortcut for sap.m.P13nPanelType
var P13nPanelType = library.P13nPanelType;... |
module.exports = {
rules: {
/**
* 禁止对导入的模块进行赋值
*/
'no-import-assign': 'error',
},
}; |
/* Starts on page 76/293 or 82 of Players Handbook
*Cheat Sheet
Paladin
desc
classFeatures
pros
abilities
subClass
-Oath of Devotion
name
desc
abilites
-Oath of the Ancients
name
desc
abilites
-Oath of Vengeance
name
desc
abilites
*/
c... |
//>>built
define("dojox/atom/widget/nls/kk/FeedViewerEntry",({deleteButton:"[Жою]"})); |
var apiUrl = "http://backend.carolinacon.kctf.cloud:4242";
function getMenuItems() {
$.ajax({
url: apiUrl + "/menu",
type: "GET",
beforeSend: function (xhr) { xhr.setRequestHeader('X-Authenticate', localStorage.getItem("the-pig-authentication")) },
success: function (result) {
menuHtml = "";
... |
// The Module object: Our interface to the outside world. We import
// and export values on it, and do the work to get that through
// closure compiler if necessary. There are various ways Module can be used:
// 1. Not defined. We create it here
// 2. A function parameter, function(Module) { ..generated code.. }
// 3. ... |
class MapController {
constructor(dao) {
this.dao = dao;
}
async handlePostPosition(req, res) {
try {
if(!req.body || !("username" in req.body) || !("position" in req.body))
return res.status(400).end();
if(!("timestamp" in req.body.position) || !("... |
import BaseHelper from './BaseHelper';
/**
* 网格帮助器
* @author tengge / https://github.com/tengge1
*/
function GridHelper() {
BaseHelper.call(this);
}
GridHelper.prototype = Object.create(BaseHelper.prototype);
GridHelper.prototype.constructor = GridHelper;
GridHelper.prototype.start = function () {
app.on(... |
/*
Los nombres especificadoes en los types de cada actions
están sujetos a duplicarse por el mismo hecho de ser cadenas.
*/
export const ADD_ARTICLE = 'ADD_ARTICLE'; |
import React from 'react';
import { AppProvider } from './src/context/AppContext';
export const wrapRootElement = ({ element }) => <AppProvider>{element}</AppProvider>; |
function funcao(parametro) {
var variavel = 1;
return parametro + variavel * 2;
}
var x = 4;
console.log(funcao(x + 3));
function funcao() {
var variavel = 1;
return parametro + variavel * 2;
}
x = 4;
parametro = x + 3;
console.log(funcao());
function funcao(parametro) {
var variavel = 1;
co... |
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var tslib_1 = require("tslib");
var React = tslib_1.__importStar(require("react"));
var styled_icon_1 = require("@styled-icons/styled-icon");
exports.SpeakerPhone = React.forwardRef(function (props, ref) {
var attrs = {
"fill": "cu... |
/*! For license information please see ui.js.LICENSE */
"!="
"!=" |
(function(){
var Immutable, bluebird, ref$, map, take, reverse, each, join, split, isType, empty, UpdateTransaction, isPromise, arrayCursor, objectCursor, notifyListeners, flushUpdates, performUpdate, Cursor, toString$ = {}.toString;
Immutable = require('immutable');
bluebird = require('bluebird');
ref$ = requi... |
module.exports = {
"pagination": {
"offset": 0,
"limit": 50,
"total": 2
},
"containers": [
{
id: "somerandomid",
organisationId: 12345,
containerType: "private",
sharedOrganisationList: [],
displayName: "Testcontainer Test",
containerName: "testcontainer-test",
... |
/* @flow */
import config from '../config'
import { warn } from './debug'
import { set } from '../observer/index'
import { unicodeRegExp } from './lang'
import { nativeWatch, hasSymbol } from './env'
import {
ASSET_TYPES,
LIFECYCLE_HOOKS
} from 'shared/constants'
import {
extend,
hasOwn,
camelize,
toRawT... |
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the Lic... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.