text stringlengths 2 1.04M |
|---|
/**
* Auto-generated action file for "Microsoft Graph API" API.
*
* Generated at: 2019-08-07T14:53:10.520Z
* Mass generator version: 1.1.0
*
* flowground :- Telekom iPaaS / microsoft-graph-api-connector
* Copyright © 2019, Deutsche Telekom AG
* contact: flowground@telekom.de
*
* All files of this connector ar... |
/*!
* Paper.js v0.10.2 - The Swiss Army Knife of Vector Graphics Scripting.
* http://paperjs.org/
*
* Copyright (c) 2011 - 2016, Juerg Lehni & Jonathan Puckey
* http://scratchdisk.com/ & http://jonathanpuckey.com/
*
* Distributed under the MIT license. See LICENSE file for details.
*
* All rights reserved.
*
... |
import React, { Component } from 'react';
import { connect } from 'react-redux';
import Chart from '../components/chart';
import GoogleMap from '../components/google_map';
class WeatherList extends Component {
renderWeather(cityData) {
const name = cityData.city.name;
const temps = cityData.list.map(weather ... |
import path from 'path';
import fs from 'fs-promise';
import PostFactory from './PostFactory';
import HtmlGenerator from './HtmlGenerator';
import FileWriter from './FileWriter';
import RssGenerator from './RssGenerator';
import promiseSeq from './util/promiseSeq';
import marked from 'marked';
export default class Mib... |
class Foo {
constructor(){
this.test = "test";
}
}
(Foo || (Foo = {
})).answer = 42, module.exports = Foo;
const foo = require("./foo_0");
42 === foo.answer && new foo();
export { }; |
module.exports = {
parser: 'babel-eslint',
extends: 'airbnb',
plugins: [
'react',
'react-native',
'jsx-a11y',
'import'
],
settings: {
'import/resolver': 'reactnative'
},
env: {
jest: true
},
rules: {
'react/jsx-filename-extension': [2, { extensions: ['.js'] }],
"react/p... |
/*
* ***** BEGIN LICENSE BLOCK *****
* Zimbra Collaboration Suite Web Client
* Copyright (C) 2013, 2014, 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 compliance with the License.
* You may ... |
const types = require('../constants/ActionTypes');
const initialState = {
mode: 'normal',
dirty: false,
layout: [],
widgetDeviceType: 'METER',
widgets: [],
};
const dashboard = function (state = initialState, action) {
switch (action.type) {
case types.DASHBOARD_SWITCH_MODE:
return Object.assig... |
/**
* Small utilty for generating a cryptographically strong random string,
* that can be used as key for signing cookies.
*/
import cryptoRandomString from 'crypto-random-string'
console.log(cryptoRandomString({ length: 42, type: 'base64' })) |
var searchData=
[
['wait_5ffor_5ffirst_5fpps',['wait_for_first_pps',['../structusrp__state__t.html#a29877ec48bd60ab32869d30370a6db41',1,'usrp_state_t']]],
['window_5fbitmap',['window_bitmap',['../structpdcp__control__pdu__for__pdcp__status__report.html#a32a34c0656f297a6de77fd6ee2c63765',1,'pdcp_control_pdu_for_pdcp... |
//# sourceMappingURL=main.0bdae82f.chunk.js.map |
// Exists to migrate old cached sites to the new service worker path.
// A simple, no-op service worker that takes immediate control.
self.addEventListener('install', () => {
// Skip over the "waiting" lifecycle state, to ensure that our
// new service worker is activated immediately, even if there's
// another ... |
"use strict";
var fs = require('fs');
var path = require('path');
var gulp = require('gulp');
var watch = require('gulp-watch');
var react = require('gulp-react');
var render = require('gulp-render');
var reactify = require('reactify');
var reactTools = require('react-tools');
var connect = require('gulp-connect');
va... |
(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.ex... |
import { gql, useQuery } from "@apollo/client";
const dappLearningCollectibles = gql`
{
dappLearningCollectibles(first: 108) {
id
tokenId
owner
isBurn
isAuction
}
}
`;
const getCurrentColl = gql`
query getCurrent($address:Bytes){
dappLearningCollect... |
var nedb = require('nedb'),
Q = require('q');
// Load configfile
var config = require('../config.js');
// Load database
var db = {};
db.queue = new nedb({ filename: config.db.queuePath, autoload: true, timestampData: true });
db.history = new nedb({ filename: config.db.historyPath, autoload: true, timestampData: ... |
import { SNACKBAR_SHOW, SNACKBAR_HIDE } from '@/store/mutations.constants'
export const state = () => ({
showSnackbar: false,
snackbarMessage: 'Message not supplied'
})
export const mutations = {
[SNACKBAR_HIDE]: (state) => {
state.showSnackbar = false
},
[SNACKBAR_SHOW]: (state, message) => {
stat... |
/*
* Copyright (C) 2017 Dremio Corporation
*
* 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... |
'use strict';
var Complex = function(number){
this.re = this.im = 0;
if(typeof number == "string"){ // If is a complex number definitios (A+Bi)
if(/(i|j)/.test(number.toString())){
if(/(\d+|\d+(\.\d+))(\+|\-)((\d+|\d+(\.\d+)))(i|j)/g.test(number.toString())){
var separado = number.toString().replace(/(\d+|\d... |
var Supplier = require('../models/carsupplier.model')
var UploadController=require('../controllers/upload.controller')
var mongoose = require('mongoose');
var moment =require('moment');
moment().format();
module.exports.index = function (req, res) {
Supplier.find().then(function (supplier) {
res.send(suppli... |
/* eslint-disable max-len, no-console */
import 'pathseg';
import $ from 'jquery';
window.$ = $;
import { NS } from '../../../instrumented/common/namespaces.js';
import * as utilities from '../../../instrumented/svgcanvas/utilities.js';
import * as transformlist from '../../../instrumented/svgcanvas/svgtransformlist.j... |
//# sourceMappingURL=omi.min.js.map |
// functions to update the page from data
function makeDivWithClassAndText(className, text) {
let div = document.createElement('div')
div.classList.add(className)
div.textContent = text
return div
}
function makeMessageDiv(message) {
console.log('rendering message')
console.log(message)
... |
Rickshaw.namespace('Rickshaw.Graph.Behavior.Series.Toggle');
Rickshaw.Graph.Behavior.Series.Toggle = function(args) {
this.graph = args.graph;
this.legend = args.legend;
var self = this;
this.addAnchor = function(line) {
var anchor = document.createElement('a');
anchor.innerHTML = '✔';
anchor.clas... |
const express = require('express');
module.exports.createAPI = (resourceName, db) => {
let lastId = db.get(resourceName).last().value().id;
const router = express.Router();
router.route(`/${resourceName}`)
.get((req, res) => {
const resources = db.get(resourceName).value();
res.json(resources... |
/**
*
* ProjectName:blogme
* Description:
* Created by qimuyunduan on 16/4/13 .
* Revise person:qimuyunduan
* Revise Time:16/4/13 下午3:06
* @version
*
*/
var _ = require('lodash'),
Promise = require('bluebird'),
errors = require('../errors'),
utils = require('../utils'),
... |
const {
GraphQLString,
GraphQLList,
GraphQLFloat,
GraphQLInt,
GraphQLInputObjectType,
} = require('graphql');
/**
* @name exports
* @summary ObservationDefinitionquantitativeDetails Input Schema
*/
module.exports = new GraphQLInputObjectType({
name: 'ObservationDefinitionquantitativeDetails_Input',
descripti... |
'use strict';
var config = require('./config');
var mellow = require('mellow');
module.exports = function (dir) {
var root = config('root') || '/';
return mellow.pathToWin(dir, root);
}; |
import React, { useState, useEffect } from 'react';
import { Link } from 'react-router-dom';
import { Button } from './Button'
import '../assets/navbar.css';
function Navbar() {
const [click, setClick] = useState(false);
const [button, setButton] = useState(true);
const handleClick = () => setClick(!click... |
// Vue imports
import Vue from 'vue'
import Router from 'vue-router'
// 3rd party imports
import Auth from '@okta/okta-vue'
// our own imports
import Hello from '@/components/Hello'
import FoodRecords from '@/components/FoodRecords'
Vue.use(Auth, {
issuer: 'https://dev-822416.okta.com/oauth2/default',
client_id... |
module.exports ={
Login: 'Login',
reset: 'reset',
addUser: 'Add User',
home: 'Home',
welcome: 'Welcome to Vue background management system!'
} |
import styled from 'styled-components';
const Wrapper = styled.div`
padding-bottom: 0;
`;
export default Wrapper; |
'use strict';
const path = require('path');
const chai = require('chai');
const sinon = require('sinon');
const AwsProvider = require('../../../../../../../lib/plugins/aws/provider');
const AwsCompileLayers = require('../../../../../../../lib/plugins/aws/package/compile/layers');
const Serverless = require('../../../.... |
/*
* Copyright (C) 2017-2018 Dremio Corporation
*
* 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 l... |
/*
Copyright (c) 2004-2011, The Dojo Foundation All Rights Reserved.
Available via Academic Free License >= 2.1 OR the modified BSD license.
see: http://dojotoolkit.org/license for details
*/
//>>built
define("dojo/dom-construct",["exports","./_base/kernel","./sniff","./_base/window","./dom","./dom-attr"],function(... |
'use strict';
module.exports = require('neo-async').compose; |
import {initialState } from './inital';
const getStateData=(state=initialState.data,action) => {
switch (action.type){
case "GET_STATES":
return {
...state,
stateData: action.data
}
default:
return state
}
}
const get... |
const Excel = require('exceljs');
const fs = require('fs');
const Math = require('math.js');
let workbook = new Excel.Workbook();
//Modelling is done in modelAttempt.js file, seperate from index. |
import { getWidth } from '../../core/utils/size';
import $ from '../../core/renderer';
import eventsEngine from '../../events/core/events_engine';
import { addNamespace } from '../../events/utils/index';
import { name as clickEventName } from '../../events/click';
import { isDefined, isString } from '../../core/utils/t... |
(function($) {
$(function() {
$("#search-box").focus().on("keyup", function (e) {
var text = $(this).val();
if (e.keyCode == 13) {
var visibleRows = $("[data-record-text]:visible");
if (visibleRows.length > 0) {
var ed... |
const Discord = require('discord.js');
module.exports.run = async(client, message, args) => {
let nombre_membre_co = message.guild.members.filterArray(m=>m.presence.status!="offline").length;
let serverCreateDate = message.guild.createdAt.toString().split(' ');
//console.log(serverCreateDate);
let em... |
import * as actions from '../src/actions'
import reducers from '../src/reducers'
let state = {}
const test = action => reducers(state, action)
describe('Reducers', () => {
describe('Todos', () => {
beforeEach(() => {
state = test(actions.addTodo('add todo test'))
})
it('can add todo at action of A... |
/**
* @license Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
/**
* @fileOverview Defines the {@link CKEDITOR.lang} object, for the
* Welsh language.
*/
/**#@+
@type String
@example
*/
/**
... |
const express = require('express');
const webpack = require('webpack');
const webpackDevMiddleware = require('webpack-dev-middleware');
const app = express();
const config = require('./webpack.config');
// 传入配置信息, webpack根据配置信息进行编译
const compiler = webpack(config);
const middleware = webpackDevMiddleware(compiler);... |
export default {
data () {
return {
sm: ['apple'],
md: ['apple'],
lg: ['apple']
};
}
}; |
'use strict';
const User = use('App/Models/User');
/** @type {import('@adonisjs/framework/src/Hash')} */
const Hash = use('Hash');
class AuthController {
async register({ request, auth, response }) {
const name = request.input('name');
const email = request.input('email');
// const passwor... |
// Here, you can define all custom functions, you want to use and initialize some variables
/* Variables
*
*
*/
const j_key = _.sample(["same", "different"]); // You can determine global (random) parameters here
// Declare your variables here
const f_key = get_other_key(j_key);
function get_other_key(j_key){
if (... |
var pym = require("./lib/pym");
require("./lib/webfonts");
var pymChild;
var renderLineChart = require("./renderLineChart");
var { COLORS, getAPMonth } = require("./lib/helpers");
var { isMobile } = require("./lib/breakpoints");
console.clear();
//Initialize graphic
var onWindowLoaded = function() {
var series = {... |
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[3],{
/***/ "./node_modules/babel-loader/lib/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/views/Login.vue?vue&type=script&lang=js&":
/*!*****************************************************************************************************... |
const webpack = require("webpack");
const dotenvPlugin = require('dotenv-webpack');
module.exports = {
entry: "./src/index.tsx",
mode: "development",
plugins: [new dotenvPlugin()],
module: {
rules: [{
test: /\.(tsx?|js|jsx)$/,
exclude: /(node_modules|bower_components)/,
... |
/**
*
*/
Ext.define('Ext.layout.Abstract', {
mixins: ['Ext.mixin.Observable'],
isLayout: true,
constructor: function(config) {
this.initialConfig = config;
},
setContainer: function(container) {
var me = this;
me.container = container;
me.mixins.observable.... |
/**
* @author qiao / https://github.com/qiao
* @author mrdoob / http://mrdoob.com
* @author alteredq / http://alteredqualia.com/
* @author WestLangley / http://github.com/WestLangley
* @author erich666 / http://erichaines.com
* @author ScieCode / http://github.com/sciecode
*/
import {
EventDispatcher,
MOUSE,
... |
/**
* Created by sohobloo on 16/9/13.
* Modifiedd by vitorizkiimanda on 19/01/10.
*/
'use strict';
// https://github.com/sohobloo/react-native-modal-dropdown
import React, { Component } from 'react';
import {
StyleSheet,
Dimensions,
View,
Text,
TouchableWithoutFeedback,
TouchableNativeFeedback,
TouchableOp... |
try {
var util = require('util');
/* istanbul ignore next */
if (typeof util.inherits !== 'function') throw '';
module.exports = util.inherits;
} catch (e) {
/* istanbul ignore next */
module.exports = require('./inherits_browser.js');
} |
const babel = require('babel-core');
const content = `
var React = require('react');
type Maybe<T> = T | void;
type Props = {
foo: Maybe<string>,
};
function C(props: Props) {
return <div>{props.foo}</div>;
}
`;
it('union-void-through-generic', () => {
const res = babel.transform(content, {
babelrc: false... |
import React, {Component} from 'react';
import PropTypes from 'prop-types';
import {
View,
Text,
Image,
Modal,
TouchableHighlight,
DatePickerAndroid,
TimePickerAndroid,
DatePickerIOS,
Platform,
Animated,
Keyboard
} from 'react-native';
import Style from './style';
import Moment from 'moment';
con... |
module.exports = {
IS_DEV: process.env.ELEVENTY_ENV !== 'production'
} |
/**
* Make text safe to include in html
*
* @param {[type]} text [description]
* @return {[type]} [description]
*/
function safeText(text) {
// Render as text node
const html = document.createElement('p');
html.appendChild(document.createTextNode(text));
return html.innerHTML;
}
/**
* Creat... |
(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.ex... |
import {
interpretForOffsetPaging,
interpretForKeysetPaging,
orderColumnsToString
} from '../shared'
import { filter } from 'lodash'
function recursiveConcat(keys) {
if (keys.length <= 1) {
return keys[0]
}
return recursiveConcat([ `CONCAT(${keys[0]}, ${keys[1]})`, ...keys.slice(2) ])
}
const q = str ... |
import fs from 'fs';
import path from 'path';
import parseArgs from 'minimist';
import process from 'process';
import { spawnSync } from 'child_process';
import { assert } from '@agoric/assert';
import anylogger from 'anylogger';
// Start a network service
import addChain from './add-chain.js';
import initBasedir fro... |
import $ from 'jquery';
import renderer from 'core/renderer';
import resizeCallbacks from 'core/utils/resize_callbacks';
import 'ui/file_manager';
import fx from 'animation/fx';
import { FileManagerWrapper, createTestFileSystem, Consts } from '../../../helpers/fileManagerHelpers.js';
const { test } = QUnit;
const mod... |
/*
Author: Geraint Luff and others
Year: 2013
This code is released into the "public domain" by its author(s). Anybody may use, alter and distribute the code without restriction. The author makes no guarantees, and takes no liability of any kind for use of this code.
If you find a bug or make an improvement, it wou... |
'use strict';
require('../test_helper');
var _ = require('lodash'),
async = require('async'),
config = require('../support/config'),
execFile = require('child_process').execFile,
Factory = require('factory-lady'),
fs = require('fs'),
path = require('path'),
processEnv = require('../support... |
/*!
* CanJS - 2.3.28
* http://canjs.com/
* Copyright (c) 2016 Bitovi
* Thu, 08 Dec 2016 20:53:50 GMT
* Licensed MIT
*/
/*can@2.3.28#map/map_helpers*/
define([
'can/util/library',
'can/util/object/isplain'
], function (can) {
var mapHelpers = {
attrParts: function (attr, keepKey) {
... |
import React from 'react';
import Button from '../../components/button';
import Drawer from '../../components/drawer';
import style from '../style.css';
class DrawerTest extends React.Component {
state = {
leftActive: false,
rightActive: false,
};
handleToggleLeft = () => {
this.setState({ leftActiv... |
Balanced.MarketplacesApplyController = Balanced.ObjectController.extend({
isLoading: false,
kycError: false,
termsAndConditions: false,
actions: {
selectType: function(applicationType) {
var cls = 'selected';
this.set('applicationType', applicationType);
$('input:text', '#marketplace-apply').filter(fun... |
import React, { Component } from "react";
import { connect } from "react-redux";
import { likeVideo } from "../../actions/videoActions";
class Like extends Component {
onClick = e => {
this.props.likeVideo(this.props.video, this.props.videoState.nowPlaying);
};
render() {
const classes =
"col pane... |
/* const precioOriginal = 120;
const descuento = 18; */
function calcularPrecioConDescuento(precio, descuento) {
const porcentajePrecioConDescuento = 100 - descuento;
const precioConDescuento = (precio * porcentajePrecioConDescuento) /100;
return precioConDescuento;
}
/* variables coupons */
const coup... |
/**
* This is a utility class that can be passed into a {@link Ext.grid.column.Column} as a column config that provides
* an automatic row numbering column.
*
* Usage:
*
* columns: [
* {xtype: 'rownumberer'},
* {text: "Company", flex: 1, sortable: true, dataIndex: 'company'},
* {te... |
'use strict';
var view;
var context;
var listPicker;
var closeCallback;
var pageObject = {
onShownModally: onShownModally,
onReadyTap: onReadyTap
};
module.exports = pageObject;
function onShownModally(args) {
console.log('showing modally');
view = args.object;
context = args.context;
listPi... |
var log = require('./log.js');
log.info('Node.js started'); |
import {
constrain,
copy,
distance,
draw_brackets,
draw_fn,
draw_matrix,
draw_network,
draw_simple,
enter_select,
format_matrix,
guid,
guidIndex,
interpolate,
matrix_size,
pretty_round,
rgbToHex,
save_state,
transform_props,
} from '../index';
import {
math,
parser,
rtv,
BORD... |
const Discord = require("discord.js");
const emojis = require("../../emoji/emoji.js");
module.exports = {
name: "rradd2",
category: "reactio",
bot: [
"VIEW_CHANNEL",
"EMBED_LINKS",
"ATTACH_FILES",
"MANAGE_CHANNELS",
"MANAGE_GUILD",
"MANAGE_ROLES"
],
author:
"VIEW_CHANNEL" ||
"... |
import React, { useState, useEffect } from "react"
import { mainMenuItems } from "../constants/links"
import styled from "styled-components"
import { Link } from "react-scroll"
const Navbar = ({ Logo }) => {
const [isOpen, setNav] = useState(false)
const [visible, setVisible] = useState(true)
const [prevScrollPo... |
// =========================================================================
// Copyright © 2017 T-Mobile USA, 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.ap... |
const requiresReviewPrivacy =
'Usage of this API requires dedicated review due to ' +
'being privacy sensitive. Please file an issue asking for permission' +
' to use if you have not yet done so.';
const privateServiceFactory =
'This service should only be installed in ' +
'the allowlisted files. Other modul... |
import { updateOrCreate, findUserById, findUserByCredentials, fetchUserByTwitterId } from './db';
import makeLogger from '../logger';
const logger = makeLogger('user/model.js');
export class User {
id;
email;
password;
twitter;
constructor({ id, email, password, twitter }) {
this.id = id;
this.ema... |
const { version } = require('../package.json');
module.exports = (args) => {
console.log(`v${version}`);
}; |
const fs = require("fs");
const openBrowser = require("opn");
const Yeelight = require("yeelight2");
const config = require("./config.json");
const search = require("./services/search");
const parser = require("./utils/parser");
const TempPricesArray = [];
function checkURL(item) {
const { uri_array } = item;
u... |
import React from "react";
import Button from "./../Button";
import { getImg } from "../../../utils/Helper";
import Styles from './Signup.scss';
import { Link } from 'react-router-dom';
class Signin extends React.Component {
constructor(props) {
super(props);
this.state = {};
}
handleCl... |
import * as d3 from 'd3'
import * as louvain from 'louvain'
/*
Credits:
Inspired by https://observablehq.com/@d3/arc-diagram
*/
export function render(svgNode, data, visualOptions, mapping, originalData) {
const {
// artboard
width,
height,
background,
marginTop,
marginRight,
marginBotto... |
/**
The YUI module contains the components required for building the YUI seed file.
This includes the script loading mechanism, a simple queue, and the core
utilities for the library.
@module yui
@main yui
@submodule yui-base
**/
/*jshint eqeqeq: false*/
if (typeof YUI != 'undefined') {
YUI._YUI = YUI;
}
/**
The... |
export const set = (rows) => ({
type: 'SET',
rows
})
export const add = (row) => ({
type: 'ADD',
row
})
export const remove = (index) => ({
type: 'REMOVE',
index
})
export const reorder = (from, to) => ({
type: 'REORDER',
from,
to
})
export const setValue = (key, value) => ({
type: 'SET_VALUE',
... |
// Copyright 2017-2021 @polkadot/util-crypto authors & contributors
// SPDX-License-Identifier: Apache-2.0
import { naclDeriveHard } from "../nacl/deriveHard.js";
import { naclKeypairFromSeed } from "../nacl/keypair/fromSeed.js";
import { createSeedDeriveFn } from "./hdkdDerive.js";
export const keyHdkdEd25519 = create... |
// @link http://schemas.gdbots.io/json-schema/gdbots/ncr/command/expire-node/1-0-0.json#
import Fb from '@gdbots/pbj/FieldBuilder.js';
import Format from '@gdbots/pbj/enums/Format.js';
import GdbotsPbjxCommandV1Mixin from '@gdbots/schemas/gdbots/pbjx/mixin/command/CommandV1Mixin.js';
import Message from '@gdbots/pbj/Me... |
//# sourceMappingURL=chunk-0b6be7b8.4fc7b1a6.js.map |
const AV = require('../../libs/av-weapp-min.js');
//index.js
//获取应用实例
const app = getApp()
Page({
data: {
motto: 'Hello World',
userInfo: {},
hasUserInfo: false,
canIUse: wx.canIUse('button.open-type.getUserInfo'),
groupName: '未加入小组',
todos: []
},
onLoad: function () {
if (app.globalD... |
// MODULES //
import Loadable from 'components/internal/loadable';
// MAIN //
const KMeans = Loadable( () => import( /* webpackChunkName: "KMeans" */ './main.js' ) );
// EXPORTS //
export default KMeans; |
module.exports = {
"*.{js,ts,tsx}": [
`eslint --ignore-path .gitignore --ignore-path .prettierignore --fix`,
],
"*.{md,mdx,json,yaml}": [`prettier "**/*.{md,mdx,json,yaml}" --write`],
}; |
var fs = require('fs')
var path = require('path')
var Canvas = require('..')
var canvas = new Canvas(100, 100)
var ctx = canvas.getContext('2d')
ctx.fillStyle = '#f00'
ctx.rect(0, 0, 100, 50)
ctx.arc(50, 50, 50, 0, 2 * Math.PI)
ctx.fill('evenodd')
canvas.createJPEGStream().pipe(fs.createWriteStream(path.join(__dirna... |
module.exports = {
"redirect": [
/****************************************************
* POTENTIALLY TEMPORARY REDIRECTS
****************************************************/
/****************************************************
* From Studio(potentially temporary until the support of old bundles sto... |
/**
* @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
*/
/* globals DecoupledEditor, MiniCKEditorInspector, Essentials, console, window, document */
function CustomHeading( editor ) {
editor.model... |
module.exports = {
simple: '<svg viewBox="0 0 512 512" id="foo">Inner</svg>',
complex:
'<svg height="400" width="450"><path id="lineAB" d="M 100 350 l 150 -300" stroke="red" stroke-width="3" fill="none"></path><g stroke="black" stroke-width="3" fill="black"><circle id="pointA" cx="100" cy="350" r="3"></circle><... |
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = LightBulbIcon;
var _react = require("react");
var _react2 = _interopRequireDefault(_react);
var _Icon = require("./Icon");
var _Icon2 = _interopRequireDefault(_Icon);
function _interopRequireDefault(obj) { return obj ... |
import React from 'react';
import {View, Text} from 'react-native';
import styles from './styles';
import BoxExercise from '../BoxExercise';
const ExerciseSlide = props => {
return (
<View style={styles.container} >
{console.warn(props)}
{!!props.data.map(exercise => {
return <BoxExercise tit... |
import { log } from '../spec-utils.js';
export function toBeTruthy() {
const message = `${this.not ? 'not ' : ''}to be truthy`;
const result = !!this.value;
// @ts-ignore
return log.newEntry(message, result ^ this.not);
} |
import React, { PureComponent } from 'react'
import PropTypes from 'prop-types'
import {
Input,
InputNumber,
Radio,
Modal,
Cascader,
Typography,
Avatar,
} from 'antd'
import { Form } from '@ant-design/compatible'
import '@ant-design/compatible/assets/index.css'
import { Trans, withI18n } from '@lingui/rea... |
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var _react = _interopRequireDefault(require("react"));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
var PriceCard1 = function PriceCard1() {
return /*#__PURE_... |
/**
*
* Copyright 2016 Netflix, 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 a... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.