text stringlengths 2 1.04M |
|---|
var CONFIG = require('config');
module.exports = function(grunt) {
// Project configuration
grunt.initConfig({
clean: {
fonts: ['public/fonts/'],
ngtemplates: ['public/templates/'],
js: ['public/js/'],
css: ['public/css/']
},
copy: {
polyfills: {
nonull: true,
files: {
'public/js/p... |
import React from "react"
import { FormattedMessage } from "react-intl"
import SVG from "react-inlinesvg"
import { toAbsoluteUrl } from "./../../../../../../helpers"
import { useAvailabilitySettingStructuresUIContext } from "../../context/AvailabilitySettingStructuresUIContext"
import {ProtectedLink} from "../../../../... |
var libs = {
thymeleaf : require('/lib/thymeleaf'),
util: require('/lib/util'),
portal: require('/lib/xp/portal'),
session : require('/lib/session'),
rest: require('/lib/rest')
};
var view = resolve('travel-web-wapp-quote-payment-quote-1.html');
exports.get = function(req){
libs.util.log(req);... |
/**
* @file
*/
const ESCAPE_PREFIX = require('./postcss-plugin').__escapePrefix;
class WebpackCssModuleEscaperPlugin {
apply(compiler) {
const rules = compiler.options.module.rules;
for (let rule of rules) {
if (Array.isArray(rule.use)) {
for (let loader of rule.use) {... |
import { render } from 'react-dom'
import React, { useState, useEffect } from 'react'
import { useTransition, animated } from 'react-spring/hooks'
import shuffle from 'lodash/shuffle'
import data from './data'
import './styles.css'
export default function App() {
const [rows, set] = useState(data)
let height = 0
... |
'use strict';
var Reflux = require('reflux');
var Repository = require('../../api/Repository.js');
var Server = require('../../api/Server.js');
var DeskPageDocumentActions = require('../../action/desk/DeskPageDocumentActions.js');
var defaultModel = {
counter: 0
};
var DeskPageDocumentStore = Reflux.createStore(... |
import { setCarNameEvent } from "./setCarNameEvent.js"
const renderReset = () => {
const body = document.querySelector("body")
body.innerHTML = `
<div id="app">
<section class="d-flex justify-center mt-5">
<form>
<fieldset>
<h1 class="text-center">🏎️ 자동차 경주 게임</h1>
... |
var OPSkinsAPI = require('../index.js');
OPSkinsAPI.prototype.getCountriesRegions = function(callback) {
this.get("ILocalization", "GetCountriesRegions", 1, function(err, res) {
if (err) {
callback(err);
return;
}
callback(null, res.countries);
});
};
OPSkinsAPI.prototype.getSupportedLanguages = functio... |
/**
* @file
* Example 34: Use conditional recipients
* @author DocuSign
*/
const fs = require("fs-extra");
const docusign = require("docusign-esign");
/**
* Work with creating of the envelope
* @param {Object} args Arguments for creating envelope
* @return {Object} The object with value of envelopeId or error
... |
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Serie = void 0;
const tslib_1 = require("tslib");
const xml_js_mapper_1 = require("r2-utils-rn/dist/es8-es2017/src/_utils/xml-js-mapper");
let Serie = class Serie {
};
tslib_1.__decorate([
xml_js_mapper_1.XmlXPathSelector("@schema:... |
'use strict';
/**
* egg-captcha default config
* @member Config#captcha
* @property {String} SOME_KEY - some description
*/
exports.captcha = {
width: 256, // set width,default is 256
height: 60, // set height,default is 60
offset: 40, // set text spacing,default is 40
quality: 100, // set pic quality,d... |
import { withDirectives as _withDirectives, createVNode as _createVNode, vShow as _vShow } from "vue";
import { Transition, defineComponent } from "vue";
import { noop, isDef, extend, truthProp, numericProp, unknownProp, preventDefault, createNamespace, getZIndexStyle } from "../utils";
import { useLazyRender } from ".... |
/**
* @fileoverview This option sets a specific tab width for your code
*
* This rule has been ported and modified from nodeca.
* @author Vitaly Puzrin
* @author Gyandeep Singh
*/
"use strict";
//------------------------------------------------------------------------------
// Rule Definition
//----------------... |
/**
* Created by hanyile on 2017/8/17.
*/
var webpack = require('webpack');
var path = require('path');
const HtmlWebpackPlugin = require('html-webpack-plugin');
const CleanWebpackPlugin = require('clean-webpack-plugin');
var ROOT_PATH = path.resolve(__dirname);
var STUDENT_PATH = path.resolve(ROOT_PATH, 'src/stude... |
const express = require("express");
const router = express.Router();
const marketer = require('./marketer')
const advertiseOwner = require('./advertise_owner')
const level = require('./level')
const siteInfo = require('./site_info')
const campaign = require('./campaign')
router.use('/site-info',siteInfo);
router.use(... |
import { addLocaleData } from 'number-intl'
addLocaleData({
"locale": "hr-HR",
"number": {
"nu": [
"latn"
],
"patterns": {
"decimal": {
"pos": "{number}",
"ne": "{minus}{number}"
},
"currency": {
... |
// Generated automatically by nearley, version 2.17.0
// http://github.com/Hardmath123/nearley
(function () {
function id(x) { return x[0]; }
function getValue(d) {
return d[0].value
}
function literals(list) {
var rules = {}
for (var lit of list) {
rules[lit] = {ma... |
/* eslint-disable no-console*/
const fetch = require('node-fetch');
const fs = require('fs');
const { ApolloServer } = require('apollo-server');
const resolvers = require('../../src/server/graphql/resolvers');
const typeDefs = require('../../src/server/graphql/typeDefs');
const server = new ApolloServer({
typeDefs,... |
(function () {
"use strict";
angular
.module('app')
.controller('WarningsController', [
WarningsController
]);
function WarningsController() {
var vm = this;
// TODO: move data to the service
vm.warningsChartData = warningFunction;
functio... |
'use strict';
import { NativeModules } from 'react-native';
module.exports = NativeModules.DropBoxModule; |
var a = require("../../api");
var api = new a();
var { MessageEmbed } = require('discord.js');
var Scriptdb = require("script.db");
module.exports = {
name: "status",
description: "Xem thông số server.",
aliases: ['uptime', 'tps', 'q', 'queue', 'que', 'prio', 'prioqueue', 'normalqueue'],
execute(clie... |
/**
* cn - 全屏
* -- 使用 fullScreen 属性来使对话框全屏展示
* en - Full Screen
* -- Use the fullScreen property to display the modal in full screen
*/
import React from 'react'
import { Modal, Button } from 'shineout'
import Content from '../Form/example-01-base'
export default () => {
const [visible, setVisible] = Reac... |
import React from 'react';
import { withStyles } from '@material-ui/core/styles';
import { MuiThemeProvider } from '@material-ui/core/styles';
import Loader from '@iobroker/adapter-react/Components/Loader';
import I18n from '@iobroker/adapter-react/i18n';
import GenericApp from '@iobroker/adapter-react/GenericApp';
im... |
const jsf = require('json-schema-faker');
jsf.extend('faker', function () {
return require('faker');
});
const schema = require('./schema');
const fs = require('fs');
const json = JSON.stringify(jsf(schema));
fs.writeFile('./mock/db.json', json, function (err) {
if (err) {
return console.log(err);
} else {... |
import React from "react";
import { shallow } from "enzyme";
import { findByTestAttr } from "../../TestUtils/Utils";
import App from "../../App";
const setup = () => {
return shallow(<App />);
};
it("Renders without error", () => {
const wrapper = setup();
const appComponent = findByTestAttr(wrapper, "componen... |
const toPigLatin = (str) => {
if (typeof str !== 'string') {
return str
}
const strArray = str.split(' ')
const pigLatinArray = strArray.map((word) => {
const firstVowelIndex = findFirstVowelIndex(word)
// Don't translate if there are no vowels or only the last letter is a vowel
if (firstVowelI... |
import PropTypes from "prop-types";
import React from "react";
import Header from "./header";
function Layout({ children }) {
return (
<>
{/*<Header />*/}
<main>{children}</main>
</>
);
}
Layout.propTypes = {
children: PropTypes.node.isRequired,
};
export default Layout; |
import React, { Component } from 'react'
import { Link } from 'gatsby'
import Layout from '../../components/Layout'
import { Seo } from '../../components/Seo'
import PageContent from '../../components/PageContent'
import AxesPosition from '../../components/guides/axes/AxesPosition'
import AxesTicks from '../../componen... |
\u2028\u2029".indexOf(this.buffer.charAt(i-1));)if(--i,this.position-i>t/2-1){n=" ... ",i+=5;break}for(r="",o=this.position;o<this.buffer.length&&-1==="\0\r\n |
import React, { useEffect, useState } from 'react';
import styled from 'styled-components';
import { firestore } from '../firebase';
const Wrapper = styled.div`
display: flex;
flex-flow: column wrap;
align-items: center;
`;
const ColorPicker = styled.input.attrs({ type: 'color' })`
margin: 15px 0;
width: 95... |
var fs = require('fs');
var vm = require('vm');
var browserPath = __dirname+'/../../../';
var EventEmitter = require('events').EventEmitter
var when = require('when')
var _ = require('lodash')
global.clone = _.cloneDeep.bind(_)
global.SubGraphPlugin = require(browserPath+'scripts/subGraphPlugin.js')
global.Plugin =... |
window.onload = function() {
if (/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)) {
var cinza = document.querySelectorAll(".cinza")
var dentro = document.querySelectorAll(".dentro")
var menu = document.querySelector("#menu")
var menus = document.querySelectorAll(".... |
import React from 'react';
const VideoDetail = ({video}) => {
if(!video){
return <div>Loading...</div>
}
const videoId = video.id.videoId;
const url = `https://www.youtube.com/embed/${videoId}`;
return (
<div className="video-detail col-md-8">
<div className="embed-res... |
(function(){
"use strict";
return define(['jquery', 'lodash'],
function($, _){
//Tool to return:
//Module data:
/**
This module aims to provide settings to viewTableFilter
so that we can restore given filters when navigating pages.
*/
var module = {
};
(functi... |
define([
'socket.io',
'config',
'net/generateFakeLag',
'shared/util/DelayQueue',
'shared/util/EventHelper',
'shared/util/now'
], function(
createSocket,
clientConfig,
generateFakeLag,
DelayQueue,
EventHelper,
now
) {
function Connection() {
var self = this;
this._socket = null;
this._isConnecting = f... |
const { utils } = require("ethers");
const fs = require("fs");
const chalk = require("chalk");
require("@nomiclabs/hardhat-waffle");
require("@tenderly/hardhat-tenderly");
require("hardhat-deploy");
require("@eth-optimism/hardhat-ovm");
require("@nomiclabs/hardhat-ethers");
require("@nomiclabs/hardhat-etherscan");
... |
import { useEffect, useState } from "react";
import initialData from "../initalData";
import {
randomColor,
moveElement,
extractParams,
getColumnFromParam,
} from "../Utils";
import uniqid from "uniqid";
function useCalendar() {
const [tickets, setTickets] = useState(initialData.tickets);
const [columns, s... |
/**
* Created by Joel Valdivia
* Date 28 Mayo 2020
* Description: Archivo de Redux para Login
*/
// BEGIN Constantes
const TABLE_REQUEST = 'TABLE_REQUEST';
const TABLE_SUCCESS = 'TABLE_SUCCESS';
const TABLE_FAILURE = 'TABLE_FAILURE';
// END Constantes
// END Reducer
// inicia con un objeto vacío
const stateIniti... |
import React from "react";
import PropTypes from "prop-types";
import { withStyles } from "@material-ui/core";
const styles = theme => ({
wrapper: {
border: `${theme.border.borderWidth}px solid ${theme.border.borderColor}`
},
greyed: {
border: `${theme.border.borderWidth}px solid rgba(0, 0, 0, 0.23)`,
... |
// init entry point
import Game from './Game';
window.onload = () => Game.init(); |
'use strict';
var BootSimply = (function () {
var _name;
var BootSimply = function (_name) {
this._name = _name;
};
function makeApiCall() {
var accessToken;
getAccessToken();
function getAccessToken() {
var apiKey = '75h1mayvrvgg53';
var redirectUri = 'https://nlifplmndmkebhm... |
/*!
* ioBroker gulpfile
* Date: 2019-01-28
*/
'use strict';
const gulp = require('gulp');
const fs = require('fs');
const pkg = require('./package.json');
const iopackage = require('./io-package.json');
const version = (pkg && pkg.version) ? pkg.version : iopackage.common.version;
const fileName = 'words.js';
const... |
export default {
activeCall: 'Chamada ativa',
};
// @key: @#@"activeCall"@#@ @source: @#@"Active Call"@#@ |
const { build } = require('../process');
exports.command = 'build [options] <source>';
exports.desc = 'Compile and synchronize your screensets with the configured Gigya account';
exports.handler = build; |
import styled, { keyframes } from 'styled-components';
const fadeIn = keyframes`
0% {
opacity: 0;
}
100% {
opacity: 1;
}
`;
export const Container = styled.div`
position: absolute;
height: 100%;
width: 100%;
z-index: 4;
display: flex;
flex-direction: column;
align-items: center;
justi... |
import React, { Component } from 'react';
import { FlatList, Text, Image, TouchableHighlight } from 'react-native';
/**
* 검색 결과 리스트
*/
export default class VideoList extends Component {
constructor(props) {
super(props);
}
UNSAFE_componentWillReceiveProps() {
if (this.props.isNewSearch) {
this.f... |
import {
GraphQLInt,
GraphQLNonNull,
GraphQLString,
GraphQLBoolean
} from 'graphql';
import models from '../../../models/index.js';
import Story from '../../types/story';
import { GraphQLDateTime } from 'graphql-iso-date';
export default {
type: Story,
args: {
storyId: {
... |
(window.webpackJsonp=window.webpackJsonp||[]).push([[282],{4327:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.icon=void 0,n(9),n(5),n(6),n(7);var r=function(e){return e&&e.__esModule?e:{default:e}}(n(0));function o(){return(o=Object.assign||function(e){for(var t=1;t<arguments.length;t+... |
/**
* Returns the index in an array of objects
*
* @param array
* @param key
* @param value
* @return {*}
*/
function findIndexByKeyValue(array, key, value) {
for (let i = 0; i < array.length; i++) {
if (array[i][key] == value) {
return i;
}
}
return false;
}
/**
* Add ... |
$(function(){
// Переключение текста в карточке товара
$('.productChar__item').on('click', function(){
$('.productChar__item').toggleClass('productChar__item-active');
$('.productChar__line').toggleClass('productChar__line-right');
$('.productChar__text').toggleClass('productChar__text... |
var pathParser = require( './path-parser' );
var ruleParser = require( './rule-parser' );
/**
* Compiles a pre-validated config into a format that allows for quicker access
* and execution
*
* @param {Object} config parsed and validated permission config
*
* @public
* @returns {Object} compiledConfig
*/
expo... |
(window.webpackJsonp=window.webpackJsonp||[]).push([[255],{3734:function(t,e,r){"use strict";r.r(e),r.d(e,"icon",(function(){return i}));r(6),r(7);var n=r(0);function a(){return(a=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&... |
export const questionsData = [
{
title: "What is HTML?",
description:
"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea comm... |
import Mocha from "mocha";
const mocha = new Mocha();
mocha.addFile("./test/resolve.test.js");
mocha.loadFilesAsync().then(() => {
mocha.run();
}); |
import React from 'react';
const IconInstagram = () => (
<svg
xmlns="http://www.w3.org/2000/svg"
role="img"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
strokeWidth="2"
strokeLinecap="round"
strokeLinejoin="round"
className="feather feather-instagram"
>
<rect x="2" y="2" width="20" heigh... |
export class VASTResponse {
constructor() {
this.ads = [];
this.errorURLTemplates = [];
this.version = null;
}
} |
const jestPresetAngularSerializers = require('jest-preset-angular/build/serializers');
module.exports = {
preset: '../../jest.preset.js',
coverageDirectory: '../../coverage/libs/client-services',
setupFilesAfterEnv: ['<rootDir>/src/test-setup.ts'],
snapshotSerializers: jestPresetAngularSerializers,
displayNa... |
$().ready(function () {
// Validate User Register Form On Keyup And Submit
$("#RegisterForm").validate({
rules: {
name: "required",
address: "required",
state: "required",
city: "required",
country: "required",
pincode: "required",
... |
import { LightningElement, api } from 'lwc';
import { NavigationMixin } from 'lightning/navigation';
import getDocument from '@salesforce/apex/NKS_SafJournalpostListController.getDocument';
export default class NksSafDocumentLink extends NavigationMixin(LightningElement) {
@api dokumentInfo;
@api journalpostId... |
/**
* Copyright 2017 Google Inc. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applic... |
import { __assign } from "tslib";
import * as React from 'react';
import { StyledIconBase } from '@styled-icons/styled-icon';
export var Refresh = React.forwardRef(function (props, ref) {
var attrs = {
"fill": "currentColor",
"xmlns": "http://www.w3.org/2000/svg",
};
return (React.createElem... |
import {FILE_ENCRYPT_EXTENSION} from '../../../constants';
module.exports = {
FILE_EXTENSION : FILE_ENCRYPT_EXTENSION,
ALGORITHMS: 'aes192',
EXTENSION_SIZE: 1056
}; |
/**
* @license
* Lytix Mixpanel Adapter
* https://github.com/websperts/lytix
*
* Copyright (c) 2015 websperts <hello@websperts.com>
* Licensed under the MIT license.
* https://github.com/websperts/lytix/blob/master/LICENSE
*/
(function(lytix) {
'use strict';
lytix.trackPage = function(path) {
... |
import {RESTAdapter} from "ember-data/adapters";
import {InvalidError} from "ember-data/system/adapter";
import {pluralize} from "ember-inflector";
import ActiveModelSerializer from "activemodel-adapter/system/active_model_serializer";
import EmbeddedRecordsMixin from "activemodel-adapter/system/embedded_records_mixin"... |
import {MdPerson as icon} from 'react-icons/md'
import AuthorPreview from '../parts/AuthorPreview'
export default {
name: 'author',
type: 'document',
title: 'Author',
icon,
preview: {
select: {
title: 'name',
awards: 'awards',
relatedAuthors: 'relatedAuthors',
imageUrl: 'image.ass... |
import styled from "styled-components";
export const OpenContainer = styled.div`
display: flex;
flex: 1;
`
export const AppLabel = styled.div`
display: flex;
flex: 1;
max-width: 150px;
align-items: center;
justify-content: center;
color: ${_ => _.theme.colors.text};
background-color: ${_ => _.isAct... |
//<!-- A SMARTER LOAN IN JUST 3 STEPS HOME PA NAA -->
$(document).ready(function(){
var counter = 0;
var interval = setInterval(function() {
counter++;
$('#1').click(function(){
$('#1').addClass('default-color');
$('#2').removeClass('default-color');
$('#3').rem... |
import React from "react"
import Icons from "./Icons"
import links from "./content"
import * as S from "./styled"
const SocialLinks = () => (
<S.SocialLinksWraper>
<S.SocialLinksList>
{links.map((link, index) => {
const Icon = Icons[link.label]
return (
<S.SocialLinksItem key={... |
/* global MainGameContainer */
var MainGameContainer = {};
MainGameContainer.GameBoot = function (game) {};
MainGameContainer.GameBoot.prototype = {
gameAssets: {
images: [
{ name: 'preloaderBackground', src: './assets/img/preloadbck.png' },
{ name: 'preloaderBar', src: './assets/img/preloadbar.png'... |
"use strict";
const filterable = require("@lerna/filter-options");
/**
* @see https://github.com/yargs/yargs/blob/master/docs/advanced.md#providing-a-command-module
*/
exports.command = "clean";
exports.describe = "Remove the node_modules directory from all packages";
exports.builder = yargs => {
yargs.options(... |
import { LitElement, css } from 'lit-element';
import { FBP } from '@furo/fbp';
import '@ui5/webcomponents-fiori/dist/NotificationListItem.js';
import '@ui5/webcomponents-fiori/dist/NotificationAction.js';
import '@ui5/webcomponents/dist/List.js';
import { Theme } from '@furo/framework/src/theme.js';
import '@ui5/webco... |
(function() {var implementors = {};
implementors["net2"] = [];
if (window.register_implementors) {
window.register_implementors(implementors);
} else {
window.pending_implementors = implementors;
}
})() |
const monthNumToName = {
'01': 'Enero',
'02' : 'Febrero',
'03' : 'Marzo',
'04' : 'Abril',
'05' : 'Mayo',
'06' : 'Junio',
'07' : 'Julio',
'08' : 'Agosto',
'09' : 'Septiembre',
'10' : 'Octubre',
'11' : 'Noviembre',
'12' : 'Diciembre',
}
export function getYearAndMonth(yearAndMonth){
const [year ... |
import assign from 'lodash/assign';
import compact from 'lodash/compact';
import difference from 'lodash/difference';
import find from 'lodash/find';
import filter from 'lodash/filter';
import get from 'lodash/get';
import isEmpty from 'lodash/isEmpty';
import map from 'lodash/map';
import omit from 'lodash/omit';
impo... |
/*
* Copyright 2021 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 ... |
(window.webpackJsonp=window.webpackJsonp||[]).push([[362],{3721:function(t,e,a){"use strict";a.r(e),a.d(e,"icon",(function(){return c}));a(12),a(2),a(7),a(8),a(6),a(9);var n=a(0),r=a.n(n);function i(){return(i=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var a=arguments[e];for(var n in a)Object.protot... |
const level = require('leveldown')
const mkdirp = require('mkdirp')
const Cache = require('./Cache')
module.exports = Cache(level, mkdirp) |
// @flow
import React, { useCallback } from 'react'
import './Tabs.scss'
type PropsType = {
activeId: string,
onTabChange: Function
};
const ITEMS = [
{
text: 'بيانات الدخول',
id: 'login'
},
{
text: 'إعدادات الإحصائيات',
id: 'analytics'
},
{
text: 'البنك والدفع',
id: 'bank'
},
... |
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 React from 'react';
import { object, func } from 'prop-types';
import color from 'color';
import clamp from 'lodash/clamp';
import WixComponent from '../BaseComponents/WixComponent';
import css from './ColorPickerHsb.scss';
export default class ColorPickerHsb extends WixComponent {
static propTypes = {
... |
import wasm from '../crate/Cargo.toml'
try {
var greeting = wasm.hello("world");
console.log('hello:', greeting);
var arr = wasm.hello_array(4);
console.log("hello_array:", arr);
var h = wasm.hello_hash(3);
console.log("hello_hash:", h);
}
catch(error) {
console.error(error);
}
try {
var greeting = ... |
var liffecyleEvent = process.env.npm_lifecycle_event || ''
function capitalizeFirstLetter (s) {
return s.charAt(0).toUpperCase() + s.slice(1)
}
var pkgScriptEnv
var defaultOpt
var defaultRules
try {
pkgScriptEnv = require(require('path').join(process.cwd(), './package.json')).scriptsEnv
} finally {
defaultRule... |
/*
* Kendo UI Beta v2013.2.716 (http://kendoui.com)
* Copyright 2013 Telerik AD. All rights reserved.
*
* Kendo UI Beta license terms available at
* http://www.kendoui.com/purchase/license-agreement/kendo-ui-beta.aspx
*/
("function"==typeof define&&define.amd?define:function(e,n){return n()})(["../kendo.core.min"],fun... |
(window["webpackJsonp_N_E"] = window["webpackJsonp_N_E"] || []).push([["styles"],{
/***/ "./node_modules/bootstrap/dist/css/bootstrap.min.css":
/*!***********************************************************!*\
!*** ./node_modules/bootstrap/dist/css/bootstrap.min.css ***!
\******************************************... |
const { Client, CryptoTransferTransaction, Hbar } = require("@hashgraph/sdk");
async function main() {
const operatorAccount = process.env.OPERATOR_ID;
const operatorPrivateKey = process.env.OPERATOR_KEY;
if (operatorPrivateKey == null || operatorAccount == null) {
throw new Error("environment var... |
module.exports = {
modelDetails: [
{
type: 'input',
name: 'label',
message: 'Enter model label: ',
},
{
type: 'list',
name: 'naming',
message: 'Choose naming type: ',
choices: [
'random',
... |
var auth = require('./auth');
var consts = require('../../shared/constants');
var init = function(io) {
io.of(consts.socket.keyvr.NAMESPACE).use(auth.authorize);
io.of(consts.socket.keyvr.NAMESPACE).on('connection', function(socket) {
socket.on(consts.socket.keyvr.QR_CODE_SCANNED, function(data) {
... |
export default {
location: { label: "location", className: "filter-1", options: [] },
fromWhom: {
label: "providers",
className: "filter-2",
options: [
"Individuals",
"Startup",
"Company",
"Community",
"Government",
"R&D",
"Non-Profit",
"University",
... |
var express = require('express');
var router = express.Router();
var database = require("../../../modules/database");
var Table = database.tables.Rooms;
router.post("/create",async function(req,res){
try
{
var result = await Table.create({ ...(req.body) });
res.json(result);
}
catch(ex)
... |
---
layout: null
---
// TODO: Rewrite in JQuery. Add unit tests
function pointCount(n) {
var text = n.data;
// look for (x pts) where x is some sequence of [0-9]+
// save the result of [0-9]+ in result[1]
var pointRegExp = /\([ ]*([0-9]+)[ ]*pt[s]?[ ]*\)/i;
var result = pointRegExp.exec(text);
return re... |
import React from 'react'
import Img from 'gatsby-image'
class Gallery extends React.Component {
constructor(props) {
super(props);
this.state = {
'imageOpen': false,
'selectedImage': this.props.images[0]
}
}
render() {
const { images } = this.props
return (
<span >
... |
import createSvgIcon from './utils/createSvgIcon';
import { jsx as _jsx } from "react/jsx-runtime";
export default createSvgIcon( /*#__PURE__*/_jsx("path", {
d: "M20 7h-5V4c0-1.1-.9-2-2-2h-2c-1.1 0-2 .9-2 2v3H4c-1.1 0-2 .9-2 2v11c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V9c0-1.1-.9-2-2-2zM9 12c.83 0 1.5.67 1.5 1.5S9.83 15 9 15... |
export default function (value, schema) {
if (schema.convert === true && typeof value !== "number") {
value = Number(value);
}
if (typeof value !== "number") {
return this.makeError("number");
}
if (isNaN(value) || !isFinite(value)) {
return this.makeError("number");
}
if (schema.min != null && value < ... |
import THREE from 'three';
import GeometryDescriptorBase from './GeometryDescriptorBase';
import PropTypes from 'react/lib/ReactPropTypes';
class ParametricGeometryDescriptor extends GeometryDescriptorBase {
constructor(react3Instance) {
super(react3Instance);
[
'slices',
'stacks',
].forEac... |
const mongoose = require('mongoose');
const uuid = require('node-uuid');
const validator = require('validator');
const bcrypt = require('bcryptjs');
const { toJSON, paginate } = require('./plugins');
const { roles } = require('../config/roles');
const userSchema = mongoose.Schema(
{
_id: { type: String, default:... |
import React from 'react';
import { connect } from 'react-redux';
import { Button, Text, Input, HStack } from 'native-base';
import {styles} from './NumberButtonSelector.style'
import { ScrollView } from 'react-native-gesture-handler';
import { View } from 'react-native';
import { updateResponse } from '../../actions/S... |
module.exports = {
replacePrefix: '/<%= basePath %>/',
staticFileGlobs: [
'index.html',
'src/**.html',
'images/*',
'manifest.json',
'bower_components/webcomponentsjs/webcomponents-loader.js',
'bower_components/fetch/fetch.js'
],
navigateFallback: 'index.html'
}; |
class Person {
moveTo() {
}
shout(message) {
}
messagesHeard() {
return ["free bagels at Sean's"]
}
}
module.exports = Person |
"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([["resources_js_components_credito_reportCredito_vue"],{
/***/ "./node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/js/components/credito/reportCredito.... |
var oWrap=document.getElementById("wrap"),
oLogin=document.querySelector(".login"),
oControl=document.querySelector("#wrap .control"),
oColor1=document.querySelectorAll(".iconfont")[0],
oColor2=document.querySelectorAll(".iconfont")[1],
oPass=document.querySelector(".pass"),
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.