text stringlengths 2 1.04M |
|---|
import Xrp from "@exodus/hw-app-xrp";
export default async transport => {
const xrp = new Xrp(transport);
const result = await xrp.signTransaction(
"44'/144'/0'/0/0",
"12000022800000002400000002614000000001315D3468400000000000000C73210324E5F600B52BB3D9246D49C4AB1722BA7F32B7A3E4F9F2B8A1A28B9118CC36C48114F31... |
var houses = require('./controllers/houses');
var users = require('./controllers/users');
var maps = require('./controllers/maps');
var schedules = require('./controllers/schedules');
var devices = require('./controllers/devices');
var admins = require('./controllers/admins');
var usages = require('./controllers/usages... |
module.exports = {
env: { es6: true, jest: true, node: true },
extends: ['airbnb-base', 'prettier'],
plugins: ['prettier'],
parserOptions: { ecmaVersion: 2018, sourceType: 'module' },
rules: {
'prettier/prettier': 'error',
'class-methods-use-this': 'off',
'no-underscore-dangle': 'off',
camelca... |
import React from 'react';
import xmlObject from './xmlObject';
import axios from 'axios';
import AreaHeading from './AreaHeading';
//import AreaInput from './AreaInput';
import AreaSettings from './AreaSettings';
import ErrorBoundary from './ErrorBoundary';
//import AreaGraphResponsiveBump from './AreaGraphResponsiveB... |
var Q = require('q');
var Feature = require('sapphire-express').Feature;
module.exports = function(req, res, app)
{
var feed = new Feature(app, '/sc/features/feed/');
feed.addJS(['assets/js/Controllers/Feed.js', 'assets/js/Views/Feed.js']);
return Q(app);
} |
/*
* angular-http-batcher - v1.12.0 - 2015-10-12
* https://github.com/jonsamwell/angular-http-batcher
* Copyright (c) 2015 Jon Samwell
*/
(function (window, angular) {
'use strict';
window.ahb = {
name: 'jcs.angular-http-batch'
};
/**
* @ngdoc overview
* @name jcs.angular-http-batch
*
* @description
* ... |
var should = require('should'), // eslint-disable-line no-unused-vars
utils = require('./utils'),
thisCheck = require('../lib/checks/090-template-syntax');
describe('090 Template syntax', function () {
describe('canary', function () {
const options = {checkVersion: 'canary'};
it('should ou... |
/**
* @name exports
* @summary SubstanceSpecificationMoiety Class
*/
module.exports = class SubstanceSpecificationMoiety {
constructor(opts) {
// Create an object to store all props
Object.defineProperty(this, '__data', { value: {} });
// Define getters and setters as enumerable
Object.defineProp... |
function saveTokenToLocalStore(userId, token) {
if (!userId || !token) {
console.error('Function saveTokenToLocalStore needs userId and token as an arguments');
return null;
}
let expirationDate;
expirationDate = new Date(
new Date().getTime() + 24 * 60 * 60 * 1000 * 365
);
localStorage.setIt... |
export const TOGGLE_MENU = 'TOOGLE_MENU'
export const toggleMenu = () => ({ type: TOGGLE_MENU }) |
window.__NUXT__=(function(a,b,c,d){return {staticAssetsBase:"\u002Fstatic\u002F1597376630",layout:"default",error:b,state:{notification:{show:a,title:c,message:c},isShowSidebar:a,isSupportWebShare:a,headerTitle:"e-AlQur'an",page:"home",lastReadVerse:b,settingActiveTheme:{name:"dark",bgColor:"#071e3d",fgColor:"#fff"},se... |
let mongoose = require('mongoose')
let Animal = require('./animal')
let Message = require('../models/messages')
let bcrypt = require('bcrypt-nodejs')
let userSchema = mongoose.Schema({
username: { type: String, require: true },
password: { type: String, require: true },
animals: [{ type: mongoose.Schema.Types.Ob... |
function contentSet(id, html){
$("#"+id).remove();
if (html != null){
$("#server_content").append(html);
}
}
function contentRemove(id){
$("#"+id).remove();
} |
// モジュールの読み込み
const MiniCssExtractPlugin = require('mini-css-extract-plugin');
const CopyPlugin = require('copy-webpack-plugin');
const ImageminPlugin = require('imagemin-webpack-plugin').default;
const ImageminMozjpeg = require('imagemin-mozjpeg');
// 変数の設定
const PROJECT_DIR = '03';
const MODE = 'production';
const e... |
// @flow
import type { Node } from 'react';
import type {
DraggableId,
DraggableDimension,
Position,
Direction,
ZIndex,
} from '../../types';
import {
lift,
move,
moveByWindowScroll,
moveForward,
moveBackward,
crossAxisMoveForward,
crossAxisMoveBackward,
drop,
cancel,
dropAnimationFinished... |
import { i as isArr } from './isArr-a4420764.js';
import { i as isObj } from './isObj-2a71d1af.js';
import { i as isFunc } from './isFunc-40ceeef8.js';
import { i as isStr } from './isStr-481ce69b.js';
import { i as isNum } from './isNum-cc6ad9ca.js';
import { i as isColl } from './isColl-15a1452b.js';
import { u as up... |
/*
* ATTENTION: An "eval-source-map" devtool has been used.
* This devtool is neither made for production nor for readable output files.
* It uses "eval()" calls to create a separate source file with attached SourceMaps in the browser devtools.
* If you are trying to read the output file, select a different devtool... |
$( document ).ready(function() {
'use strict';
var base = $('#base_url').val();
var csrf = $('#csrf_token').val();
$("#bookingdetails").DataTable({
"processing": true,
"serverSide": true,
"ajax":{
url : base+"/room_reservation/room_reservation/bookingdat... |
/**
* Copyright 2017 California Institute of Technology.
*
* This source code is licensed under the APACHE 2.0 license found in the
* LICENSE.txt file in the root directory of this source tree.
*/
import webpack from "webpack";
import { BundleAnalyzerPlugin } from "webpack-bundle-analyzer";
import config from "..... |
/** @license React vundefined
* react-events-hover.development.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
'use strict';
(function (global, factory) {
typeof exports ===... |
import { DOMSerializer } from '@bangle.dev/core/prosemirror/model';
export function createTooltipDOM(
tooltipDOMSpec = [
'div',
{
class: 'bangle-tooltip',
role: 'tooltip',
},
[
'div',
{
class: 'bangle-tooltip-content',
},
0,
],
],
arrow,
) {
const... |
const fetch = require('node-fetch');
const listen = require('test-listen');
const qs = require('querystring');
const { createServerWithHelpers } = require('../dist/helpers');
const mockListener = jest.fn();
const consumeEventMock = jest.fn();
const mockBridge = { consumeEvent: consumeEventMock };
let server;
let url... |
/**
Code to be executed for context menu functionality
**/
//Make sure assets/utility.js is loaded so we have access to _utility.getWhatsappMessageUrl
function getword(info,tab) {
_utility.getWhatsappMessageUrl(info.selectionText, function(whatsappMessageUrl){
chrome.tabs.create({
url: whatsappMessageUrl... |
/*!
* merge-deep <https://github.com/jonschlinkert/merge-deep>
*
* Copyright (c) 2014-2021, Jon Schlinkert.
* Licensed under the MIT License.
*/
'use strict';
var union = require('arr-union');
var clone = require('clone-deep');
var typeOf = require('kind-of');
module.exports = function mergeDeep(orig, objects) ... |
/* Exercise the path where we want to collect a new compartment in the middle of incremental GC. */
var g1 = newGlobal('new-compartment');
var g2 = newGlobal('new-compartment');
schedulegc(g1);
schedulegc(g2);
gcslice(0);
schedulegc(g1);
gcslice(1);
gcslice(); |
// { "framework": "Vue"}
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[... |
/**
* @license
* Copyright AdRem Software. All Rights Reserved.
*
* Use of this source code is governed by an Apache License, Version 2.0 that can be
* found in the LICENSE file.
*/
const
PRIVATE_PROPERTIES = {
type: Symbol('type'),
value: Symbol('value'),
token: Symbol('token'),
residuals: Sym... |
import { CreateSensor } from "./sensor_util";
import {
AbsoluteOrientationSensor,
Accelerometer,
Gyroscope,
GravitySensor,
LinearAccelerationSensor,
RelativeOrientationSensor,
} from "./polyfill/motion-sensors";
import { GeolocationSensor } from "./polyfill/geolocation-sensor";
function $(a, b = document) ... |
$(document)
.ready(
function() {
$('.allservices').hide();
$('.daysforonedaypermit').hide();
$('#applicationType')
.change(
function() {
var applicationTypeName = $(
"#applicationType option:selected")
.text();
if ('One Day permit'
... |
#!/usr/bin/env node
"use strict";
const esc = require("escape-string-regexp");
const fetchCss = require("fetch-css");
const remapCss = require("remap-css");
const {readFile} = require("fs").promises;
const {resolve, basename} = require("path");
const cssnano = require("cssnano");
const {version} = require("../package... |
// Generated on 2014-11-03 using generator-angular 0.9.8
'use strict';
// # Globbing
// for performance reasons we're only matching one level down:
// 'test/spec/**/*.js'
// use this if you want to recursively match all subfolders:
// 'test/spec/**/*.js'
module.exports = function (grunt) {
require('load-grunt-task... |
import React, {useEffect, useState} from 'react';
import {
Image,
StatusBar,
StyleSheet,
Text,
TouchableOpacity,
View,
} from 'react-native';
import {useTheme} from '@react-navigation/native';
import P, {Pokemon} from '../services/pokeapi';
import {ScrollView} from 'react-native-gesture-handler';
const Det... |
"use strict";
var cases = module.exports = [];
cases[0] = {};
cases[0].resources = [{
"resource": {
"id": "AllergyIntolerance/a-0-1",
"resourceType": "AllergyIntolerance",
"criticality": "medium",
"recordedDate": "2006-05-01",
"status": "confirmed",
"substance": {
... |
import React, {Component} from 'react'
import {connect} from 'react-redux'
import {withRouter, Route, Switch} from 'react-router-dom'
import PropTypes from 'prop-types'
import {Products, Login, Signup, UserHome} from './components'
import {me, getProducts} from './store'
/**
* COMPONENT
*/
class Routes extends Compo... |
// This file was procedurally generated from the following sources:
// - src/dstr-assignment-for-await/obj-id-identifier-resolution-trlng.case
// - src/dstr-assignment-for-await/default/async-gen-decl.template
/*---
description: Evaluation of DestructuringAssignmentTarget (lone identifier with trailing comma) (for-awai... |
const glob = require('glob');
const prettier = require('prettier');
const fs = require('fs');
const { getStagedFiles } = require('./frontend_script_utils');
const matchExtensions = ['js', 'vue', 'graphql'];
// This will improve glob performance by excluding certain directories.
// The .prettierignore file will also b... |
import {whenUpgradedToCustomElement} from '#core/dom/amp-element-helpers';
import {
closestAncestorElementBySelector,
scopedQuerySelectorAll,
} from '#core/dom/query';
import {setStyle, toggle} from '#core/dom/style';
import {Services} from '#service';
import {dev, user, userAssert} from '#utils/log';
import {St... |
import { getAsyncTypes } from '../helpers/actionType'
import * as AdmMenuService from '../services/AdmMenuService'
import {RintagiScreenRedux,initialRintagiScreenReduxState} from './_ScreenReducer'
const Label = {
PostToAp: 'Post to AP',
}
class AdmMenuRedux extends RintagiScreenRedux {
allowTmpDtl = false;
c... |
//イベント管理用のクラス
tyrano.plugin.kag.event ={
tyrano:null,
init:function(){
//alert("kag.order 初期化");
//this.tyrano.test();
//同じディレクトリにある、KAG関連のデータを読み込み
},
//イベント用のエレメントを設定する
addEventElement:function(obj){
var j_obj = obj.j_targ... |
module.exports = {
siteMetadata: {
title: 'Gabriel Duarte',
description: "Gabriel Duarte's personal site",
author: `@GabrielDuarteM`,
siteUrl: `https://www.gabrielduarte.tech/`,
},
plugins: [
`gatsby-plugin-react-helmet`,
{
resolve: 'gatsby-plugin-react-svg',
options: {
... |
import Big from "big.js";
export function validateInput(input) {
if (input === "" || parseFloat(input) <= 0) {
return false;
}
if (input.includes(".")) {
let afterDecimal = input.split(".")[1];
let beforeDecimal = input.split(".")[0];
if (afterDecimal.length > 18) {
return false;
}
... |
// import * as mars3d from "mars3d"
var map // mars3d.Map三维地图对象
var graphicLayer // 矢量图层对象
// 需要覆盖config.json中地图属性参数(当前示例框架中自动处理合并)
var mapOptions = {
scene: {
center: { lat: 30.832568, lng: 116.296753, alt: 20208, heading: 7, pitch: -72 }
}
}
/**
* 初始化地图业务,生命周期钩子函数(必须)
* 框架在地图初始化完成后自动调用该函数
* @param {mars... |
module.exports = function (router, content) {
// START__####################################################################################################
// File: bridge
// Variable: criminalConvictions
router.post('/concepts/physical-injuries/one-q-page-v4/context-treatment', function (req, res) {
var ... |
// web/src/components/CommentsCell/CommentsCell.mock.js
export const standard = (/* vars, { ctx, req } */) => ({
comments: [
{
id: 1,
name: 'Rob Cameron',
body: 'First comment',
createdAt: '2020-01-02T12:34:56Z',
},
{
id: 2,
name: 'David Price',
body: 'Second com... |
/**
* @fileoverview Precompile stream.
*/
import stream from 'event-stream';
import File from '../common/file';
import manifest from '../manifest';
export default function() {
return stream.through(function(vFile) {
const file = new File(vFile);
manifest.save(file);
vFile.path = file.outputRea... |
module.exports = {
root: true,
extends: "@react-native-community",
}; |
var searchData=
[
['cubichexcoord',['CubicHexCoord',['../structca_1_1axoninteractive_1_1_geometry_1_1_hex_1_1_cubic_hex_coord.html#a6ed262a81089e3b97624433ed40426a2',1,'ca::axoninteractive::Geometry::Hex::CubicHexCoord']]]
]; |
export function toggleHelpMenu () {
// TODO
};
export function toggleSaka () {
try {
browser.runtime.sendMessage('nbdfpcokndmapcollfpjdpjlabnibjdi', 'toggleSaka');
} catch (e) {
console.error('Install Saka at https://chrome.google.com/webstore/detail/saka/nbdfpcokndmapcollfpjdpjlabnibjdi');
}
}
export ... |
import React, {PropTypes} from 'react'
import { Button, Row, Form, Input, Alert } from 'antd'
import { config } from '../utils'
import styles from './login.less'
const FormItem = Form.Item
const login = ({
loginButtonLoading,
validate,
validated,
validateMsg,
onOk,
form: {
getFieldDeco... |
const path = require('path');
const url = require('url');
const http = require('@kumori/http-message');
const express = require('express');
const q = require('q');
const fs = require('fs');
const multer = require('multer');
const upload = multer({dest: 'uploads/'});
// REST API v2 implementation.
//
// We have used E... |
module.exports = {
"title": "AllRoads Analytics",
"description": "Marketing site.",
"url": "https://www.allroadsanalytics.com",
"author": "Tim Cieplowski",
"meta_data": {
"twitter": "@tim_cieplowski",
"opengraph_default": "/static/opengraph-default.jpg"
},
"env": process.env.ELEVENTY_ENV === 'prod... |
/**
* Simple Select field wrapper. Example usage:
*
* @example
* Ext.create('Ext.form.Panel', {
* fullscreen: true,
* items: [
* {
* xtype: 'fieldset',
* title: 'Select',
* items: [
* {
* ... |
/**
* @providesModule HasteModule
*/
module.exports = 'HasteModule'; |
var pkmnData ={
"cellData":
[{"id":"001", "num":"001", "name":"Bulbasaur"},
{"id":"002", "num":"002", "name":"Ivysaur"},
{"id":"003", "num":"003", "name":"Venusaur"},
{"id":"004", "num":"004", "name":"Charmander"},
{"id":"005", "num":"005", "name":"Charmeleon"},
{"id":"006", "num":"006", "name":"Charizard"},
{"id":"0... |
const X = module.exports;
try {
const streams = require('stream/promises');
X.finished = streams.finished;
} catch (err) {
const {promisify} = require('util');
const streams = require('stream');
X.finished = promisify(streams.finished);
} |
/**
* @license
* Copyright 2021 Google LLC. 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 a... |
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var tslib_1 = require("tslib");
var React = tslib_1.__importStar(require("react"));
var styled_icon_1 = require("@styled-icons/styled-icon");
exports.Eye = React.forwardRef(function (props, ref) {
var attrs = {
"fill": "none",
... |
var searchData = {
"modules": [
{
"id": "java",
"description": "\u003cp\u003eThis module provides the API for Java interoperability in Ballerina.\u003c/p\u003e"
}
],
"classes": [],
"functions": [
{
"id": "fromString",
"description": "\u003cp\u003eReturns a \u003ccode\u003ehan... |
'use strict';
/**
* @ngdoc function
* @name fec3App.controller:AboutCtrl
* @description
* # AboutCtrl
* Controller of the fec3App
*/
angular.module('fec3App')
.controller('orderDeviceCtrl', function($routeParams, $scope, $localstorage, $location, $loading, $message, $modal, productService, $log, $linq) {
... |
//pokeBattleSim.js
//Global Variables:
let statsON = 0;
let scrollON = 0;
let dialogCount = 0;
let s = [];
let pokemon1;
let pokemon2;
let level1;
let level2;
let alerted = 0;
let testDummy = 0;
//runs when page is refreshed:
testRequest();
//Called when battle button is clicked.
function choosePokemon() {
pokemon... |
login = async () => {
try {
// const user = await Moralis.Web3.authenticate();
const user = await Moralis.authenticate();
logincheck();
// location.reload();
} catch (error) {
const code = error.code;
const message = error.message;
document.getElementById("Wallet_Logout").classList.add(... |
import React, {Component} from 'react'
import './component.message.less'
export default class Message extends Component {
constructor(props) {
super(props);
}
render() {
return (
<div className={'message' + (this.props.message ? ' animate': '')}>
{this.props.message}
</div>
);
}
} |
import { globalize } from './globalize'
export function formatDateDMY (value) {
return globalize('formats.dmy', { value })
} |
(function () {
'use strict';
// Define the `assetDetail` module
angular.module('assetDetail', [
'ngRoute',
'chart.js',
'api.asset',
'assetGrid'
]);
})(); |
angular.module('ps.inputTime', [])
.value('psInputTimeConfig', {
minuteStep: 5,
minDate: null,
maxDate: null,
fixedDay: true,
format: 'hh:mma'
})
.directive("psInputTime", ['$filter', 'psInputTimeConfig', '$parse', function ($filter,
psInputTimeConfig, $parse) {
... |
import React from 'react';
import ContactForm from './ContactForm';
import './Contact.css';
export default function Contact() {
return (
<div className='contact'>
<div className='contact__banner'>
<img alt='banner' />
</div>
<h1 className='contact__heading'>
You have questions? We have got answers... |
rs.initiate( {
_id : "rs0",
members: [
{ _id: 0, host: "mongo-a:27017" },
{ _id: 1, host: "mongo-b:27017" },
{ _id: 2, host: "mongo-c:27017" }
]
}) |
import React from 'react'
import ReactDOM from 'react-dom'
import { Provider } from 'react-redux'
import App from './App.jsx'
import store from './store'
ReactDOM.render(<Provider store={store}><App /></Provider>,document.getElementById('app')) |
/* global AFRAME, THREE */
AFRAME.registerComponent("gesture-handler", {
schema: {
enabled: { default: true },
rotationFactor: { default: 5 },
minScale: { default: 0.3 },
maxScale: { default: 8 },
},
init: function () {
this.handleScale = this.handleScale.bind(this);
this.handleRotation ... |
import React from "react";
import Header from "./header";
import Footer from "./footer";
import layoutStyles from "./layout.module.scss";
export default function Layout(props) {
return (
<div className={layoutStyles.container}>
<div className="container">
<div className="row">
<Header />... |
// All material copyright ESRI, All Rights Reserved, unless otherwise specified.
// See http://js.arcgis.com/3.25/esri/copyright.txt for details.
//>>built
define("esri/dijit/analysis/nls/nl/countries",{countryCodes:{WORLD:"Wereld",AD:"Andorra",AE:"Verenigde Arabische Emiraten",AF:"Afghanistan",AG:"Antigua en Barbuda",... |
#!/usr/bin/env node
const chalk = require(`chalk`);
const usedVariables = [
`ALLOW_SEARCH_INDEXING`,
`GITHUB_USER_TOKEN`,
`GITHUB_BROKEN_LINKS_ISSUE_NUMBER`,
`NODE_ENV`,
`PORT`,
`TRAVIS_BRANCH`,
`TRAVIS_COMMIT`,
`TRAVIS_JOB_WEB_URL`,
`TRAVIS_PULL_REQUEST`,
`TRAVIS_PULL_REQUEST_SLUG`,
`TRAVIS_REP... |
import * as userActions from '../../actions/userActions';
import * as types from '../../types';
it('should return back an action object when passed', () => {
expect(userActions.setUser({name: 'bar'})).toEqual({
type: types.SET_USER,
user: {
name: 'bar'
}
});
}); |
__zl([{"1":0,"2":0,"3":0,"4":0,"5":1,"6":0,"7":0,"8":0,"9":0,"14":0,"17":0,"93":0,"95":1,"97":0,"98":0,"99":0},["Columbus","Fort Benning"],["GA|Georgia"]]); |
/*
Uploadify v3.2.1
Copyright (c) 2012 Reactive Apps, Ronnie Garcia
Released under the MIT License <http://www.opensource.org/licenses/mit-license.php>
SWFUpload: http://www.swfupload.org, http://swfupload.googlecode.com
mmSWFUpload 1.0: Flash upload dialog - http://profandesign.se/swfupload/, http://www.vinterw... |
function newBackgroundImg(myID, source, myLeft, myTop, myIndex) {
const newEl = document.createElement("img");
newEl.setAttribute("id", myID);
newEl.setAttribute("src", source);
document.body.appendChild(newEl);
newEl.style.position = "absolute";
newEl.style.zIndex = myIndex;
var middlElX = ... |
import React from 'react';
import { Box } from '@material-ui/core';
import { makeStyles } from '@material-ui/core/styles';
import BillboardWave from '../assets/img/billboard_wave.png';
const useStyles = makeStyles({
root:{
height:"71vh",
background:`no-repeat url(${BillboardWave}) left/50%`,
... |
import { iterateArrayLike, nextTick } from '../../core/dom.js';
import * as Overlay from '../../core/overlay/index.js';
import * as Ripple from '../../core/ripple/index.js';
iterateArrayLike(document.getElementsByClassName('mdw-overlay'), Overlay.attach);
iterateArrayLike(document.getElementsByClassName('mdw-ripple'),... |
import React, { useState } from 'react';
import PropTypes from 'prop-types';
import { makeStyles } from '@material-ui/core/styles';
import Tabs from '@material-ui/core/Tabs';
import Tab from '@material-ui/core/Tab';
import Typography from '@material-ui/core/Typography';
import Box from '@material-ui/core/Box';
import {... |
load("bf4b12814bc95f34eeb130127d8438ab.js");
load("93fae755edd261212639eed30afa2ca4.js");
// This file was procedurally generated from the following sources:
// - src/annex-b-fns/global-block-scoping.case
// - src/annex-b-fns/global/if-stmt-else-decl.template
/*---
description: A block-scoped binding is created (IfStat... |
/**
* Cesium - https://github.com/AnalyticalGraphicsInc/cesium
*
* Copyright 2011-2015 Cesium 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/l... |
/*
* Any copyright is dedicated to the Public Domain.
* http://creativecommons.org/licenses/publicdomain/
*/
var BUGNUMBER = 1069063;
var summary = "Implement Array.prototype.includes";
//print(BUGNUMBER + ": " + summary);
assertEq(typeof [].includes, "function");
assertEq([].includes.length, 1);
assertTrue([1, ... |
/*
* BetweenAS3
*
* Licensed under the MIT License
*
* Copyright (c) 2009 BeInteractive! (www.be-interactive.org) and
* Spark project (www.libspark.org)
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files... |
'use strict';
angular.module("ngLocale", [], ["$provide", function($provide) {
var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"};
$provide.value("$locale", {
"DATETIME_FORMATS": {
"AMPMS": [
"\u4e0a\u5348",
"\u4e0b\u5348"
],
"DAY": [
"... |
/**
* Auto-generated action file for "Weatherbit.io - Swagger UI Weather API documentation" API.
*
* Generated at: 2019-05-07T14:44:52.031Z
* Mass generator version: 1.1.0
*
* flowground :- Telekom iPaaS / weatherbit-io-connector
* Copyright © 2019, Deutsche Telekom AG
* contact: flowground@telekom.de
*
* All... |
var should = require('chai').should();
var _ = require('lodash');
var sinon = require('sinon');
var nock = require('nock');
var rewire = require('rewire');
var async = require('async');
var R = require('ramda');
var syncTests = require('./helper/syncTests');
var testConditions = require('./helper/testConditions');
var... |
load("bf4b12814bc95f34eeb130127d8438ab.js");
load("93fae755edd261212639eed30afa2ca4.js");
// Copyright (C) 2014 André Bargull. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
info: Compound Assignment Operator calls PutValue(lref, v)
es5id: S11.13.2_A6.6_T1
description... |
/* eslint-disable
handle-callback-err,
max-len,
no-return-assign,
no-unused-vars,
*/
// TODO: This file was created by bulk-decaffeinate.
// Fix any style issues and re-enable lint.
/*
* decaffeinate suggestions:
* DS102: Remove unnecessary code created because of implicit returns
* DS207: Consider s... |
import React from 'react';
class Counter extends React.Component {
constructor(props) {
super(props);
console.log(props);
this.state = {
counter: props.initCounter
}
}
render() {
return (
<div>
{this.state.counter}
<butt... |
import Radio from './Radio'
export default Radio |
function CSSStyleDeclaration(node){
this.__node = node;
}
CSSStyleDeclaration.prototype.getPropertyValue = function () {};
Object.defineProperty(CSSStyleDeclaration.prototype,"cssText", {
enumerable: true,
configurable: true,
get: function(){
return this.__node.getAttribute("style") || "";
},
set: function(va... |
/* */
"format cjs";
/*!
* AngularJS Material Design
* https://github.com/angular/material
* @license MIT
* v1.1.4-master-e1345ae
*/
goog.provide('ngmaterial.components.progressCircular');
goog.require('ngmaterial.core');
/**
* @ngdoc module
* @name material.components.progressCircular
* @description Module for... |
//// [objectTypesIdentity2.ts]
// object types are identical structurally
class A {
foo: number;
}
class B {
foo: boolean;
}
class C<T> {
foo: T;
}
interface I {
foo: Date;
}
var a: { foo: RegExp; }
enum E { A }
var b = { foo: E.A };
function foo5(x: A);
function foo5(x: B); // ok
function foo5(x:... |
/*******************************************************************************
~ Control Area ~
This script sets up the control area which receives user input.
*******************************************************************************/
////////// CONTROL AREA LAYOUT //////////////////////////////////////... |
var http = require('http');
var formidable = require('formidable');
var fs = require('fs');
http.createServer(function (req, res) {
if (req.url == '/fileupload') {
var form = new formidable.IncomingForm();
form.parse(req, function (err, fields, files) {
var oldpath = files.filetoupload.path;
... |
import { combineReducers } from 'redux';
import client from "./client";
import employee from "./employee";
import category from "./category";
import booking from "./booking";
export default combineReducers({
clientReducer: client,
employeeReducer: employee,
categoryReducer: category,
bookingReducer: b... |
/**
* @fileoverview Rule to disallow assignments to native objects or read-only global variables
* @author Ilya Volodin
* @deprecated in ESLint v3.3.0
*/
"use strict";
//------------------------------------------------------------------------------
// Rule Definition
//--------------------------------------------... |
#pragma strict
var lightTarget : GameObject;
function Start () {
}
function Update () {
transform.LookAt(lightTarget.transform);
} |
var searchData=
[
['failed',['FAILED',['../classnet_1_1_stateless_rejector.html#aa7fd7a65760c779df5a1625b08030f66abf6f052c8887c7e2a4e73685f35c1173',1,'net::StatelessRejector']]]
]; |
const request = require('supertest');
const faker = require('faker');
const httpStatus = require('http-status');
const app = require('../../src/app');
const setupTestDB = require('../utils/setupTestDB');
const { Task } = require('../../src/models');
const { userOne, admin, insertUsers, adminTwo, client } = require('../... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.