text stringlengths 2 1.04M |
|---|
/*global QUnit */
sap.ui.define([
"sap/ui/qunit/utils/createAndAppendDiv",
"sap/ui/commons/library",
"sap/ui/commons/Toolbar",
"sap/ui/thirdparty/jquery",
"sap/ui/commons/Button",
"sap/ui/layout/HorizontalLayout",
"sap/ui/commons/ToolbarSeparator"
], function(
createAndAppendDiv,
commonsLibrary,
Toolbar,
jQu... |
var assert = require('assert')
, envs = require('../lib/envs')
var parsedHash = envs.KeyValue(
'#commented heading. \n' +
'key = "quoted#hash" \n' +
'key2 = stripped#comment \n' +
'key3 = base64=== \n'
)
assert.equal(parsedHash['key'], 'quoted#hash')
assert.equal(parsedHash['key2'], 'stripped')
assert.equ... |
const fs = require('fs');
const path = require('path');
exports.getTransformStream = function () {
return fs.createReadStream(exports.getTransformPath());
};
exports.getTransformPath = function () {
return path.resolve(__dirname + '/index.sh');
};
exports.getListOfCompatiblePlugins = function () {
return {
... |
"use strict";
var __values = (this && this.__values) || function(o) {
var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
if (m) return m.call(o);
if (o && typeof o.length === "number") return {
next: function () {
if (o && i >= o.length) o = void 0;
... |
Ext.define('icc.view.idatabase.Project.Accordion', {
extend: 'Ext.panel.Panel',
xtype: 'idatabaseProjectAccordion',
region: 'west',
layout: 'accordion',
width: 400,
title: '功能列表',
resizable: false,
collapsible: true,
initComponent: function() {
var items = [{
xtyp... |
import React from 'react';
import { Heading, Container, Block } from 'react-bulma-components';
import { Trans } from '@lingui/macro';
import Icon from 'components/icon';
import responsivePng from 'assets/images/code/responsive.png';
import modularPng from 'assets/images/code/modular.png';
import typescriptPng from 'ass... |
/**
* Copyright 2016 Telerik AD
* ... |
(function() {
'use strict';
kintone.events.on(['app.record.create.submit', 'app.record.edit.submit'], function(event) {
const userField = event.record['userselect'].value;
const recordId = kintone.app.record.getId();
let query = '';
// ユーザー選択フィールドが空のときは処理をやめる
if (!userField.length) {
ret... |
/**
* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,uselessCode} checked by tsc
*/
import { DynamicFormControlEventType } from "./dynamic-form-control.event";
/**
* @abstract
*/
var /**
* @abstract
*/
DynamicFormComponent = /** @class */ (function () {
function DynamicFormComponent(form... |
'use strict';
module.exports = function (t, a) {
a(t({}), true, "Empty {} is plain object");
a(t({ a: true }), true, "{} with property is plain object");
a(t({ 'prototype': 1, 'constructor': 2, '__proto__': 3 }), true,
"{} with any property keys is plain object");
a(t(null), false, "Null is not plain object");
... |
import React, { PureComponent, Fragment } from 'react'
import PropTypes from 'prop-types'
import { Menu, Icon } from 'antd'
import Navlink from 'umi/navlink'
import withRouter from 'umi/withRouter'
import { queryAncestors } from 'utils'
import store from 'store'
const { SubMenu } = Menu
@withRouter
class SiderMenu ex... |
import React, { Component } from 'react';
const letters = [
['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i'],
['j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r'],
['s', 't', 'u', 'v', 'w', 'x', 'y', 'z']
];
const rowStyle = {
justifyContent: 'center',
alignItems: 'center'
};
const letterStyle = {
fontSize: '20px'... |
/*global define*/
define([
'./arrayRemoveDuplicates',
'./BoundingSphere',
'./Cartesian3',
'./ComponentDatatype',
'./CornerType',
'./CorridorGeometryLibrary',
'./defaultValue',
'./defined',
'./DeveloperError',
'./Ellipsoid',
'./Geome... |
import React from 'react';
import { FormFeedback } from 'reactstrap';
function FieldErrors(props) {
const errors = findError();
/**
* Overrides messages coming from the API.
*/
const MSG_OVERRIDE = {
"Please confirm that your id document has no MRZ before to attach this document to the project... |
const Prompt = require('./prompt');
/**
* Asks for input file
*
* @returns {Promise<string>}
*/
async function askForInput() {
const response = await Prompt.createInputPrompt('Path to shapefile to split');
return response.result;
}
/**
* Asks for prop to split by
*
* @param {string[]} props
* @returns {P... |
const fs = require('fs/promises');
const stylesUrl = `${__dirname}/styles`;
const distUrl = `${__dirname}/project-dist`;
(async function(){
const fileNames = (await fs.readdir(stylesUrl, {withFileTypes: true})).filter((file) => file.isFile() && file.name.endsWith('.css'));
const bundleContent = (await Promise.all... |
/**
* 绑定用户小名片
*/
function ucard() {
$('[ucard]').qtip({ // Grab some elements to apply the tooltip to
suppress: true,
content: {
text: function (event, api) {
var uid = $(this).attr('ucard');
$.get(U('Ucenter/Public/getProfile'), {uid: uid}, function (us... |
import i18next from '../src/i18next.js';
const instance = i18next.createInstance();
describe('i18next.interpolation.nesting', () => {
before((done) => {
instance.init(
{
lng: 'en',
resources: {
en: {
translation: {
test1: 'test $t(nest1) {{a}}',
... |
import {
USER_LOGOUT ,
REQUEST_LOGIN,
REQUEST_LOGIN_SUCCESS,
REQUEST_LOGIN_FAILED,
REQUEST_REGISTER,
REQUEST_REGISTER_FAILED,
REQUEST_REGISTER_SUCCESS,
REQUEST_LOGGED_USER,
REQUEST_LOGGED_USER_SUCCESS,
REQUEST_LOGGED_USER_FAILED, FORGOT... |
module.exports = {
root: true,
parser: '@typescript-eslint/parser',
plugins: ['@typescript-eslint', 'import', 'prettier'],
extends: ['eslint:recommended', 'plugin:@typescript-eslint/recommended', 'plugin:import/typescript', 'plugin:prettier/recommended', 'prettier'],
env: {
node: true
}
... |
import { mixins, promisify, modes } from "../dist/js-git-browser.js"
import JsGitWebDAVFs from "./js-git-webdav-fs.js";
import { Database } from "lively.storage";
// await lively.modules.module("https://lively-next.org/js-git-browser/js-git-browser.js").unload()
class FetchLogProcess {
constructor(repo) {
this... |
const path = require(`path`)
const slash = require(`slash`)
exports.createPages = ({ graphql, actions }) => {
const { createPage } = actions
// we use the provided allContentfulBlogPost query to fetch the data from Contentful
return graphql(
`
{
allContentfulBlogPost {
edges {
... |
// 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... |
var container = require('../../lib/config').container;
container.register('assert', function () {
var chai = require('chai'),
chaiAsPromised = require('chai-as-promised');
chai.use(chaiAsPromised);
return chai.assert;
});
container.register('sinon', function () {
return require('sinon');
});
container.... |
/**
* Copyright 2016 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... |
iD.presets = function(context) {
// an iD.presets.Collection with methods for
// loading new data and returning defaults
var other = iD.presets.Preset('other', {
tags: {},
geometry: ['point', 'vertex', 'line', 'area']
}),
all = iD.presets.Collection([other]),
... |
var objectFactory = require('../misc/objectFactory.js');
function OutputState(time) {
this.time = time;
}
OutputState.fromState = function(inputState, time, reverse) {
var state = new OutputState(time);
if (inputState.update) {
var update;
if (reverse) {
if (inputState.next) {
update = inputState.next.r... |
// Fantasy Map Generator main script
// Azgaar (azgaar.fmg@yandex.by). Minsk, 2017-2019
// https://github.com/Azgaar/Fantasy-Map-Generator
// MIT License
// I don't mind of any help with programming.
// See also https://github.com/Azgaar/Fantasy-Map-Generator/issues/153
"use strict";
const version = "1.22"; // genera... |
import React from 'react';
import PENGINAPAN from './Components/Penginapan';
import GoogleMapReact from 'google-map-react';
import Marker from './Components/Marker';
import './App.css';
export default class App extends React.Component {
constructor(props) {
super(props);
this.state = {
penginapane: [],... |
'use strict';
angular.module('dashboardFullstackApp.auth', [
'dashboardFullstackApp.constants',
'dashboardFullstackApp.util',
'ngCookies',
'ngRoute'
])
.config(function($httpProvider) {
$httpProvider.interceptors.push('authInterceptor');
}); |
import React from 'react';
import { Table, Modal, Divider} from 'antd';
import { Link } from 'gatsby';
import { I18n } from 'aws-amplify';
import * as Util from '../../test/jobDescriptionUnitTest/jobDescriptionUtil';
const { Column } = Table;
class ApplicantList extends React.Component{
state = {
applicants: ... |
import React from 'react';
import {
Button,
FlatList,
Platform,
StyleSheet,
Text,
TouchableHighlight,
TouchableNativeFeedback,
TouchableOpacity,
View
} from 'react-native';
import ActionButton from 'react-native-action-button';
import Swipeout from 'react-native-swipeout';
import Loa... |
/** @jsx jsx */
import { jsx } from "theme-ui"
const Title = ({ children }) => (
<h1 sx={{ fontSize: `4`, mt: `3` }}>{children}</h1>
)
export default Title |
/**
* @author GuangHui
* @description downloader-test 测试页
*/
const DownloaderTest = () =>
import(
/* webpackChunkName:'DownloaderTest' */ 'Views/DownloaderTest/DownloaderTest'
)
// eslint-disable-next-line no-restricted-syntax
export default [
{
path: '/downloader-test',
name: 'DownloaderTest',
... |
import React from 'react'
import ReactDom from 'react-dom'
import { AppContainer } from 'react-hot-loader'
import { Provider } from 'react-redux'
import store from '@/redux/store'
import getRouter from '@/router/'
// 初始化
renderWithHotReload(getRouter())
// 热更新
if (module.hot) {
module.hot.accept('./router/', () =>... |
/**
* DocuSign REST API
* The DocuSign REST API provides you with a powerful, convenient, and simple Web services API for interacting with DocuSign.
*
* OpenAPI spec version: v2.1
* Contact: devcenter@docusign.com
*
* NOTE: This class is auto generated. Do not edit the class manually and submit a new issue inste... |
export const breakpoints = {
mobile: '480px',
tablet: '768px',
laptop: '992px',
desktop: '1200px'
}; |
// Copyright 2013 The Closure Library 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 requ... |
let name = "ABC";
process.env[name] = "abc";
module.exports = process.env[name]; |
/* */
jest.autoMockOff();
describe('reserved-words', function() {
var transformFn;
var visitors;
beforeEach(function() {
require('mock-modules').dumpCache();
visitors = require('../reserved-words-visitors').visitorList;
transformFn = require('../../src/jstransform').transform;
});
function transf... |
import React from "react";
import RaisedButton from "material-ui/RaisedButton";
import FlatButton from "material-ui/FlatButton";
const raisedStyle = { marginRight: 8 };
const flatStyle = { marginRight: 8, paddingLeft: 0, paddingRight: 0 };
const UpvoteButton = ({ isRaised, voteScore, handleClick, loading }) => {
re... |
import React from 'react';
import { shallow } from 'enzyme';
import Modal from '.';
describe(`Modal`, () => {
const onClose = jest.fn();
it('should not render header content', () => {
const wrapper = shallow(
<Modal isOpen={true} onClose={onClose}>
Message
</Modal>
);
const message... |
module.exports = function (e) {
return e.helpers = {
init: function () {
for (var i = 0; i < arguments.length; i++) {
/**
* Recursively Init All
*/
if (typeof arguments[i].init === 'undefined') {
var argum... |
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[55],{
/***/ "./node_modules/@babel/runtime/helpers/classCallCheck.js":
/*!***************************************************************!*\
!*** ./node_modules/@babel/runtime/helpers/classCallCheck.js ***!
\********************************************... |
var searchData=
[
['pi',['PI',['../camcap_8hpp.html#a598a3330b3c21701223ee0ca14316eca',1,'PI(): camcap.hpp'],['../v4linterface_8hpp.html#a598a3330b3c21701223ee0ca14316eca',1,'PI(): v4linterface.hpp'],['../serial_w_8hpp.html#a598a3330b3c21701223ee0ca14316eca',1,'PI(): serialW.hpp'],['../strategy_8cpp.ht... |
const Customer = require("../models/customer.model.js");
exports.create = function(req, res) {
if (!req.body.name) {
return res.status(400).send({
message: "Customer content can not be empty"
});
}
const customer = new Customer({
name: req.body.name,
firstName: req.body.firstName,
last... |
import BaseRoute from '../-privates/routes/base';
export default BaseRoute.extend({
title: 'Ember Tracker: A simpler way to track your Ember JS application.',
}); |
define({
"betaMessage": {
"title": "á_Story Map Crowdsource is in mature support______________Ó",
"messageParagraphs": {
"p1": "á_As of June 2018, the Story Map Crowdsource template has been moved to the mature support phase of the Esri Product Lifecycle_______________________________________Ó.",
... |
/**
* Created by kimzhang on 2015/7/3.
*/
module.exports = function(grunt) {
grunt.initConfig({
pkg: grunt.file.readJSON("package.json"),
concat : {
optinss : {
separator: ';'
},
dist: {
src: [ 'app/node_modules/jquery/dist/jquer... |
const Koa = require('koa')
const app = new Koa()
const serve = require('koa-static')
const PORT = 3355
app.use(serve('./public'))
app.listen(PORT)
console.log(`server is listening on port ${PORT}`) |
/* Copyright© 2000 - 2021 SuperMap Software Co.Ltd. All rights reserved.
* This program are made available under the terms of the Apache License, Version 2.0
* which accompanies this distribution and is available at http://www.apache.org/licenses/LICENSE-2.0.html.*/
import {SuperMap} from '../SuperMap';
import {IMana... |
import React, {
Component,
View,
Text,
ListView,
ActivityIndicatorIOS
} from 'react-native';
import ControlledRefreshableListView from 'react-native-refreshable-listview/lib/ControlledRefreshableListView';
import TopicItem from './TopicItem';
import indicatorStyles from '../styles/common/_Indicator';
import {... |
console.log(Math.round(Math.random() * 6) + 3);
console.log((Math.round(Math.random() * 10) % 2)===0 ? 'M' : 'F');
console.log((Math.round(Math.random() * 10) % 2)===0 ? true : false); |
import * as types from '../constants/ActionTypes';
const initialState = {
username: '',
error: '',
userType: 0,
signUpError: '',
userSessionID: 1
};
export default function router(state = initialState, action) {
switch (action.type) {
case types.LOGIN_SUCCESS:
return {
...state,
... |
require('dotenv').config();
var express = require('express');
var path = require('path');
var cookieParser = require('cookie-parser');
var logger = require('morgan');
var indexRouter = require('./routes/index');
var app = express();
app.use(logger('dev'));
app.use(express.json());
app.use(express.urlencoded({ extend... |
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) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
f... |
import {hydraTypes} from '@webex/common';
/** *****
*
*
* Hey there. Glad you found your way here. Please be sure to alphabetize your constants.
*
*
****** */
// *********** LOWERCASE / CAMELCASE STRINGS ************
// Please alphabetize
export const AUDIO = 'audio';
export const AUDIO_INPUT = 'audioinput';
e... |
import { _ as _createClass, a as _classCallCheck, b as _objectWithoutProperties } from '../_rollupPluginBabelHelpers-b054ecd2.js';
import { objectIncludes, DIRECTION } from '../core/utils.js';
import ActionDetails from '../core/action-details.js';
import '../masked/date.js';
import createMask, { maskedClass } from '../... |
import { mount } from '@vue/test-utils'
import EmailAddress from '@/components/EmailAddress.vue'
describe('EmailAddress', () => {
let propsData
let wrapper
const createWrapper = () => {
wrapper = mount(EmailAddress, { propsData })
}
beforeEach(() => {
propsData = {}
})
afterEach(() => {
wra... |
import MockAdapter from 'axios-mock-adapter';
import axios from '~/lib/utils/axios_utils';
import { createStore } from '~/ide/stores';
import {
refreshLastCommitData,
showBranchNotFoundError,
createNewBranchFromDefault,
loadEmptyBranch,
openBranch,
loadFile,
loadBranch,
} from '~/ide/stores/actions';
impo... |
const { Schema, model } = require('mongoose');
// create the User schema
const userSchema = new Schema(
{
username: {
type: String,
unique: true,
required: true,
trim: true
},
email: {
type: String,
required: true,
... |
export const fantomPools = [
{
id: 'fantom-bifi-maxi',
logo: 'single-assets/BIFI.png',
name: 'BIFI Maxi',
token: 'BIFI',
tokenDescription: 'Beefy',
tokenAddress: '0xd6070ae98b8069de6B494332d1A1a81B6179D960',
tokenDecimals: 18,
tokenDescriptionUrl: '#',
earnedToken: 'mooFantomBIFI',... |
import React from 'react';
import { shallow } from 'enzyme';
import EmptyState from '../../components/EmptyState/EmptyState';
import NotFoundPage from './NotFoundPage';
describe('<NotFoundPage />', () => {
test('renders without crashing', () => {
const wrapper = shallow(<NotFoundPage />);
expect(wr... |
/*
* ATTENTION: An "eval-source-map" devtool has been used.
* This devtool is neither made for production nor for readable output files.
* It uses "eval()" calls to create a separate source file with attached SourceMaps in the browser devtools.
* If you are trying to read the output file, select a different devtool... |
import { isNaN } from 'lodash';
export function toFloat(value) {
if (typeof value === 'string') {
const fVal = parseFloat(value);
if (typeof fVal === 'number' && !isNaN(fVal)) {
return fVal;
}
return 1;
}
return value;
} |
/*
* Copyright (c) 2021 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... |
'use strict'
const last = require('lodash/last')
const sortBy = require('lodash/sortBy')
const first = require('lodash/first')
const parseHashtag = ({text, indices}) => {
const res = {type: 'hashtag', content: text}
Object.defineProperty(res, 'iStart', {value: indices[0]})
Object.defineProperty(res, 'iEnd', {value... |
function load () {
}
function save () {
}
export default { load, save } |
exports.AlObjectTypes = {
table: 'table',
tableExtension: 'tableextension',
page: 'page',
pageExtension: 'pageextension',
pageCustomization: 'pagecustomization',
codeUnit: 'codeunit',
report: 'report',
query: 'query',
profile: 'profile',
XMLPort: 'xmlport',
enum: 'enum',
... |
import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import i18n from './lang'
import './assets/styles/iconfont.css'
import './assets/styles/global.scss'
Vue.config.productionTip = false
new Vue({
router,
store,
i18n,
render: h => h(App)
}).$mount('#app') |
import 'dotenv/config';
export default ({ config }) => {
const googleMapsApiKey = process.env['REACT_NATIVE_GOOGLE_MAPS_API_KEY']
if (googleMapsApiKey != null) {
config.android.config.googleMaps.apiKey = googleMapsApiKey;
}
return {
extra: {
backendBaseUrl: process.env['REACT_NATIVE_BASE_URL'] ??... |
import React, { useState } from 'react';
import {
MDBContainer,
MDBNavbar,
MDBNavbarBrand,
MDBNavbarToggler,
MDBIcon,
MDBNavbarNav,
MDBNavbarItem,
MDBBtn,
MDBDropdown,
MDBDropdownToggle,
MDBDropdownMenu,
MDBDropdownItem,
MDBDropdownLink,
MDBCollapse,
MDBBadge
... |
//$(".collection-grid").sortable( "disable" ) |
// Copyright 2014 Google Inc. All rights reserved
//
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file or at
// https://developers.google.com/open-source/licenses/bsd
/**
* @fileoverview A multiple gnubby signer wraps the process of opening a number
* of gnubbies,... |
import {Manager, cmsOperations, abeExtend, cmsData} from '../../../../cli'
var route = async function(req, res, next) {
abeExtend.hooks.instance.trigger('beforeRoute', req, res, next)
if (typeof res._header !== 'undefined' && res._header !== null) return
var operation = cmsData.regex.getWorkflowFromOperationsUr... |
import Mock from 'mockjs'
// 生成项目数据列表
var dataList = []
for (let i = 0; i < Math.floor(Math.random() * 10 + 1); i++) {
dataList.push(Mock.mock({
'id': '@increment',
'name': '@name',
'description': 'this is a test program',
'positionName': '北京C区',
'positionCoordinate': '12N, 23S',
'owner': 'cb... |
var getApp = () => {
return require('./coms/postApp.jsx');
}
var setTheme = (newTheme) => {
if(hasDocument()) {
var App = getApp();
App.setState({theme: newTheme});
}
}
var hasDocument = () => {
if(typeof document != 'undefined') {
return true;
} else {
return false;
}
}
var utilities = {
setTheme: se... |
/**
* Copyright 2015, GeoSolutions Sas.
* 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.
*/
var expect = require('expect');
var CoordinatesUtils = require('../CoordinatesUtils');
var Proj4js = require('proj4'... |
/** @jsx jsx */
import { jsx } from "theme-ui";
import { Component } from "react";
import DeckGL, { ScatterplotLayer } from "deck.gl";
import { StaticMap } from "react-map-gl";
import { fetchData } from "./data/dataservice";
import Select from "react-select";
import "./mapbox.css";
class CovidMap extends Component {
... |
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports["default"] = void 0;
var React = _interopRequireWildcard(require("react"));
var _classnames = _interopRequireDefault(require("classnames"));
var _configProvider = require("../config-provider");
function _interopRequireDefault(ob... |
class Comment {
/**
* @param {string} author - Author's name
* @param {number} stars - Note of the comment
* @param {string} comment - Content of the comment
* @param {object} reviewsList - Reviews List of this restaurant
*/
constructor... |
import React from 'react';
import './Up&BottomMenu.css';
import UpMenu from '../components/SMenuBar';
import Mapp from '../components/CConduServPage';
import BottomMenu from '../components/BottomMenuBar';
import { withRouter } from 'react-router-dom';
class InService extends React.Component{
render(){
retu... |
'use strict';
const bodyParser = require('body-parser');
const express = require('express');
const Wit = require('node-wit').Wit;
const settings = require('./settings.js');
// Webserver parameter
const PORT = process.env.PORT || 8445;
// Messenger Helper Functions
const fbMessage = require('./fb-connect.js').fbMessa... |
import { createStore, compose, applyMiddleware } from 'redux';
import thunk from 'redux-thunk';
// import reducers from '../reducers';
// import { persistStore, persistReducer } from 'redux-persist';
// import storage from 'redux-persist/lib/storage';
import rootReducer from '../reducers';
// const persistConfig = {
/... |
const data = new Set();
const db = require('quick.db');
const currentGames = new Object();
const Discord = require('discord.js');
const disbut = require('discord-buttons');
const {
convertTime,
randomHexColor,
getRandomString,
checkForUpdates,
} = require('../functions/function');
module.exports = async (options) ... |
function createFlag(flag) {
var _flag = document.getElementById("flag");
_flag.style.opacity = 1;
_flag.style.visibility = "visible";
var frenchFlag = "<div style='width:100px;height:100%;background-color:blue;'></div><div style='width:100px;height:100%;background-color:white;'></div><div style='width:100px;h... |
// Sticky Plugin v1.0.4 for jQuery
// =============
// Author: Anthony Garand
// Improvements by German M. Bravo (Kronuz) and Ruud Kamphuis (ruudk)
// Improvements by Leonardo C. Daronco (daronco)
// Created: 02/14/2011
// Date: 07/20/2015
// Website: http://stickyjs.com/
// Description: Makes an element on the page st... |
module.exports = {
siteMetadata: {
title: `Gatsby Default Starter`,
description: `Kick off your next, great Gatsby project with this default starter. This barebones starter ships with the main Gatsby configuration files you might need.`,
author: `@gatsbyjs`,
},
plugins: [
{
resolve: `gatsby-... |
window.scrollTo(500, 0);
let GlobalHostURL = "http://localhost:53308";
let GeneralData = {
videoURL: "Null",
videoTime: 0,
videoOwnerID: 0,
clientID: 0,
CoinsNumber: 0,
ItemID: 0,
ItemPreviousViews: 0
};
let flag = 0;
let Start = ()=>{
window.scrollTo(500, 600);
}
let Starts = ()=>{
... |
/* eslint-disable new-cap */
import {Record, List} from 'immutable'
const ReplicationLinkRecord = Record({
uuid: '',
displayName: '',
link: '',
slaves: List(),
messageBoxes: List(),
memo: '',
})
/**
* ReplicationLink
*/
export default class ReplicationLink extends ReplicationLinkRecord {
/**
* @ov... |
import React from "react";
import { connect } from 'dva';
import { Flex, WhiteSpace, Modal } from 'antd-mobile';
import { Button } from 'antd-mobile';
import { format } from "./utils";
import styles from '../index.less';
class MemberItem extends React.Component {
onUpdateMoney(){
const {dispatch, item, last_... |
const hbs = require("hbs")
hbs.registerHelper("anio",()=>{
return new Date().getFullYear()
})
hbs.registerHelper("title",(title)=>{
return `mark | ${title}`
}) |
define(function (require) {
require('help');
require('create_element');
require('markdowntohtml');
document.addEventListener('DOMContentLoaded', app.init());
}); |
$(function () {
$("#table_sistema").DataTable().destroy();
$("#table_sistema").DataTable({ } );
$("#titulo").text("Mantenimiento");
$("#subtitulo").text('Lista de categorias');
// $("#cuerpo").addClass('animated bounceIn');
});
function nuevo(){
reload();
$("#subti... |
export default {
/**
* ## `Ex.Opt`
*
* 列表专用 options 的键值定义,定义了资源文件中使用的`options`选项的详细信息。
*
* * `ExListComplex`
* * `ExListQuery`
* * `ExListOpen`
*
* 目前Extension框架中以上三个组件会使用该常量。
*
* |属性名|值|含义|
* |:---|:---|:---|
* |TABS_LIST|tabs.list|列表页专用页签标题文字。|
... |
/*
* Copyright 2017 data.world, 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 agree... |
/******/ (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... |
var elf64_8h =
[
[ "Elf64_Cap", "dc/dd7/structElf64__Cap.html", "dc/dd7/structElf64__Cap" ],
[ "Elf64_Chdr", "d6/dc1/structElf64__Chdr.html", "d6/dc1/structElf64__Chdr" ],
[ "Elf64_Dyn", "dd/d27/structElf64__Dyn.html", "dd/d27/structElf64__Dyn" ],
[ "Elf64_Ehdr", "df/de8/structElf64__Ehdr.html", "df/de8... |
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
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 ("va... |
var assignInWith = require('./assignInWith'),
attempt = require('./attempt'),
baseValues = require('./_baseValues'),
customDefaultsAssignIn = require('./_customDefaultsAssignIn'),
escapeStringChar = require('./_escapeStringChar'),
isError = require('./isError'),
isIterateeCall = require('./_isIt... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.