text stringlengths 2 1.04M |
|---|
/*! Select2 4.0.0 | https://github.com/select2/select2/blob/master/LICENSE.md */
(function () {
if (jQuery && jQuery.fn && jQuery.fn.select2 && jQuery.fn.select2.amd)var e = jQuery.fn.select2.amd;
return e.define("select2/i18n/it", [], function () {
return {
errorLoading: function () {
... |
// This file is part of Pirouette. for licensing information, see the LICENSE file
import { optionalMethod } from '../objc';
import { Protocol } from '../foundation';
//console.log("UIGestureRecognizerDelegate");
export let UIGestureRecognizerDelegate = Protocol.extendClass("UIGestureRecognizerDelegate", () => ({
... |
$person_wrap_width = $('.person_wrap').width();
var timer = null;
var pic_num=2;
var lv=1; //存放关数
var tietou = []; //存放铁头人数的数组
var rnd_arr=[]; //存放徐峥随机数字的数组 取最后那个就是。
var tietou_num = 4; //存放铁头个数
var suipianbol = false;
var timer_set = null;
var padd = 7;
var timer_txt=null;
var background_sound = document.getEleme... |
/*
* Component for arranging a list of metadata where the icon is the
* term (<dt>) and the data is the definition (<dl>).
*/
import styled from 'styled-components';
export const IconDataListTerm = styled.dt`
clear: left;
float: left;
width: var(--space-md);
`;
export const IconDataListContent = styled.dd`
... |
webpackHotUpdate(0,{
/***/ "./src/Carousel/Carousel.js":
/*!**********************************!*\
!*** ./src/Carousel/Carousel.js ***!
\**********************************/
/*! exports provided: default */
/*! exports used: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"... |
// ==========================================================================
// Uiza Event Listeners
// ==========================================================================
import controls from './controls';
import events from './events';
import ui from './ui';
import { repaint } from './utils/animation';
impor... |
System.register([], function(exports_1, context_1) {
"use strict";
var __moduleName = context_1 && context_1.id;
var __extends = (this && this.__extends) || function (d, b) {
for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
function __() { this.constructor = d; }
d.prototype = ... |
// @flow
import { uniq } from 'ramda';
import type { Replicaset, Role } from 'src/generated/graphql-typing';
import store from 'src/store/instance'
import { selectVshardRolesNames } from 'src/store/selectors/clusterPage';
export const getDependenciesString = (dependencies: ?string[]) => {
if (!dependencies || !depen... |
// @flow
import React, { PureComponent } from "react";
import styled from "styled-components";
import type { OperationType } from "@ledgerhq/live-common/lib/types";
import { rgba, mix } from "~/renderer/styles/helpers";
import type { TFunction } from "react-i18next";
import type { ThemedComponent } from "~/renderer... |
import { toPolar, toCartesian } from 'agora-graph';
import _ from 'lodash';
import { ReformatLP, Solve } from 'javascript-lp-solver';
function _objectWithoutPropertiesLoose(source, excluded) {
if (source == null) return {};
var target = {};
var sourceKeys = Object.keys(source);
var key, i;
for (i = 0; i < s... |
import React from 'react';
import { BackHandler } from 'react-native';
import Lng from '~/api/lang/i18n';
import { alertMe } from '~/api/global';
export const navigationRef = React.createRef();
export const navigate = (name, params = {}) => {
navigationRef.current?.navigate(name, params);
};
const handlers = { ba... |
const Snowflake = require('../util/Snowflake');
const Base = require('./Base');
const Constants = require('../util/Constants');
/**
* Represents any channel on Discord.
* @extends {Base}
*/
class Channel extends Base {
constructor(client, data) {
super(client);
const type = Object.keys(Constants.ChannelT... |
(function () {
'use strict';
/**
* @param {Base} Base
* @param {app.utils} utils
* @param {EventManager} eventManager
* @param {User} user
* @return {BaseNodeComponent}
*/
const factory = function (Base, utils, eventManager, user) {
const TYPES = WavesApp.TRANSACTION_... |
(function() {
var moduleKeywords,
__indexOf = Array.prototype.indexOf || function(item) { for (var i = 0, l = this.length; i < l; i++) { if (i in this && this[i] === item) return i; } return -1; };
moduleKeywords = ['extended', 'included'];
this.Gmaps4Rails = {};
this.Gmaps4Rails.Common = (function() {
... |
window.saveDataAcrossSessions = true;
webgazer.setGazeListener((data, currentTime) => {
if (data == null) {
return;
}
var x = data.x; //these x coordinates are relative to the viewport
var y = data.y; //these y coordinates are relative to the viewport
elem = document.elementFromPoint(x, y)... |
const Vote = require('./Vote');
const User = require('./user');
const Post = require("./post");
const Comment = require('./comment');
//create associations
User.hasMany(Post, {
foreignKey: 'user_id'
});
Post.belongsTo(User, {
foreignKey: 'user_id',
onDelete: 'SET NULL'
});
User.belongsToMany(Post, {
t... |
const knex = require("../knex.js");
const getAllAntennesByMandataireId = mandataireId =>
knex("service_antennes").where({
mandataire_id: parseInt(mandataireId)
});
const addAntenne = data => knex("service_antennes").insert(data);
const deleteAntenne = where =>
knex("service_antennes")
.where(where)
... |
import React from "react";
import { Section } from "../../layout/Section/index.js";
import { Wrapper } from "../../layout/Wrapper/index.js";
import { Title } from "./index.js";
export default {
component: Title,
title: "Titles/Components/Title",
};
export const base = () => (
<>
<Section>
<Title>This... |
import validateModifier from './index'
it('should pass validation when not all fields are present', async () => {
const wife = {
name: {type: String},
state: {type: String}
}
const schema = {
_id: {type: 'ID'},
wife: {type: wife}
}
await validateModifier(schema, {$set: {'wife.state': 'Full'}... |
export default 'Left align text'; |
'use strict';
describe('Controller Tests', function() {
describe('ThEmailInput Management Detail Controller', function() {
var $scope, $rootScope;
var MockEntity, MockThEmailInput, MockUser;
var createController;
beforeEach(inject(function($injector) {
$rootScope = $in... |
import React, { Component } from 'react'
import { connect } from 'react-redux'
import { authHandler } from '../../actions'
import OktaLogin from './Okta'
import DemoLogin from './Demo'
class Login extends Component {
componentWillMount() {
this.props.authHandler()
}
componentDidMount() {
}
render() {
... |
/*jslint regexp: true */
(function () {
'use strict';
window.requirejs(['//127.0.0.1:4344/socket.io/socket.io.js'], function (io) {
var socket = io('https://127.0.0.1:4344');
socket.on('changeCss', function (data) {
var links = document.querySelectorAll('link[href*="' + data.path ... |
/**
* Layout component that queries for data
* with Gatsby's useStaticQuery component
*
* See: https://www.gatsbyjs.org/docs/use-static-query/
*/
import React from "react"
import PropTypes from "prop-types"
import { useStaticQuery, graphql } from "gatsby"
import styled from "styled-components"
import Header from... |
/*! MenuSpy v1.0.0 (Nov 29 2016) - http://leocs.me/menuspy/ - Copyright (c) 2016 Leonardo Santos; MIT License */ |
import GoogleMapsLoader from 'google-maps';
import { getJSON, getCoDataEngineData } from '../helpers/dataHelpers';
import { defaultZoom, denverLatitude, denverLongitude } from '../constants/graphConstants';
import tinycolor from 'tinycolor2';
import {
Metro_Denver_Federally_Subsidized_Affordable_Housing_2014_id
} fro... |
(function(){var require = function (file, cwd) {
var resolved = require.resolve(file, cwd || '/');
var mod = require.modules[resolved];
if (!mod) throw new Error(
'Failed to resolve module ' + file + ', tried ' + resolved
);
var cached = require.cache[resolved];
var res = cached? cached.... |
import React from 'react';
import Icon from '../Icon';
const Alert = props => (
<Icon viewBox='0 0 24 24' a11yTitle='Alert' {...props}>
<path fill='none' stroke='#000' strokeWidth='2' d='M12,17 L12,19 M12,10 L12,16 M12,3 L2,22 L22,22 L12,3 Z' />
</Icon>
);
export default Alert; |
import React, { Component } from 'react';
import ReactDOM from 'react-dom';
class Convention extends Component {
constructor(props) {
super(props)
this.state = {
}
}
render(props) {
const p = this.props
return (
<div className="row justify-content-center conventio... |
const Promise = require('bluebird');
const _ = require('lodash');
const rp = require('request-promise');
const StellarSdk = require('stellar-sdk');
const niceRound = require('./utils/niceRound');
const tradeWalker = require('./utils/tradeWalker');
const PQueue = require('p-queue');
const queue = new PQueue({concurrenc... |
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.isRect = exports.isSize = exports.isPoint = exports.isYPosition = exports.isXPosition = void 0;
const consts_1 = require("./consts");
const isXPosition = (value) => consts_1.xPositionNames.includes(value);
exports.isXPosition = isXPosi... |
/*
* database.js: Database methods for working with database within instances from Rackspace Cloud
*
* (C) 2014 Hewlett-Packard Development Company, L.P.
*
*/
var pkgcloud = require('../../../../../lib/pkgcloud'),
Database = pkgcloud.providers.rackspace.database.Database,
Instance = pkgcloud.providers.rac... |
module.exports={A:{A:{"2":"I F E D A B gB"},B:{"1":"TB IB N","260":"C O T P H J K"},C:{"1":"5 6 7 8 9 SB AB FB CB DB BB w R M JB KB LB MB NB OB PB QB RB","2":"qB GB G U I F E D A B C O T P H J K V nB fB","66":"W X","260":"0 1 2 3 4 Y Z a b c d e f g h i j k l m n o p q r s t u v Q x y z"},D:{"1":"9 FB CB DB BB w R M JB... |
/* Copyright 2012 Mozilla Foundation
*
* 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... |
/**
* Copyright 2015 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... |
import {
BASEURL,
USER_DEFAULT
} from '../../common/commonAPI.js'
describe('[Login] Create Task', function() {
let token
before(() => {
cy.login(BASEURL, USER_DEFAULT.user_id, USER_DEFAULT.password).then(response => {
token = response.body.data
})
})
it('Add a task for user', function() {
... |
export const INSUFFICIENT_FUNDS_ERROR_KEY = 'insufficientFunds'
export const GAS_LIMIT_TOO_LOW_ERROR_KEY = 'gasLimitTooLow'
export const TRANSACTION_ERROR_KEY = 'transactionError' |
import React from "react"
import PropTypes from "prop-types"
const ChevronLeft = props => {
const { color, size, className, ...otherProps } = props
return (
<svg
xmlns="http://www.w3.org/2000/svg"
width={size}
height={size}
viewBox="0 0 24 24"
fill="none"
stroke={color}
... |
import React, { Component } from 'react'
import CommonHeader from './CommonHeader';
import CommentItem from './CommentItem';
import * as API from '../utils/api'
import '../css/CommentsList.css'
import { Divider, Collapse, List, ListItem, ListItemText } from '@material-ui/core';
import ExpandLess from '@material-ui/icon... |
var createError = require('http-errors');
var express = require('express');
//Conect mongoDB and Mongoose
var mongoose = require('mongoose');
var mongoDB = 'mongodb:/127.0.0.1/myDB';
mongoose.connect(mongoDB, {useNewUrlParser:true});
var db = mongoose.connection;
db.on('error', console.error.bind(console, 'MongoDB con... |
import React from 'react';
import { connect } from 'dva';
import moment from 'moment';
import { Icon, Form } from 'antd';
import { Switch, List, InputItem, Stepper, WhiteSpace, Radio, Flex, Modal, Tag, Checkbox, DatePicker } from 'antd-mobile';
import { isWeiXin } from '../../utils/utils';
import styles from './index.l... |
// Copyright (C) 2020 Rick Waldron. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-ecmascript-standard-built-in-objects
description: >
Boolean.prototype.toString does not implement [[Construct]], is not new-able
info: |
ECMAScript Function Objects
Bui... |
// All material copyright ESRI, All Rights Reserved, unless otherwise specified.
// See https://js.arcgis.com/4.11/esri/copyright.txt for details.
//>>built
define("require exports ../core/tsSupport/declareExtendsHelper ../core/tsSupport/decorateHelper dojo/i18n!./Fullscreen/nls/Fullscreen ../core/accessorSupport/decor... |
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId]) {
/******/ re... |
define(["require", "exports"], function (require, exports) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.latvia = {
name: 'Latvia',
codes: ['LV', 'LVA', '428'],
calcFn: (vat) => {
let total = 0;
// Differentiate between... |
const db = require("../../../database/connection");
async function getCompanies() {
const conn = await db.connect();
const [rows] = await conn.query(`SELECT * FROM tbl_empresas INNER JOIN tbl_contato_empresa ON tbl_empresas.cnpj = tbl_contato_empresa.cnpj ORDER BY empresa ASC`);
return rows;
}
mo... |
import { createAction } from 'redux-starter-kit';
import * as userApi from '../../api/user';
//load users
export const loadUsersRequest = createAction('USER/GET_USERS_REQUEST');
export const loadUsersSuccess = createAction('USER/GET_USERS_SUCCESS');
export const loadUsersError = createAction('USER/GET_USERS_ERROR');
... |
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[18],{
/***/ "./node_modules/babel-loader/lib/index.js?!./node_modules/vuetify-loader/lib/loader.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/Pages/Profile.vue?vue&type=script&lang=js&":
/*!*****************************************************... |
var Marty = require('marty')
var Application = Marty.createApplication(function () {
this.register(require('./stores'))
this.register(require('./actions'))
this.register(require('./sources'))
this.router = require('./router')
})
module.exports = Application |
// Copyright 2004 Erik Arvidsson. All Rights Reserved.
//
// This code is triple licensed using Apache Software License 2.0,
// Mozilla Public License or GNU Public License
//
///////////////////////////////////////////////////////////////////////////////
//
// Licensed under the Apache License, Version 2.0 (the "Licen... |
import { Injectable, NgZone } from '@angular/core';
import { Observable } from 'rxjs/Observable';
import { GoogleMapsAPIWrapper } from '../google-maps-api-wrapper';
export var PolylineManager = (function () {
function PolylineManager(_mapsWrapper, _zone) {
this._mapsWrapper = _mapsWrapper;
this._zon... |
import { Footer, FooterText } from "../muistyles/Footer.styles";
const FooterDown = () => {
return (
<Footer>
<FooterText>
All rights reserved © {new Date().getFullYear()}
</FooterText>
</Footer>
);
};
export default FooterDown; |
'use strict';
var CID = require('cids');
var Keccak = require('keccakjs');
var multihash = require('multihashes');
var request = require('xhr-request');
var _require = require('../lib/util.js'),
errInvalidElement = _require.errInvalidElement,
isContentElement = _require.isContentElement;
/**
* @module/const... |
var path = require('path')
var utils = require('./utils')
var webpack = require('webpack')
var config = require('../config')
var merge = require('webpack-merge')
var baseWebpackConfig = require('./webpack.base.conf')
var CopyWebpackPlugin = require('copy-webpack-plugin')
var HtmlWebpackPlugin = require('html-webpack-pl... |
'use strict';
const Promise = require('bluebird');
const UserIdStrategy = require('./user-id-strategy');
const ChatIdStrategy = require('./chat-id-strategy');
function ChatMessageReportStrategy(options) {
const userIdStategy = new UserIdStrategy(options);
const chatIdStategy = new ChatIdStrategy(options);
this... |
/**
* 寻找webpack的插件
* @param {Array} plugins webpack配置的plugins数组
* @param {string} pluginName 插件名称
*/
export const getWebpackPlugin = (plugins, pluginName) => plugins.find((plugin) => plugin.constructor.name === pluginName);
/**
* 将config写入webpack.config.json,用于调试
*/
export const writeConfigForDebug = () => (conf... |
module.exports=require('../../decode-ranges.js')('ghALAPAwVIAiSCizAgqCj1Ag8AAACBkkBwbjBsVADBsEAjFBjLAEAk5BlhDitBBBcBi7BhABu7BICw3jAMAVBmsA3T7AkNBjiACAl9BhVBheAiXBiSCiPBj4A1JlACBioALAPAhAAwrzBwT8EgrDi8Bh0Dh-CiABFAPBhXBABhrAmgBl0BEOhoBj4CoEAAAj6BhWBmjBqzB0t0BiEAhABKAtSA04FAx3nA') |
const assert = require('assert')
function assertErrorMessage(...args) {
const report = args[0]
let index
let message
if (args.length === 3) {
index = args[1]
message = args[2]
} else {
index = 0
message = args[1]
}
const errorMessage = `Report should contain message with text "${message... |
import { test } from '../qunit';
import { localeModule } from '../qunit-locale';
import moment from '../../moment';
localeModule('sq');
test('parse', function (assert) {
var i,
tests = 'Janar Jan_Shkurt Shk_Mars Mar_Prill Pri_Maj Maj_Qershor Qer_Korrik Kor_Gusht Gus_Shtator Sht_Tetor Tet_Nëntor Nën_Dhjetor... |
import Vue from 'vue'
import 'weui'
import axios from 'axios'
axios.defaults.headers.post['Content-Type'] = 'application/x-www-form-urlencoded';
import qs from "qs";
// import './styles/footer.css'
import store from './configs/store.js'
import 'bootstrap/dist/css/bootstrap.min.css'
import 'bootstrap/dist/js/bootstr... |
module.exports = {
Query: {
launches: async (_, { pageSize = 20, after }, { dataSources }) => {
const allLaunches = await dataSources.launchAPI.getAllLaunches();
// we want these in reverse chronological order
allLaunches.reverse();
const launches = paginateResults({
after,
... |
LegendaryQuest.Combat.Environment = function()
{
if (!(this instanceof LegendaryQuest.Combat.Environment))
alert("LegendaryQuest.Combat.Environment: call constuctor with new keyword");
}
LegendaryQuest.Combat.Environment.FactoryRaw = function()
{
return new LegendaryQuest.Combat.Environment();
} |
// Global vars
var pymChild = null;
var isMobile = false;
var currentStep = 0;
var numSteps = 0;
var btnBack = null;
var btnNext = null;
var btnStart = null;
var btnRestart = null;
var steps = null;
var graphicWrapper = null;
/*
* Initialize the graphic.
*/
var onWindowLoaded = function() {
btnBack = d3.select(... |
/*
* Copyright 2017 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://aws.amazon.com/apache2.0/
*
* or in the "licens... |
import React from 'react';
import PropTypes from 'prop-types';
function SvgDominicanRepublic({ className, style }) {
return (
<svg width={32} height={32} viewBox="0 0 32 32" className={className} style={style}>
<g fillRule="nonzero" fill="none">
<circle fill="#F0F0F0" cx={16} cy... |
// For a detailed explanation regarding each configuration property, visit:
// https://jestjs.io/docs/en/configuration.html
const MODULE_NAME_MAPPING = {
'@root/(.+)': '<rootDir>/$1',
'@commons/(.+)': '<rootDir>/src/lib/$1',
'@server/(.+)': '<rootDir>/src/server/$1',
'@alias/logger': '<rootDir>/src/lib/service... |
import { OperationResult } from "../../models/operator";
export var map = function (f) {
return function (source) { return new OperationResult(f(source)); };
}; |
var RegionMStatic_W = 150; // mm (-iOx)
var RegionMStatic_H = 600; // mm
function PrintSuperFishXY_MS(x, y)
{
var el = document.getElementById("MagnetostaticTextArea");
el.value += "&po x=" + x.toPrecision(4) + "," + "y=" + (RegionEStatic_H*fScaleSuperFish - y).toPrecision(4) + " &\r\n";
}
function _moveToMS(... |
/*
*
* jqTransform
* by mathieu vilaplana mvilaplana@dfc-e.com
* Designer ghyslain armand garmand@dfc-e.com
*
*
* Version 1.0 25.09.08
* Version 1.1 06.08.09
* Add event click on Checkbox and Radio
* Auto calculate the size of a select element
* Can now, disabled the elements
* Correct bug in ff if click on... |
'use strict';
var fs = require('fs');
var React = require('react');
var ReactBin = require('../ReactBin');
var Markdown = require('../utils').Markdown;
var Doc = require('../utils').Doc;
var examples = {
basic: fs.readFileSync(__dirname + '/01-basic.js', 'utf-8'),
radius: fs.readFileSync(__dirname + '/02-radius.js... |
export const tools = ( state={
allTools: [],
MEADEDataSets: ['WorldBank', 'FragileState', 'EconomicFreedom', 'GlobalPeace', 'GlobalTerror', 'USAid'],
AtNDataSets: ["Data sources not publicly shared yet."],
AMDataSets: ["Data sources not publicly shared yet."]
}, action) => {
switch(action.type... |
let env = process.env.NODE_ENV || 'development'
// This adds dotenv (for storing environment variables) to gatsby
require('dotenv').config({ path: `./.env.${env}` })
// let contentfulConfig
// try {
// // Load the Contentful config from the .contentful.json
// contentfulConfig = require('./.contentful')
// } cat... |
var formatDistanceLocale = {
lessThanXSeconds: {
one: 'פחות משנייה',
two: 'פחות משתי שניות',
other: 'פחות מ־{{count}} שניות'
},
xSeconds: {
one: 'שנייה',
two: 'שתי שניות',
other: '{{count}} שניות'
},
halfAMinute: 'חצי דקה',
lessThanXMinutes: {
one: 'פחות מדקה',
two: 'פחות משת... |
(self["webpackChunk"] = self["webpackChunk"] || []).push([["resources_js_src_containers_Backend_User_ExamTypes_index_js"],{
/***/ "./resources/js/src/components/Backend/UI/Breadcrumb/Breadcrumb.js":
/*!*************************************************************************!*\
!*** ./resources/js/src/components/Bac... |
const utils = require('./utils')
const webpack = require('webpack')
const config = require('../config')
const merge = require('webpack-merge')
const baseWebpackConfig = require('./webpack.base.conf')
const CopyWebpackPlugin = require('copy-webpack-plugin')
const HtmlWebpackPlugin = require('html-webpack-plugin')
const ... |
import component from './configure-users.component';
const resolveUsersWhoCanReceiveSMS = /* @ngInject */ (
$q,
$transition$,
DedicatedCloud,
) =>
$transition$.params().usersWhoCanReceiveSMS ||
DedicatedCloud.getUsers($transition$.params().productId).then((ids) =>
$q.all(
ids.map((id) =>
De... |
/**
* Created by qiaopeng on 16-7-4.
*/
$(function(){
//$('#books_dg').datagrid({'data':[]}).datagrid('clientPaging'); // 如果使用使用分页功能 此方法初始化分页信息
$(window).resize(function(){
$('#navigate_dg').treegrid('resize');
});
searchnavigateAll();
});
// 检索导航栏库信息
function searchnavigateAll(){
var ... |
(function () {
'use strict';
angular
.module('scholorships')
.controller('ApplicationsListController', ApplicationsListController);
ApplicationsListController.$inject = ['ApplicationsService', 'SemesterService', '$scope', '$http', '$stateParams', 'dateFilter'];
function ApplicationsListController(App... |
/*
WHITEBOARD JS
~~~~~~~~~~~~~
The following JavaScript file is for construction of the whiteboard module. ALl components for the MXGRAPH module will
be placed here.
Reason
~~~~~~
Smaller global file - if the user is not utilising the whiteboard module, why are we loading in the MXGRAPH library for
them?
*/ |
const ControlledTabs = React.createClass({
getInitialState() {
return {
key: 1
};
},
handleSelect(key) {
alert('selected ' + key);
this.setState({key});
},
render() {
return (
<Tabs activeKey={this.state.key} onSelect={this.handleSelect}>
<Tab eventKey={1} title="Tab ... |
/**
* Replaces items matched in the regex with spaces.
*
* @param {import('./index').WPWordCountSettings} settings The main settings object containing regular expressions
* @param {string} text The string being counted.
*
* @return {string} The manipulated text.
*/
export defau... |
module.exports = {
"type": "Program",
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 12
}
},
"range": [
0,
12
],
"body": [
{
"type": "ExpressionStateme... |
var searchData=
[
['enable_5fif_416',['enable_if',['../structdoctest_1_1detail_1_1enable__if.html',1,'doctest::detail']]],
['enable_5fif_3c_20true_2c_20type_20_3e_417',['enable_if< true, TYPE >',['../structdoctest_1_1detail_1_1enable__if_3_01true_00_01_t_y_p_e_01_4.html',1,'doctest::detail']]],
['enum_418',... |
let listUsers = [
{ author: "pg", sentiment: 0.090097317, num_comments: 9982 },
{ author: "wmf", sentiment: 0.0686600718, num_comments: 8635 },
{ author: "hga", sentiment: 0.0815668877, num_comments: 7062 },
{ author: "Tichy", sentiment: 0.0854002161, num_comments: 9775 },
{ author: "mikeash", sentiment: 0.07... |
!function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){"use strict";e.exports=n(44)},function(e,t){function n(){throw new Error("setTimeout has not been define... |
'use strict'
let TxDataCreator = require('../common/TxDataCreator');
let ccUtil = require('../../../api/ccUtil');
let utils = require('../../../util/util');
let logger = utils.getLogger('NormalTxEosDataCreator.js');
/**
* @class
* @augments TxDataCreator
*/
class NormalTxEosDataCreator ... |
// Create version selector for documentation top bar.
(function() {
var url = window.location.href;
var theano_dir = 'theano'; // directory containing theano doc
// Default theano version: release and development.
var versions_dir = {"release": "theano", "dev": "theano_versions/dev"};
// If doc is run local... |
Object.defineProperty(exports,"__esModule",{value:true});exports.default=undefined;var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;if("value"in descriptor)descripto... |
const config = {
address: "0x820aeB9dBA9E5191F2275e8aCf6Aa0ADcf6A84Ff",
abi: [
"function workableQueue ( ) external view returns ( bool )",
"function workableSwap ( ) external view returns ( bool )",
"function executeSwap ( ) external",
"function clearQueue ( ) external"
],
};
module... |
// modules/payment/setup.js
function inintPaymentConfig(t1, t2, t3) {
var _doAdd = function () {
var patt = /pm_([0-9]+)/;
var id = 0;
forEach($E('payment_method').getElementsByTagName('div'), function () {
if (hs = patt.exec(this.id)) {
id = hs[1];
}
});
var a = parseFloat(id)... |
const { join } = require('path');
const bttps = require(join(__dirname, 'bttps.js'));
async function handleInternal(discordClient, apiKeys, repeatInterval) {
//set the function to repeat
setTimeout(handleInternal.bind(null, discordClient, apiKeys, repeatInterval), (60000 * repeatInterval));
//the actual c... |
import { debounce } from 'lodash';
import scroll from 'core/utils/scroll';
const CONTEXT = '$scrollArrow';
const OFFSET = 30;
// 绑定事件
function startBind(el) {
const context = el[CONTEXT];
context.vm.$nextTick(() => {
if (scroll.isAttached(el)) {
doBindEvent.call(el[CONTEXT]);
}
});
}
// 绑定事件到元素上... |
export default function isUndefined(input) {
return input === void 0;
} |
window.__NUXT__=(function(a,b,c,d){return {staticAssetsBase:"\u002Fstatic\u002F1597376630",layout:"default",error:b,state:{notification:{show:a,title:c,message:c},isShowSidebar:a,isSupportWebShare:a,headerTitle:"e-AlQur'an",page:"home",lastReadVerse:b,settingActiveTheme:{name:"dark",bgColor:"#071e3d",fgColor:"#fff"},se... |
#!/usr/bin/env node
var fs = require("fs-extra");
var childProcess = require("child_process");
var which = require("which");
var semver = require("semver");
var path = require("path");
var safename = require("safename");
var packageHost = "https://package.elm-lang.org";
var packageTransformations = require("./src/pa... |
import React, { Component } from "react";
import { connect } from "react-redux";
import * as actions from "../../actions";
import Icon from "../icon";
import Arrow from "../arrow";
import Action from "../action";
import AnimateHeight from "react-animate-height";
class LibraryCourse extends Component {
constructor(... |
// Copyright 2014 The Oppia 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 required by ap... |
const ArgumentType = require('../../extension-support/argument-type');
const BlockType = require('../../extension-support/block-type');
const Clone = require('../../util/clone');
const Cast = require('../../util/cast');
const formatMessage = require('format-message');
const MathUtil = require('../../util/math-util');
c... |
const Component = require('react').Component;
const h = require('react-hyperscript');
const inherits = require('util').inherits;
const AccountAndTransactionDetails = require('./account-and-transaction-details');
const Settings = require('./components/pages/settings');
const log = require('loglevel');
import UnlockScre... |
mycallback( {"CONTRIBUTOR OCCUPATION": "SENIOR VICE PRESIDENT", "CONTRIBUTION AMOUNT (F3L Bundled)": "57.69", "ELECTION CODE": "", "MEMO CODE": "", "CONTRIBUTOR EMPLOYER": "MASSACHUSETTS MUTUAL LIFE INS.", "DONOR CANDIDATE STATE": "", "CONTRIBUTOR STREET 1": "347 N STEELE RD", "CONTRIBUTOR MIDDLE NAME": "", "DONOR CAND... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.