text stringlengths 2 1.04M |
|---|
/**
*
* @properties={type:12,typeid:36,uuid:"e2aa3822-4466-484b-8fa5-7eecd91d4d0d"}
*/
function display_column_value()
{
switch (filter_type) {
case 'Value':
return column_value
break
case 'Function':
return method_name + '(' + column_value + ')'
break
default:
return null
break
}
} |
'use strict'
const TraceAnalyser = require('./traceAnalyser')
const TraceCache = require('./traceCache')
const TraceStepManager = require('./traceStepManager')
const traceHelper = require('./traceHelper')
const remixLib = require('@remix-project/remix-lib')
const util = remixLib.util
function TraceManager (options) {... |
import React from 'react'
import SEO from "../../components/seo"
import Layout from '../../containers/layout/layout'
import Header from '../../containers/layout/header/header-one'
import Footer from '../../containers/layout/footer/footer-one'
import PageHeader from '../../components/pageheader'
import CTA from '../../c... |
// crio uma nova migration e so coloco a coluna que quero, ao invez de editar aquela outra
module.exports = {
up: (queryInterface, Sequelize) => {
return queryInterface.addColumn('users', 'avatar_id', {
type: Sequelize.INTEGER,
references: { model: 'files', key: 'id' }, // pego o o id do files como fo... |
import './VerticalDivider.scss';
import { Divider } from '@patternfly/react-core/dist/esm/components/Divider/Divider';
import React from 'react';
export const VerticalDivider = () => (
<Divider className="pf-m-vertical"/>
);
export default VerticalDivider; |
import React from 'react';
import { Container } from '../../styles/global';
import { ContainerItens } from './styles';
import SquareContainer from '../../components/SquareContainer';
import CircleContainer from '../../components/CircleContainer';
import IndexText from '../../components/IndexText';
export default func... |
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.ElementMapper = void 0;
var kontent_core_1 = require("@kentico/kontent-core");
var config_1 = require("../config");
var elements_1 = require("../elements");
var models_1 = require("../models");
var resolvers_1 = require("../resolvers")... |
AModel = Backbone.Model.extend({});
AView = Backbone.View.extend({
render: function(){
var html = $("\
<div id='eventDiv' data-bind='text event:foo' />\
<img id='avatar' data-bind='src url; class name'>\
<input id='noType'>\
<div id='showHideThing' data-bind='displayed isValid' />\
... |
import React from 'react';
import {Link} from "react-router-dom";
import "./style.css"
function Discover() {
return (
<section id="section-discover">
<h1>RecipeFinder</h1>
<p>Find the right recipes for the ingredients you have</p>
<Link className="btn-rf-primary" to="#ab... |
'use strict';
var yeoman = require('yeoman-generator');
var chalk = require('chalk');
var yosay = require('yosay');
module.exports = yeoman.generators.Base.extend({
prompting: function () {
var done = this.async();
// Have Yeoman greet the user.
this.log(yosay(
'Welcome to the mind-blowing ' + cha... |
export default [
{
title: 'Paham Ekspor dari Awal sampai akhir',
image: 'https://source.unsplash.com/kyCNGGKCvyw/840x840',
price: "1.800.000.000",
horizontal: true,
type:'Farming',
description:'Pelajari teknis mendaptakan izin untuk ekspor bersama para mentor',
people:300
... |
import 'core-js/fn/array/every'
import 'core-js/fn/array/find-index'
import 'core-js/fn/array/find'
import 'core-js/fn/array/keys'
import 'core-js/fn/object/assign'
import 'core-js/fn/object/entries'
import 'core-js/fn/number/is-integer'
import 'core-js/fn/math/sign'
import 'core-js/fn/promise'
import Dinero from './d... |
const colors = require('colors/safe');
const fs = require('fs');
const JSON5 = require('json5');
const shell = require('shelljs');
const stringify = require('json-stringify-pretty-compact');
const fileTree = require('../lib/file_tree.js');
const idgen = require('../lib/idgen.js');
const matcher = require('../lib/match... |
const crypto = require('crypto');
const util = require('util');
const randomBytes = util.promisify(crypto.randomBytes);
const HASHING_ALG = 'SHA256';
const CIPHER_ALG = 'aes-128-cbc';
class MessageProtocol {
constructor(ourPrivateKey) {
this.ourPrivateKey = ourPrivateKey;
}
serialize(body, their... |
import express from 'express';
import { middleware } from '..';
import { wrap } from '../..';
import pageAgordoj from './_agordoj.js';
import pageArkivo from './_arkivo.js';
import pageNumero from './_numero.js';
import pagePretigi from './_pretigi.js';
import pageVenontaj from './_venontaj.js';
/**
* Sets up the r... |
var classep___sejm___wniesiony___projekt =
[
[ "__toString", "classep___sejm___wniesiony___projekt.html#a7516ca30af0db3cdbf9a7739b48ce91d", null ],
[ "getDataStruct", "classep___sejm___wniesiony___projekt.html#a79dabf680e30ee6e62508a8df24ed243", null ],
[ "projekt", "classep___sejm___wniesiony___projekt.htm... |
class Tab {
constructor(props) {
this.element = props;
this.tab = props.dataset.tab;
this.review = document.querySelector(`.review[data-review='${this.tab}']`);
this.element.addEventListener("click", () => this.active());
}
hidden() {
document.querySelector(".review-active").classList.toggle(... |
"use strict";
var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
return cooked;
};
var __importDefault = (this && this.__importDefault) || function (mod) {
... |
var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
return cooked;
};
import React from 'react';
import styled from 'styled-components';
export var WhatsappSquar... |
$(document).ready(function(){
var mycode=localStorage.getItem("my_code");
console.log(mycode);
//向页面添加数据
var photo=function(){
// 获取群号
var group_num=localStorage.getItem("group_num");
//获取apptoken
var apptoken=localStorage.getItem("apptoken");
//转换数据格式
... |
// 这里的后缀都是 .js 因为打包出来的都是js文件,而不是.vue文件,我们要告诉客户端跳转那个js
// 这里的路径和dev.json路径的区别
// pages里面配置的是路由跳转的地址,也就是dev生成的 dist文件夹下的js bundle路径 从dist/js开始
// dev.json 的 exports 需要打包的js地址,填入src的需要被打包成js bundle的地址 从src开始
export default {
//iapppay
'iapppay.home': {
title: '首页',
url: '/pages/iapppay/home/... |
// formats:
// str: "dd-mm-yyyy hh:mm"
// number:
// date: dayNumber (years included)
// time: minuteNumber
Date.prototype.copy = function() {return new Date().setDateFromStr(this.toString(true));}
Date.prototype.stringIsDate = function(_date) {
if (!_date) return false;
return !isNaN(
new Date().setDateFromStr... |
/*!
* CanJS - 2.3.27
* http://canjs.com/
* Copyright (c) 2016 Bitovi
* Thu, 15 Sep 2016 21:14:18 GMT
* Licensed MIT
*/
/*can@2.3.27#view/stache/mustache_core*/
define([
'can/util/library',
'can/view/utils',
'can/view/mustache_helpers',
'can/view/expression',
'can/view/live',
'can/elements... |
Ext.define('KitchenSink.model.Employee', {
extend: 'KitchenSink.model.Base',
fields: [{
name: 'employeeNo'
}, {
name: 'rating'
}, {
name: 'averageRating',
calculate: function (data) {
var average, i,
ratings = data.rating || [],
... |
/**
* @typedef {object} Phaser.GameObjects.RenderTexture.Types.RenderTextureConfig
* @since 3.2.0
*
* @property {number} [x=0] - The x coordinate of the RenderTextures position.
* @property {number} [y=0] - The y coordinate of the RenderTextures position.
* @property {number} [width=32] - The width of the RenderT... |
#!/usr/bin/env node
/**
* @license Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
/* eslint-env node */
/**
* This script removes files and directories created when calling `(yarn|npm) install`.
*
... |
// Copyright 2019 Google LLC
//
// 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 ... |
class Boat {
constructor(x, y, width, height, boatPos, boatAnimation) {
var options = {
restitution: 0.8,
friction: 1.0,
density: 1.0,
label: "boat"
};
this.animation = boatAnimation;
this.speed = 0.05;
this.body = Bodies.rectangle(x, y, width, height, options);
this.wi... |
(function (global, factory) {
if (typeof define === "function" && define.amd) {
define(['exports', '../createIcon'], factory);
} else if (typeof exports !== "undefined") {
factory(exports, require('../createIcon'));
} else {
var mod = {
exports: {}
};
factory(mod.exports, global.createIc... |
/**
* @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
CKEDITOR.plugins.setLang( 'placeholder', 'th', {
title: 'คุณสมบัติเกี่ยวกับตัวยึด',
toolbar: 'สร้างตัวยึด',
name: 'Placeholder Name', // M... |
window.bookSummaryJSON = "<p>When Admiral William Halsey selected Destroyer Squadron 21 to lead his victorious ships into Tokyo Bay to accept the Japanese surrender, it was the most battle-hardened US naval squadron of the war. </p> <p>But it was not the squadron of ships that had accumulated such an inspiring résumé; ... |
'use strict'
const path = require('path')
const utils = require('./utils')
const config = require('../config')
const vueLoaderConfig = require('./vue-loader.conf')
function resolve (dir) {
return path.join(__dirname, '..', dir)
}
const createLintingRule = () => ({
test: /\.(js|vue)$/,
loader: 'eslint-loader',
... |
import { useRef, useEffect } from "react";
export default function useConstantProp(
initialValue,
defaultValue,
options = {}
) {
const { componentName, propName, errorHandler } = options;
const { current: value } = useRef(
initialValue != null ? initialValue : defaultValue
);
useEffect(() => {
... |
// Karma configuration file, see link for more information
// https://karma-runner.github.io/1.0/config/configuration-file.html
module.exports = function (config) {
config.set({
basePath: '',
frameworks: ['jasmine', '@angular-devkit/build-angular'],
plugins: [
require('karma-jasmine'),
requir... |
import React from 'react'
import footerData from './footerData'
import './footer.css'
const Footer = props => {
function mapData(){
return footerData.map((item, index) => {
return (
<li key={index} className='footer-item'>
<a href={item.link}>
{item.text}
</a>
... |
/*
-- GULP --
Main
*/
var gulp = require('gulp'),
babel = require('gulp-babel'),
ext_replace = require('gulp-ext-replace'),
config = require('./config');
/*
Babel Task
* Turn ES6 to ES5
*/
gulp.task('babel', function() {
return gulp.src(config.appDevFiles)
... |
const assert = require('assert')
const { Pool } = require('../../ecosim/pool')
describe('Pool', () => {
describe('getRandomPool', () => {
it('gets a random pool', () => {
const length = 10
const entities = 5
assert.equal(typeof Pool.getRandomPool(entities, length), 'obje... |
/**
* This module creates an proxy server. It is used in Shopware storefront for the
* hot module replacement to allow the server to automatically detect if the hot mode
* is activated or not.
*/
const { createServer, request } = require('http');
const { spawn } = require('child_process');
module.exports = functi... |
/// <reference path="../js/plugins/blueimp-gallery/js/blueimp-gallery.min.js" />
function config($stateProvider, $urlRouterProvider, $ocLazyLoadProvider, IdleProvider, KeepaliveProvider) {
// Configure Idle settings
IdleProvider.idle(5); // in seconds
IdleProvider.timeout(120); // in seconds
$urlRout... |
import React from 'react'
const SettingsStore = () => {
return <div>Store</div>
}
export default SettingsStore |
import Discord from 'discord.js';
import auth from 'auth.json';
import twitchClient from 'twitchClient.js';
const client = new Discord.Client();
client.on('ready', () => {
console.log("Let's do this!");
});
client.on('message', message => {
if (message.content.contains('!aretheystreaming')) {
let st... |
jQuery(function($) {
/**
* Allow the user to click on the element to select it.
*
* @param string elm Element The html element to be selected
*/
var metaslider_select_text = function (elm) {
var range;
var selection;
// Most b... |
'use strict'
const { assign, map, isArray, isObject, isFunction, isUndefined } = require('lodash');
const { ServiceProvider } = require('@adonisjs/fold');
class ContextProvider extends ServiceProvider {
_registerManager () {
this.app.singleton('Context/Manager', () => {
const ContextManager = require('../... |
/**
* Theme: Metrica - Responsive Bootstrap 5 Admin Dashboard
* Author: Mannatthemes
* Editable Js
*/
//define data array
var tabledata = [
{id:1, name:"Oli Bob", progress:12, gender:"male", rating:1, col:"red", dob:"19/02/1984", car:1},
{id:2, name:"Mary May", progress:1, gender:"female", rating:2, col:"bl... |
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
|
var crust, toppings, size, price, total;
function get(size, crust, toppings, total) {
this.size = size;
this.crust = crust;
this.toppings = toppings;
this.total = total;
}
$(document).ready(function () {
$("#orders").submit(function (event) {
event.preventDefault();
var totalPrices = [];
var gra... |
/**
* app.js
*
* This is the entry file for the application, only setup and boilerplate
* code.
*/
import 'babel-polyfill';
// TODO constrain eslint import/no-unresolved rule to this block
// Load the manifest.json file and the .htaccess file
import 'file?name=[name].[ext]!./manifest.json'; // eslint-disable-lin... |
/*
Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
var CKEDITOR_LANGS=function(){var c={af:"Afrikaans",ar:"Arabic",az:"Azerbaijani",bg:"Bulgarian",bn:"Bengali/Bangla",bs:"Bosnian",ca:"Catalan",cs:"Czec... |
/*
@adobe/react-spectrum-workflow (c) by Adobe
@adobe/react-spectrum-workflow is licensed under a
Creative Commons Attribution-NoDerivatives 4.0 International License.
You should have received a copy of the license along with this
work. If not, see <http://creativecommons.org/licenses/by-nd/4.0/>.
*/
import React fro... |
import React from 'react';
import Feedback from '../feedback';
import { mount } from 'enzyme';
import toJson from 'enzyme-to-json';
import { expectThankYou, textTooLong, textJustRight } from './shared';
import forwardEvent from '../forward-event';
import * as Sentry from '@sentry/browser';
jest.mock('@sentry/browser')... |
document.addEventListener("DOMContentLoaded", function () {
document.querySelector("#btn").disabled = true;
document.querySelector("#input1").onkeyup = () => {
var selectdropdown = document.querySelectorAll("select");
for (let i = 0; i < selectdropdown.length; i++) {
selectdropdown[i... |
/*!
* bytes
* Copyright(c) 2012-2014 TJ Holowaychuk
* Copyright(c) 2015 Jed Watson
* MIT Licensed
*/
'use strict';
/**
* Module exports.
* @public
*/
module.exports = bytes;
module.exports.format = format;
module.exports.parse = parse;
/**
* Module variables.
* @private
*/
var formatThousandsRegExp = /\... |
/* @generated */
// prettier-ignore
if (Intl.DisplayNames && typeof Intl.DisplayNames.__addLocaleData === 'function') {
} |
const chai = require("chai");
const chaiAsPromised = require("chai-as-promised");
const expect = chai.expect;
chai.use(chaiAsPromised);
const kindOf = require("kind-of");
const {removeStubs, stubClient} = require("../mocks/ElvClient.mock");
const {argList2Params, removeElvEnvVars} = require("../helpers/params");
rem... |
require("safestart")(__dirname);
require("babel-register");
require("dotenv").config({ silent: true }); |
define({
"settingsHeader": "Angi detaljene for GeoLookup-widgeten",
"settingsDesc": "Suppler en liste med lokasjoner fra en CSV-fil mot polygonlagene i kartet. Valgte felt fra polygonlagene legges ved lokasjonene.",
"settingsLoadingLayers": "Vent mens lagene lastes inn.",
"settingsConfigureTitle": "Konfigurer f... |
// https://classic.warcraftlogs.com/v2-api-docs/warcraft/rankingcomparetype.doc.html
const WCLOGSRankingCompareType =
{
Rankings: 'Rankings',
Parses: 'Parses',
}
// https://classic.warcraftlogs.com/v2-api-docs/warcraft/characterrankingmetrictype.doc.html
const WCLOGSCharacterRankingMetricType =
{
// SH... |
var tb_position;
var cardClasses = 'assistant-card animate';
var cardSelector = '.assistant-card.animate';
jQuery( document ).ready( function( $ ) {
/**
* WP Thickbox tb_position() is being overriden by media-upload.js (known bug: https://core.trac.wordpress.org/ticket/39267)
* we fix this by writing our own tb_... |
Ext.define('KitchenSink.view.grid.ActionsGridController', {
extend: 'Ext.app.ViewController',
alias: 'controller.actionsgrid',
renderChange: function(val) {
var out = Ext.util.Format.number(val, '0.00');
if (val > 0) {
return '<span style="color:' + this.getView().profileInfo.g... |
module.exports={A:{A:{"2":"K C G E A B CB"},B:{"2":"D u Y I M H"},C:{"2":"0 UB F J K C G E A B D u Y I M H N O P Q R S T U V W X w Z a b c d SB RB","194":"1 2 3 4 5 6 7 e f L h i j k l m n o p q r s t y z v"},D:{"2":"F J K C G E A B D u Y I M H N O P Q R S T U V W X w Z a b c d e f L h i j k l m n o p q r s t y z","322... |
var inst = require("../index").getInstance();
module.exports = inst.use("cssbase-context"); |
// jQuery.Ion.Sound | version 2.1.3 | https://github.com/IonDen/ion.sound |
/**
* Copyright (c) 2018 Public Library of Science
*
* 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,... |
// Copyright (c) 2015, Dataent Technologies Pvt. Ltd. and Contributors
// MIT License. See license.txt
dataent.provide("dataent.customize_form");
dataent.ui.form.on("Customize Form", {
onload: function(frm) {
dataent.customize_form.add_fields_help(frm);
frm.set_query("doc_type", function() {
return {
tra... |
import React from 'react';
import ResetPassword from './ResetPassword';
export default {
title: 'components/Login/ResetPassword',
component: ResetPassword,
};
export const Basic = () => <ResetPassword />; |
/*
* . .o8 oooo
* .o8 "888 `888
* .o888oo oooo d8b oooo oooo .oooo888 .ooooo. .oooo.o 888 oooo
* 888 `888""8P `888 `888 d88' `888 d88' `88b d88( "8 888 .8P'
* 888 888 888 888 8... |
var listenPort = 8081;
var express = require('express');
var connect = require('body-parser');
var app = express();
app.use(connect.json());
app.use(connect.urlencoded({ extended: true }));
var Datastore = require('nedb');
var db = new Datastore({ filename: 'datastore.db', autoload: true });
app.use(express.static(... |
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var AppConfig = /** @class */ (function () {
function AppConfig() {
this.apiUrl = 'https://teama-webapi.azurewebsites.net';
}
return AppConfig;
}());
exports.AppConfig = AppConfig;
;
//# sourceMappingURL=app.config.js.map |
/**
* Minified by jsDelivr using Terser v3.14.1.
* Original file: /npm/hyperformula@0.1.3/dist/languages/enGB.js
*
* Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files
*/
//# sourceMappingURL=/sm/f1d72291621a8c8f9ff01dd12efd9ce6f316b458dd9705471... |
import './style.css'
import * as THREE from 'three'
import { OrbitControls } from 'three/examples/jsm/controls/OrbitControls.js'
/**
* Base
*/
// Canvas
const canvas = document.querySelector('canvas.webgl')
// Scene
const scene = new THREE.Scene()
/**
* Object
*/
const geometry = new THREE.BoxGeometry(1, 1, 1)
c... |
define(['../two'],function(a){
return 1+a;
}); |
"use strict";
var arow_1 = require('./arow');
var data_loader_1 = require('./data_loader');
var featureSize = 1355191;
var r = 0.1;
var clf = new arow_1.AROW(featureSize, r);
var trainDataFile = 'data/news20_train';
var testDataFile = 'data/news20_test';
console.log('asynchronous stream data read training');
data_loade... |
module.exports = {
siteMetadata: {
title: ' Shaping Sur 2020',
description:
'Evento de experiencias basadas en las inquietudes y anhelos de referentes de cambio a nivel regional, donde las actividades centradas en los procesos dinámicos de construcción regional nos servirán para generar insumos para ... |
import React from 'react';
import DevelopersPage from './DevelopersPage';
describe('DevelopersPage', () => {
it('renders without error', () => {
});
}); |
var callbackArguments = [];
var argument1 = function callback(a,b,c) {
callbackArguments.push(JSON.stringify(arguments))
argument3 = {"ER":"K","1.2066684398691096e+308":"","":893,"3.377960715099946e+307":157,"8.270672171154207e+307":"8sR"}
base_0[8][0] = "|AK5"
argument2[6] = "@;"
return a*b/c
};
var argument2 = null;... |
var deviceDriver = require('./puloonrs232')
const actionEmitter = require('../action-emitter')
var BillDispenser = function (config) {
this.device = deviceDriver.factory(config.device)
this.initialized = false
this.initializing = false
this.type = 'Puloon'
}
BillDispenser.factory = function factory (config) {... |
window._ = require('lodash');
/**
* We'll load jQuery and the Bootstrap jQuery plugin which provides support
* for JavaScript based Bootstrap features such as modals and tabs. This
* code may be modified to fit the specific needs of your application.
*/
try {
window.Popper = require('popper.js').default;
... |
"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const protocol_1 = __importDefault(require("../../protocol"));
const command_1 = __importDefault(require... |
const User = require("./models/user_model");
const Order = require("./models/order_model");
const { generateAccessToken } = require("./helpers");
const md5 = require("md5");
/**
*
* @module user_action
*
*/
/**
* Callback for loginUser.
*
* @callback loginUserCallback
* @param {Error} err - Error if something... |
// Hi, I'm Yanzhan. I'm interested in all kinds of algorithmic problems. Also, I'm fascinated with javascript. If you want to learn more about programming problems and javascript, please visit my Youtube Channel (https://www.youtube.com/channel/UCDkz-__gl3frqLexukpG0DA?view_as=subscriber), Twitter Account (https://twit... |
// A Dependency consists of a PackageConstraint (like "foo@=1.2.3")
// and flags, like "isWeak".
const PV = require('../package-version-parser/package-version.js');
const Dependency = function (packageConstraint, flags) {
if (typeof packageConstraint !== 'string') {
// this `if` is because Match.OneOf is reall... |
'use strict';
module.exports = {
up: (queryInterface, Sequelize) => {
return queryInterface.addColumn(
'AssetNotes', // name of Source model
'AssetId', // name of the key we're adding
{
type: Sequelize.INTEGER,
references: {
model: 'Assets', // name of Target model
... |
import {Button} from "@material-ui/core";
import React from "react";
export const errorPage = (message = "No Internet Connection", onclick, button = <Button
onClick={onclick}>Retry</Button>) => (
<div className={"errorPage text-center"}
style={{position: "absolute", top: "50%", left: "50%", transform: "translate(... |
import _extends from "@babel/runtime/helpers/extends";
import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/objectWithoutPropertiesLoose";
/* eslint-disable react/no-unused-prop-types */
import * as React from 'react';
import PropTypes from 'prop-types';
import { Popper } from 'react-popper';
import { val... |
{
var __result1 = ! (String.prototype.indexOf.hasOwnProperty('length'));
var __expect1 = false;
}
var __obj = String.prototype.indexOf.length;
String.prototype.indexOf.length = (function ()
{
return "shifted";
});
{
var __result2 = String.prototype.indexOf.length !== __obj;
var __expect... |
var Hapi = require('hapi');
var accept = require('../../').default;
var assert = require('chai').assert;
describe('hapi', function() {
describe('options', function() {
describe('default', function() {
describe('"default"', function() {
it('should === "en-US"', function(done) {
var result ... |
/**
* @version 1.0.0.0
* @copyright Copyright © 2016
* @compiler Bridge.NET 15.6.0
*/
Bridge.assembly("Examples", function ($asm, globals) {
"use strict";
Bridge.define("Examples.App", {
statics: {
random: function (count) {
var $yield = [];
var random =... |
/**
* Blockly Games: Maze Blocks
*
* Copyright 2012 Google Inc.
* https://github.com/google/blockly-games
*
* 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... |
import React, { PropTypes } from 'react'
import { connect } from 'react-redux'
import { bindActionCreators } from 'redux'
import Header from '../../components/Header'
import CategoryGrid from '../../components/CategoryGrid'
import * as helpers from '../../helpers'
import * as spotifyActions from '../../services/spotif... |
// Import the pages
import _AgentMaker from './AgentMaker';
import _ForceMaker from './ForceMaker';
import _ForceList from './ForceList';
import _RoomButton from './RoomButton';
export const AgentMaker = _AgentMaker;
export const ForceMaker = _ForceMaker;
export const ForceList = _ForceList;
export const RoomButton = ... |
/**
* Copyright 2019 Progress Software Corporation and/or one of its subsidiaries or affiliates. All rights reserved.
* ... |
import React from 'react';
import createSvg from './utils/createSvg';
export default createSvg(<path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z" />, 'ErrorLined', '0 0 24 24'); |
const { MessageEmbed } = require("discord.js");
module.exports = {
name: "remove",
category: "Music",
description: "Remove song from the queue",
args: false,
usage: "<Number of song in queue>",
permission: [],
owner: false,
player: true,
inVoiceChannel: true,
sameVoiceChannel: true,
exe... |
import 'source-map-support/register';
import './utils.js';
import './editor'; |
layui.use(['table', 'admin', 'ax', 'ztree', 'func', 'tree'], function () {
var $ = layui.$;
var table = layui.table;
var $ax = layui.ax;
var admin = layui.admin;
var $ZTree = layui.ztree;
var func = layui.func;
var tree = layui.tree;
/**
* 系统管理--部门管理
*/
var Dept = {
... |
describe('Ceaseless Duty', function() {
integration(function() {
beforeEach(function() {
this.setupTest({
phase: 'conflict',
player1: {
inPlay: ['doji-whisperer', 'brash-samurai', 'doji-challenger', 'kakita-toshimoko', 'kakita-yoshi'],
... |
import React, {Component} from 'react';
import {View, TouchableOpacity} from 'react-native';
import PropTypes from 'prop-types';
import lodashGet from 'lodash/get';
import {withOnyx} from 'react-native-onyx';
import Str from 'expensify-common/lib/str';
import IOUAmountPage from './steps/IOUAmountPage';
import IOUPartic... |
import supportedLanguages from '../../config/supported-languages';
export default {
title: 'Localized string',
name: 'localeString',
type: 'object',
// fieldsets: [{
// title: 'Translations',
// name: 'translations',
// options: { collapsible: true }
// }],
fields: supportedLanguages.map(... |
import React from 'react';
import { Link } from 'gatsby';
import Layout from '../components/layout'
import Head from '../components/head';
const NotFound = () =>{
return(
<Layout>
<Head title="404" />
<h1>Page not found</h1>
<p><Link to="/">Head Home</Link></p>
<... |
/* eslint-env node */
module.exports = {
root: true,
parserOptions: {
ecmaVersion: 2017,
sourceType: 'module'
},
env: {
browser: true
},
extends: [
'eslint:recommended',
'plugin:ember-suave/recommended'
],
plugins: [
'ember',
'sort-... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.