text stringlengths 2 1.04M |
|---|
let handler = async m => m.reply(`
┏━━°❀❬ *Kode Bahasa* ❭❀°━━┓
┃
┃• af : Afrikaans
┃• sq : Albanian
┃• ar : Arab
┃• hy : Armenian
┃• ca : Catalan
┃• zh : Chinese
┃• zh-cn : Chinese (Mandarin/China)
┃• zh-tw : Chinese (Mandarin/Taiwan)
┃• zh-yue : Chinese (Cantonese)
┃• hr : Croatian
┃• cs : Czech
┃• da : Danish
┃• nl :... |
import React from 'react';
import { Nav, Navbar, Form, FormControl } from 'react-bootstrap';
import styled from 'styled-components';
import './App.css';
export const FooterBar = () => (
<div className="footer">
<Navbar expand="lg">
<Navbar.Collapse id="basic-navbar-nav">
<Nav... |
import React from 'react'
import ReactDOM from 'react-dom'
import { expect } from 'chai'
import sinon from 'sinon'
import { SearchLayoutAndLogic } from '../../components_container/SearchLayoutAndLogic'
import Enzyme, { shallow, mount } from 'enzyme'
import Adapter from 'enzyme-adapter-react-16'
Enzyme.configure({ adap... |
/* istanbul instrument in package npmtest_node_docker_monitor */
/*jslint
bitwise: true,
browser: true,
maxerr: 8,
maxlen: 96,
node: true,
nomen: true,
regexp: true,
stupid: true
*/
(function () {
'use strict';
var local;
// run shared js-env code - pre-init
(function ... |
import {StyleSheet, Dimensions} from 'react-native';
export const toolBarStyles = StyleSheet.create({
view: {
flexDirection: 'row',
paddingTop: 8,
paddingBottom: 8,
justifyContent: 'space-between',
alignItems: 'center',
borderTopLeftRadius: 5,
borderTopRightR... |
/** @module pathfora/inline/proc-trigger-elements */
import inSegment from '../data/segments/in-segment';
/**
* Show/hide trigger elements in a group based on
* Lytics segment membership
*
* @exports procTriggerElements
* @params {object} elems
* @params {string} group
*/
export default function procTriggerEle... |
"use strict";
import webpack from "webpack";
import webpackStream from "webpack-stream";
import gulp from "gulp";
import gulpif from "gulp-if";
import browsersync from "browser-sync";
import autoprefixer from "gulp-autoprefixer";
import pug from "gulp-pug";
import pugbem from "gulp-pugbem";
import sass from "gulp-sass... |
import React from 'react'
import { useDispatch } from 'react-redux'
import { logoutAction } from '../actionCreator'
import { Link } from 'react-router-dom'
const Logout = () => {
const dispatch = useDispatch();
return (
<div className='App'>
<button className='btn btn-danger' onClick={() => dis... |
export const getFileName = url => {
const re = /(?:.+\/)(.+)/gim;
const filename = url.replace(re, '$1');
return filename;
};
export const toDataURL = url =>
fetch(url)
.then(response => response.blob())
.then(blob => URL.createObjectURL(blob)); |
import { Registry, makeSingleton, OverwritePolicy } from '../..';
class ChartTransformPropsRegistry extends Registry {
constructor() {
super({
name: 'ChartTransformProps',
overwritePolicy: OverwritePolicy.WARN
});
}
}
const getInstance = makeSingleton(ChartTransformPropsRegistry);
export defa... |
/******/ (() => { // webpackBootstrap
/******/ var __webpack_modules__ = ({
/***/ "./node_modules/axios/index.js":
/*!*************************************!*\
!*** ./node_modules/axios/index.js ***!
\*************************************/
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
module... |
(function( $, document ) {
var wpsf = {
cache: function() {
wpsf.els = {};
wpsf.vars = {};
wpsf.els.tab_links = $('.wpsf-nav__item-link');
wpsf.els.submit_button = $( '.wpsf-button-submit' );
},
on_ready: function() {
// on ready stuff here
wpsf.cache();
wpsf.trigger_dynamic_fields();
... |
/*
* ***** BEGIN LICENSE BLOCK *****
* Zimbra Collaboration Suite Web Client
* Copyright (C) 2006, 2007, 2008, 2009, 2010, 2013, 2014, 2015, 2016 Synacor, Inc.
*
* The contents of this file are subject to the Common Public Attribution License Version 1.0 (the "License");
* you may not use this file except in comp... |
import redis from "redis";
import url from "url";
const port = Number(process.env.REDIS_PORT);
const { hostname, auth } = url.parse(process.env.REDIS_URL ?? "");
const client = redis.createClient({ port, host: hostname ?? undefined });
if (auth) {
client.auth(auth.split(":")[1]);
}
client.on("connect", () => {
cons... |
import 'fast-text-encoding'; |
'use strict'
var __importDefault =
(this && this.__importDefault) ||
function(mod) {
return mod && mod.__esModule ? mod : { default: mod }
}
Object.defineProperty(exports, '__esModule', { value: true })
var createIcon_1 = __importDefault(require('./../createIcon'))
exports.default = createIcon_1.default('la l... |
/*!
* @name easyzoom
* @author <>
* @modified Friday, February 4th, 2022
* @version 2.5.2
*/ |
import React, {useState} from "react";
import {Button} from "@material-ui/core";
import {Link ,Redirect} from 'react-router-dom'
import OtpInput from 'react-otp-input';
import SocialLogin from "./SocialLogin";
import _ from 'lodash';
import {useDispatch, useSelector} from 'react-redux';
import {selectUser,makeLogin} fr... |
export { default } from './TitleInfoPopover'; |
import { mount } from '@vue/test-utils';
import DialogContainer from '@/components/DialogContainer';
let app;
describe('DialogContainer.vue', () => {
// Inject a fake app to get around vuetify warning
// https://github.com/vuetifyjs/vuetify/issues/1210#issuecomment-319624495
beforeEach(() => {
app = documen... |
import React, { Component, PropTypes } from 'react';
import Video from 'react-native-video';
import {
StyleSheet,
Text,
View,
TouchableHighlight,
} from 'react-native';
const video = require('../../static/broadchurch.mp4');
const styles = StyleSheet.create({
container: {
flex: 1,
justifyContent: 'c... |
/**
* @fileoverview Service that calls functions in mac application through 'jandimac'
*/
(function() {
'use strict';
angular
.module('jandi.hybridApp')
.service('MacAppHelper', MacAppHelper);
/* @ngInject */
function MacAppHelper(TeamData, UnreadBadge, NotificationManager) {
var that = this... |
const myLibrary = [{
title: 'The book',
author: 'The author',
pageNumber: '900',
status: false,
}];
const formContainer = document.querySelector('.form-container');
const addBtn = document.querySelector('#Add');
const addBook = document.querySelector('#new-book');
function Book(title, author, pageNumber, statu... |
+function ($) {
"use strict"
if ($.fn === undefined) $.fn = {}
if ($.fn.cartItem === undefined)
$.fn.cartItem = {}
var CartItem = function (element, options) {
this.$el = $(element)
this.$form = this.$el.find('form')
this.options = options
this.$qtyControlEle... |
/**
* Hyperloop Module
* Copyright (c) 2015 by Appcelerator, Inc. and subject to the
* Appcelerator Platform Subscription agreement.
*/
var FrameLayout = require('android.widget.FrameLayout'),
LayoutParams = require('android.widget.FrameLayout$LayoutParams'),
ViewGroupLayoutParams = require('android.view.ViewGrou... |
import Pet from "./Pet";
const Results = ({ pets }) => (
<div className="search">
{!pets.length ? (
<h2>No Pets Found</h2>
) : (
pets.map((pet) => (
<Pet
animal={pet.animal}
key={pet.id}
name={pet.name}
breed={pet.breed}
images={pet.images}... |
// Copyright 2012 Traceur Authors.
//
// 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 ... |
module.exports = {
siteMetadata: {
siteUrl: `https://lukekeum.me`,
title: `lukekeum.me`,
description: `This is blog of lukekeum`,
author: `@lukekeum`,
},
plugins: [
`gatsby-plugin-sitemap`,
{
resolve: `gatsby-plugin-gtag`,
options: {
trackingid: `G-80P91HVG80`,
... |
const FIELD_CLIENT_ID = Symbol("client_id")
const FIELD_CLIENT_DATA = Symbol("client_data")
/**
* 访问用户
*/
class Client {
/**
* 构造用户数据
*
* @param {string} id 用户标识
* @param {object} data 用户数据
*/
constructor(id, data) {
this[FIELD_CLIENT_ID] = id
this[FIELD_CLIENT_DATA... |
import fs from 'fs';
import test from 'ava';
import jsonToOpenapi from '.';
test('Basic test', async t => {
const actual = JSON.stringify(await Promise.resolve(
jsonToOpenapi('test/test.json')), null, 2);
const expected = fs.readFileSync(
'test/test-res.json', 'utf8').toString();
// Previously saved output come... |
import React from 'react'
import { createStore, applyMiddleware } from 'redux'
import { Provider } from 'react-redux'
import thunk from 'redux-thunk'
import { mount } from 'enzyme'
import { SnackbarProvider } from 'notistack'
import Button from '../../../components/material/Button'
import InputField from '../../../com... |
import React, { useState } from 'react';
import { Input } from '@rocketseat/unform';
import { toast } from 'react-toastify';
import api from '../../services/api';
import history from '../../services/history';
import { Container, Form } from './styles';
import logo from '../../assets/images/logo.svg';
import { Loading ... |
const { expect, matchTemplate, MatchStyle } = require('@aws-cdk/assert');
const cdk = require('@aws-cdk/core');
const Bootstrapper = require('../lib/bootstrapper-stack');
test('Empty Stack', () => {
const app = new cdk.App();
// WHEN
const stack = new Bootstrapper.BootstrapperStack(app, 'MyTestStack');
... |
/* Copyright (c) 2017 Red Hat, Inc. */
var math = require('mathjs');
function noop () {
}
exports.noop = noop;
function natural_numbers (start) {
var counter = start;
return function () {return counter += 1;};
}
exports.natural_numbers = natural_numbers;
function distance (x1, y1, x2, y2) {
return Math... |
import database from "../firebase/firebase";
import uuid from "uuid";
// ADD_BLOG_POST
export const addBlogPost = blogPost => ({
type: "ADD_BLOG_POST",
blogPost
});
export const startAddBlogPost = (blogPostData = {}) => {
return dispatch => {
const uid = uuid();
const { category = "", title = "", descr... |
const stripe = require('stripe')(
'sk_test_51HYi63FGeX5HICoqmq4bxp5WZxWOyx2RuKIow82nfuPwpINDsOQfrMWZeS0qac8Wj3kANIucbM2atXbyZa91QTek00nBiGJQFe'
)
const path = require('path')
const express = require('express')
const morgan = require('morgan')
const compression = require('compression')
//const session = require('expre... |
import Head from 'next/head'
export default ({ props = { title, description, pic } }) => (
<div>
<Head>
{/* General tags */}
<title>Shapla Reader</title>
<meta charSet="utf-8" />
<meta name='viewport' content='width=device-width, initial-scale=1.0' />
<meta name="description" conte... |
import React, { Component } from 'react';
import './SearchBar.css';
export class SearchBar extends Component {
constructor(props) {
super(props);
this.search = this.search.bind(this);
this.handleTermChange = this.handleTermChange.bind(this);
}
search(term) {
this.props.... |
/* flatpickr v4.5.2, @license MIT */
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
typeof define === 'function' && define.amd ? define(['exports'], factory) :
(factory((global.si = {})));
}(this, (function (exports) { 'use strict';
var f... |
/*
* @license
* Copyright (c) 2014 The Polymer Project Authors. All rights reserved.
* This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
* The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
* The complete set of contributors may be fo... |
window.__NUXT__=(function(a,b,c,d,e){return {staticAssetsBase:"https:\u002F\u002Fwww.baca-quran.id\u002Fstatic\u002F1627814429",layout:"default",error:b,state:{notification:{show:a,title:c,message:c},isShowSidebar:a,isSupportWebShare:a,headerTitle:"Baca Qur'an",page:"home",lastReadVerse:b,settingActiveTheme:{name:"dark... |
import apiActions from 'lib-vuex/api-actions';
import createLogger from 'vuex/dist/logger'
import events from 'lib-vuex/events';
import exams from 'lib-vuex/exams';
import form from 'lib-vuex/form';
import images from 'lib-vuex/images';
import news from 'lib-vuex/news';
import specialities from 'lib-vuex/specialities'
... |
import React from "react";
export default class SVG extends React.Component {
render() {
return <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="18" height="18" style={{
width: "1.125rem",
height: "1.125rem"
}} {...this.props}><path d="M12.7 14c0 .3.2.5.5.5h.5l.9 6.5h1.9l.9-6.5h.... |
import React, { useEffect } from 'react';
import { useSelector, useDispatch } from 'react-redux';
import { END } from 'redux-saga';
import axios from 'axios';
import PostForm from '../components/PostForm';
import PostCard from '../components/PostCard';
import { LOAD_POSTS_REQUEST } from '../reducers/post';
import AppL... |
function highlightButton() {
var urlParams = new URLSearchParams(location.search);
if (urlParams.has('commit')) {
document.getElementsByName('commit')[0].classList.add('active');
} else if (urlParams.has('pref')) {
document.getElementsByName('pref')[0].classList.add('active');
}
}
$(do... |
const { Router } = require('express')
const controller = require('./controller')
const { sucess } = require('../../lib/responseHandler')
const router = Router()
router.post('/login', login)
async function login (req, res, next) {
try {
const token = await controller.login(req.body.userName, req.body.userPass)
... |
import React from "react"
import randomQuoteImg from "../images/RandomQuote2.png"
import JavaScriptCalc from "../images/JavaScriptCalc.png"
import GuessGaming from "../images/GuessingGame.png"
import Pomodoro from "../images/PomodoroClock.png"
import TwitchLayout from "../images/TwitchAPI.png"
import TicTac from "../im... |
export const apiDomain = Laravel.apiDomain;
export const siteName = Laravel.siteName;
export const fileUrl = Laravel.fileUrl;
export const api = {
login: apiDomain + '/authenticate',
currentUser: apiDomain + '/user',
getFilms: apiDomain + '/films',
createFilm: apiDomain + '/film/create'
}; |
// logIds maps the path for a get-entries request to the internal ID of the log
// that the request is for. This is the same ID that was chosen in config.yaml.
const logIds = {
"/ct/v1/get-entries": 1,
}
// friendlyURL is the URL we should use to download from Backblaze B2, without
// the trailing slash. It should li... |
let users = [
{id: 1, firstName: "first1", lastName: "last1", email: "abc@gmail.com"},
{id: 2, firstName: "first2", lastName: "last2", email: "abc@gmail.com"},
{id: 3, firstName: "first3", lastName: "last3", email: "abc@gmail.com"},
{id: 4, firstName: "first4", lastName: "last4", email: "abc@gmail.com"}... |
// Copyright (c) 2020, saru and contributors
// For license information, please see license.txt
frappe.ui.form.on('Verify Social Media Check', {
// refresh: function(frm) {
// }
}); |
'use strict';
module.exports = {
async up (queryInterface, Sequelize) {
queryInterface.addColumn(
'Test', // table name
'tipo', // new field name
{
type: Sequelize.STRING,
allowNull: true,
}
)
},
async down (queryInterface, Sequelize) {
/**
* Add revertin... |
!function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;e.define("select2/i18n/lv",[],function(){function i(e,n,u,i){return 11===e?n:e%10==1?u:i}return{inputTooLong:function(e){var n=e.input.length-e.maximum,u="Lūdzu ievadiet par "+n;return(u+=" simbol"+i(n,"iem","u","iem... |
import {AuthorizeStep} from 'aurelia-auth';
import {inject} from 'aurelia-framework';
import {Router} from 'aurelia-router';
@inject(Router)
export class AppRouterConfig{
constructor(router){
this.router = router;
}
configure(config1, router){
let theAppRouterConfig = function(config){
config.title... |
'use strict'
const fs = require('fs');
const pth = require('path');
const sh = require('shelljs');
const _ = require('lodash');
const moment = require('moment');
const csvWriter = require('csv-write-stream');
const commandLineArgs = require('command-line-args');
const now = moment();
function syncData(path='./data/'... |
case '13':
clearInterval(quest_timer);
jq_jQuery('.jq_quest_time_past').html('');
if(jq_jQuery('#jq_total_memory_point')){
jq_jQuery('#jq_total_memory_point').remove();
jq_jQuery('#jq_current_memory_point').remove();
jq_jQuery('#jq_penalty_memory_point').remove();
}
break; |
(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... |
'use strict';
module.exports = {
up: (queryInterface, Sequelize) => {
return queryInterface.createTable('Usuarios', {
id: {
allowNull: false,
autoIncrement: true,
primaryKey: true,
type: Sequelize.INTEGER
},
firstName: {
type: Sequelize.STRING
},
... |
import PropTypes from 'prop-types'
import React from 'react'
import {
Page,
Toolbar,
BackButton
} from 'react-onsenui'
import QRCode from 'qrcode.react'
import { connect } from 'react-redux'
import TRANSLATIONS from '../translations'
class ShowPrivateKeyPage extends React.Component {
gotoComponent (c) {
... |
/**
* DocPad Collections Editor
* Copyright Manifold 2013+. All rights reserved.
* Author Chad Auld (chadauld@gmail.com)
* Licensed under the BSD License.
* https://github.com/cauld/docpad-collections-editor
*/
var server,
express = require('express'),
http = require('http'),
app = express(),
path... |
import { internalLinkReferenceTypes } from '../common/portableText';
export default {
name: 'recipe',
title: 'Recipe',
description: 'A recipe block',
type: 'object',
fields: [
{
name: 'title',
title: 'Title',
description: 'The title of the recipe section',
type: 'string',
va... |
/**
* vee-validate v2.1.0-beta.8
* (c) 2018 Abdelrahman Awad
* @license MIT
*/
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
typeof define === 'function' && define.amd ? define(factory) :
(global.VeeValidate = factory());
}(this, ... |
/**
*
*/
$(document).ready(function () {
InputData_TrimAll();
InputData_UpperCaseClass()
/* InputData_initNumberAndDecimal();*/
InputData_initNumberNoDecimal();
$('table').tablesorter(); //Columna de Sueldo
$("table").stickyTableHeaders();
}); |
const React = require('react');
const marked = require('marked');
const fs = require('fs');
const path = require('path');
marked.setOptions({
highlight (code, lang, callback) {
require('pygmentize-bundled')({
lang: lang,
format: 'html'
}, code, (err, result) => {
callback(err, result);
... |
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _extends2 = require('babel-runtime/helpers/extends');
var _extends3 = _interopRequireDefault(_extends2);
var _objectWithoutProperties2 = require('babel-runtime/helpers/objectWithoutProperties');
var _objectWithoutProperties3 = _in... |
'use strict';
var game = require('../game/');
module.exports = {
usedEnergy: function (objects) {
var energy = 0;
var indexes = objects.buildings;
energy += game.buildings.mineralFactory.energy[indexes[0]];
energy += game.buildings.gasFactory.energy[indexes[1]];
// energy ... |
const sharp = require('sharp');
const probe = require('iiif-processor/node_modules/probe-image-size');
const fs = require('fs');
let passed = 0, failed = 0;
const testfile = file => {
return testsharp(file)
.then(() => testprobe(file))
}
const testsharp = file => {
return sharp(file)
.metadata()
.then(data ... |
"use strict";
let User = require("./model");
const logger = require("../../libraries/logger");
const getUsers = async query => {
try {
let searchQuery = query ? query : {};
const user = await User.find(searchQuery).exec();
if (user && Array.isArray(user)) return user;
else return [];
} catch (e) {... |
import React from 'react';
import { expect } from 'chai';
import { createMount, getClasses } from '@material-ui/core/test-utils';
import describeConformance from '@material-ui/core/test-utils/describeConformance';
import consoleErrorMock from 'test/utils/consoleErrorMock';
import { spy } from 'sinon';
import { createCl... |
module.exports = {
extends: [
'react-app',
'@egor.xyz'
],
globals: {
JSX: true,
},
rules: {
'@typescript-eslint/no-unused-vars': 'error',
'jsx-a11y/anchor-has-content': 'off',
'react/jsx-no-target-blank': 'off',
'react-hooks/exhaustive-deps': 'off'
}
}; |
onload = function () {
const editor = document.getElementById("editor");
const context = editor.getContext("2d");
const toolbar = document.getElementById("toolbar");
const tools = {
"upload" : function () {
const upload = document.createElement('input');
upload.type = "f... |
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports["default"] = void 0;
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
var _AppInstallationsInstallationIdAccessTokensPermissions = _interopRequireDefault(require("./AppInstallationsInstallationIdAccessTokensPermis... |
// 导出页面为PDF格式
import html2Canvas from 'html2canvas'
import './jspdf.min.js'
export default {
install (Vue, options) {
Vue.prototype.$_getPdf = function (selector, title='') {
if (!selector) {
throw new Error('缺少selector')
}
let el = document.querySelector(selector)
if (!el) {
... |
const express = require('express');
const notes = require('./routes/notes.js');
const htmlRoute = require('./routes/htmlRoute.js');
const PORT = process.env.PORT || 3001;
const app = express();
// Middleware for parsing JSON and urlencoded form data
app.use(express.json());
app.use(express.urlencoded({ extended: true... |
'use strict'
const http = require('http')
const logger = require('winston')
const _ = require('lodash')
const socketIO = require('socket.io')
const blueprint = require('../xively').blueprint
const salesforce = require('../salesforce')
/**
* Configure socket.io connection.
* @param {express.Server} app Express Se... |
export default {
'app.network.msfroute': 'Route',
'app.network.NetScan': 'NetScan:',
}; |
import React from "react"
import { Link } from "gatsby"
import wg from '../images/wg.png'
import rpg from '../images/rpg.jpg'
import Button from '@material-ui/core/Button';
import Layout from "../components/layout"
import Header from '../components/header.js'
import SEO from "../components/seo"
import './index.css'
im... |
import React, { Fragment } from 'react'
import RelatedProjects from './RelatedProjects'
import { Text } from './Commons'
class PrevNextProject extends React.Component {
render() {
const { previous, next } = this.props
const articles = [previous, next]
.filter(i => i)
.map(item => ({ node: item })... |
(typeof navigator !== "undefined") && (function(root, factory) {
if (typeof define === "function" && define.amd) {
define(function() {
return factory(root);
});
} else if (typeof module === "object" && module.exports) {
module.exports = factory(root);
} else {
roo... |
(function () {
'use strict';
angular
.module('certificates.admin')
.controller('CertificatesAdminListController', CertificatesAdminListController);
CertificatesAdminListController.$inject = ['CertificateService'];
function CertificatesAdminListController(CertificatesService) {
var vm = this;
... |
/**
* Copyright IBM Corp. 2019, 2020
*
* This source code is licensed under the Apache-2.0 license found in the
* LICENSE file in the root directory of this source tree.
*
* Code generated by @carbon/icon-build-helpers. DO NOT EDIT.
*/
'use strict';
function _interopDefault (ex) { return (ex && (typeof ex === '... |
"use strict"
const child_process = require('child_process');
const path = require('path');
const fs = require('fs');
const dateFns = require('date-fns');
const commitRegex = /\[(.*)\],(.*)/;
const newLine = "\n";
const fileDelimiter = newLine;
const tab = "\t";
const carrierReturn = "\r";
const invalidFileLines = ["\... |
"use strict";
/*
* Copyright The OpenTelemetry Authors
*
* 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... |
/**
* https://cordova.apache.org/docs/en/latest/config_ref/images.html#android
*/
const icons = {
'res/mipmap-ldpi/icon.png': {
transparent: true,
width: 36,
height: 36
},
'res/mipmap-mdpi/icon.png': {
transparent: true,
width: 48,
height: 48
},
'res/mipmap-hdpi/icon.png': {
tran... |
// =========================================================
// * Vuetify Material Dashboard PRO - v2.1.0
// =========================================================
//
// * Product Page: https://www.creative-tim.com/product/vuetify-material-dashboard-pro
// * Copyright 2019 Creative Tim (https://www.creative-tim.com)... |
function PlotPhylo() {
d3.select("#savephylo").on("click", function(){
var doctype = '<?xml version="1.0" standalone="no"?>' + '<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">';
// serialize our SVG XML to a string.
var source = (new XMLSerializer()).seriali... |
"use strict";
var Emitr = require("./../../services/emitr");
var BoardSelectionPanel = Object.create(HTMLElement.prototype);
var templateService = require("./../../services/templateService");
var EVENTS = require("../../events");
Emitr(BoardSelectionPanel);
BoardSelectionPanel.createdCallback = function() {
this.... |
// All material copyright ESRI, All Rights Reserved, unless otherwise specified.
// See http://js.arcgis.com/3.25/esri/copyright.txt for details.
//>>built
define("esri/dijit/metadata/nls/ko/i18nInspire",{documentTypes:{data:{caption:"INSPIRE(\ub370\uc774\ud130)",description:""},service:{caption:"INSPIRE(\uc11c\ube44\u... |
import { expect } from 'chai';
import getAuthReducer, {
getFreshLoginReducer,
getLoginStatusReducer,
getProxyLoadedReducer,
getProxyRetryCountReducer,
getOwnerIdReducer,
getEndpointIdReducer,
} from './getAuthReducer';
import getModuleStatusReducer from '../../lib/getModuleStatusReducer';
import actionType... |
/* eslint-disable jsx-a11y/click-events-have-key-events */
/* eslint-disable jsx-a11y/no-noninteractive-element-interactions */
import React from 'react';
import { Nav } from 'react-bootstrap';
import { Link, useLocation } from 'react-router-dom';
const Sidebar = ({ styles, menuItems }) => {
const location = useLoca... |
// All material copyright ESRI, All Rights Reserved, unless otherwise specified.
// See https://js.arcgis.com/4.10/esri/copyright.txt for details.
//>>built
define({widgetLabel:"Wyszukaj",searchButtonTitle:"Wyszukaj",clearButtonTitle:"Wyczy\u015b\u0107 wyszukiwanie",placeholder:"Znajd\u017a adres lub miejsce",searchIn:... |
/*!
* chartjs-plugin-crosshair v1.2.0
* https://chartjs-plugin-crosshair.netlify.com
* (c) 2022 Chart.js Contributors
* Released under the MIT license
*/
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('chart.js'), require('chart.js/helpers')) :
typeof d... |
/**
* 返回goodsprice
* @return {[type]} [description]
*/
var goodscomment = function(){
$('#datatable_goods_comment').DataTable({
"processing": true,
'language':lang,
"serverSide": true,
'searchDelay':300,//搜索延时
'search':{
regex : true//是否开启模糊搜索
},
... |
search_result['3515']=["topic_0000000000000D05.html","SCARD_E_SHARING_VIOLATION Field",""]; |
/*
Data extractor of table data to JavaScript Enum based on values using npm 'enumerated-type' package
First non-numeric column is considered the name of the enum values, the rest will be used as properties of the enum value
Transposed status is ignored
*/
var packageName = ""; // package used for genera... |
export default [
{
name: 'Achievement',
description: "Represents player's progression milestone",
structure: [
{
field: 'playerId',
type: 'integer',
description: 'The id of the corresponding player.'
},
{
field: 'name',
type: 'string',
desc... |
(function ($) {
"use strict";
var data = [],
totalPoints = 300;
function getRandomData() {
if (data.length > 0)
data = data.slice(1);
// Do a random walk
while (data.length < totalPoints) {
var prev = data.length > 0 ? data[data.length - 1] : 50,... |
const { ethers, upgrades } = require("hardhat");
const overrides = {
gasLimit: 9999999
}
async function main() {
const [deployer] = await ethers.getSigners();
console.log("Deploying contracts with the account:", deployer.address);
const faucetContract = await ethers.getContractFactory("SwanFaucet");
//... |
/**
* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/
/**
* @license
* Copyright Alibaba.com All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICEN... |
/*
UsingJs script loader and dependency tracker
Copyright 2013-2016 Benjamin McGregor (Ixonal)
Released under the MIT Licence
http://opensource.org/licenses/MIT
*/
(function(r){function M(a,b){z[a]||(z[a]=[]);z[a].push(b)}function E(a,b){var c=z[a];if(c)for(var k=0,e=c.length;k<e;k++)c[k].call(null,w({},b))}function w... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.