text stringlengths 2 1.04M |
|---|
"use strict";
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard");
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.HouzzDimensions = exports.Houzz = void 0;
var _extends2... |
// Copyright (c) 2021 Visiosto oy
// Licensed under the MIT License
// Based on code by Chase Ohlson.
// Original code is available at https://github.com/brohlson/gatsby-plugin-anchor-links.
import errorTypes from './errorTypes';
import logWarning from './logWarning';
import scroller from './scroller';
export defaul... |
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[123],{
/***/ "./node_modules/css-loader/dist/cjs.js?!./node_modules/postcss-loader/src/index.js?!./node_modules/quill/dist/quill.bubble.css":
/*!***************************************************************************************************************... |
import React from 'react';
import {
createShallowRenderer,
id,
type,
childrenOf
} from './shallowHelpers';
import { App } from '../src/App';
import { MenuButtons } from '../src/MenuButtons';
import { StatementHistory } from '../src/StatementHistory';
import { ScriptName } from '../src/ScriptName';
import { Draw... |
import React from "react"
import Components from "../utils/components"
import SbEditable from "storyblok-react"
import styled from "styled-components"
import config from "../../gatsby-config"
import TheHeader from "../components/TheHeader"
import TheFooter from "../components/TheFooter"
const sbConfigs = config.plugi... |
import React, {Component} from 'react'
import {View, Text, ScrollView} from 'react-native'
import {CyberButton} from '../CyberButton'
import {UnitList} from '../UnitList'
import styles from './styles'
const keyboards = [
['AC', '+⧸_', '%', '÷'],
['7', '8', '9', '×'],
['4', '5', '6', '−'],
['1', '2', '3', '+'],... |
(function(){("undefined"==typeof window.CKEDITOR_BASEPATH||null===window.CKEDITOR_BASEPATH)&&(window.CKEDITOR_BASEPATH="/assets/ckeditor/")}).call(this),/*
Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/ |
"use strict";
require("core-js/modules/es.object.assign");
require("core-js/modules/es.string.bold");
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.Badge = void 0;
var _react = _interopRequireDefault(require("react"));
var _theming = require("@storybook/theming");
function _interopRequi... |
import { module, test, setupStoreTest } from '../helpers/setup';
import ZugletObject, { setProperties } from 'zuglet/object';
import { activate } from 'zuglet/decorators';
import { activate as _activate, isActivated } from 'zuglet/utils';
module('decorators / @activate / writable / array', function(hooks) {
setupSto... |
// Copyright 2007 The Closure Library Authors. 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 requ... |
import React from 'react';
import Divider from 'material-ui/Divider';
import Subheader from 'material-ui/Subheader';
import {List, ListItem} from 'material-ui/List';
import Paper from 'material-ui/Paper';
export default (props) =>
<Paper zDepth={2} style={{width: '50%'}}>
<List style={{textAlign: 'left'}}>
... |
var tree2csv_8C =
[
[ "tree2csv", "db/de8/tree2csv_8C.html#a40adc68f87cbf8d9ba3abf2ddd3998c6", null ]
]; |
const { expect } = require('chai');
const { isValidDatetime } = require('..');
describe('Basic Datetime validation', ()=> {
it('detects valid datetime', ()=> {
expect(isValidDatetime('2021-12-31 15:20')).to.equal(true);
expect(isValidDatetime('2015-01-15 08:05')).to.equal(true);
});
it('de... |
/* version: 0.2.72 */
var Organic = (function(w){
var o = {
helpers: {},
lib: {
atoms: {},
molecules: {}
}
}
var require = function(v) {
if(v == "./helpers/extend") {
return o.helpers.extend;
} else if(v == "/helpers/snippets" || v == "../../helpers/snippets") {
return o.helpers.snippets;
} else if(v == "... |
ZRF = {
JUMP: 0,
IF: 1,
FORK: 2,
FUNCTION: 3,
IN_ZONE: 4,
FLAG: 5,
SET_FLAG: 6,
POS_FLAG: 7,
SET_POS_FLAG: 8,
ATTR: 9,
SET_ATTR: 10,
PROMOTE: 11,
MODE: 12,
ON_BOARD_DIR: 13,
... |
// server.js
const express = require("express");
const SocketServer = require("ws").Server;
const uuidv4 = require("uuid/v4");
// Set the port to 3001
const PORT = 3001;
// Create a new express server
const server = express()
// Make the express server serve static assets (html, javascript, css) from the /public f... |
import React from "react";
import { render, wait } from "react-testing-library";
import createTrigger from "../index";
import useTriggerEffect from "../useTriggerEffect";
describe("useTriggerEffect", () => {
it("call trigger", async () => {
const trigger = createTrigger();
const effect = jest.fn();... |
const User = require('../models/User');
const Token = require('../models/Token');
const bcrypt = require('bcryptjs');
const jwt = require('jsonwebtoken');
const generateToken = (params = {}) => {
return jwt.sign(params, process.env.API_KEY, {
expiresIn: 86400
});
}
class AuthController {
async log... |
(function() {
'use strict';
angular
.module('blogapp')
.config(config);
config.$inject = ['$logProvider'];
function config($logProvider) {
$logProvider.debugEnabled(true);
}
})(); |
const baseURL = 'http://119.29.108.177:8000';
// const baseURL = 'http://192.168.0.107:8000';
// const baseURL = 'http://127.0.0.1:8000';
module.exports = {
baseURL,
}; |
import React from 'react';
import { useLocation } from 'react-router-dom';
function Footer() {
const { pathname } = useLocation();
return (
<>
{pathname === '/' && (
<footer>
Built with{' '}
<span role='img' aria-label='love'>
♥️
</span>{' '}
by... |
/**
* Created by zlongxiao@126.com on 2015/12/14.
*/
;
//通过class获取元素
function getClass(cls) {
var ret = [];
var els = document.getElementsByTagName("*");
for (var i = 0; i < els.length; i++) {
//判断els[i]中是否存在cls这个className;.indexOf("cls")判断cls存在的下标,如果下标>=0则存在;
if (els[i].className === cls... |
const express = require("express");
const router = express.Router();
const burger = require("../models/burger.js");
router.get("/", (req, res) => {
burger.all(function(data) {
const hbsObject = {
burgers: data
};
console.log(hbsObject);
res.render("index", hbsObject);
});
});
module.export... |
import{LitElement as o,html as t,css as e}from"../../../lit/index.js";class GameShowQuizModal extends o{static get styles(){return[e`
:host {
display: block;
}
paper-dialog:not(:defined) {
display: none;
}
paper-dialog {
min-width: 60%;
top... |
import FriendsBaseController from './base';
export default FriendsBaseController.extend({
actions:{
cancel: function() {
this.transitionToRoute('friends.show', this.get('model'));
return false;
}
}
}); |
var sweetAlertConfirmConfig = sweetAlertConfirmConfig || {}; // Add default config object
(function ($) {
var sweetAlertConfirm = function (event) {
swalDefaultOptions = {
title: sweetAlertConfirmConfig.title || 'Are you sure?',
type: sweetAlertConfirmConfig.type || 'warning',
showCancelButton... |
/**
* Created by azu on 2014/04/27.
* LICENSE : MIT
*/
"use strict";
function getAutoReloadTime() {
return window.localStorage.getItem("auto-reload-interval") || 60 * 1000;
}
function setAutoReloadTime(timeInterval) {
return window.localStorage.setItem("auto-reload-interval", timeInterval);
}
function setLas... |
/*
*copyright Ryan Day 2012
*
* Licensed under the MIT license:
* http://www.opensource.org/licenses/mit-license.php
*
* this is the main server side application file for node-qrcode.
* these exports use serverside canvas api methods for file IO and buffers
*
*/
var QRCodeLib = require(__dirname+'/lib/qrcode-draw')... |
import React, { useState } from "react";
import { gql, useMutation } from "@apollo/client";
const SIGN_UP = gql`
mutation signup($input: SignupInput!) {
signup(input: $input) {
message
}
}
`;
function Signup() {
const [email, setEmail] = useState("");
const [password, setPassword] = useState(""... |
angular.module('colorpicker.module', [])
.factory('Helper', function () {
'use strict';
return {
closestSlider: function (elem) {
var matchesSelector = elem.matches || elem.webkitMatchesSelector || elem.mozMatchesSelector || elem.msMatchesSelector;
if (matchesSelector.bind(el... |
//# sourceMappingURL=app.18dd43d8.js.map |
import React from 'react';
import PropTypes from 'prop-types';
const Buttons = ({ handleButtonClick }) => {
const updateHandleButtonClick = (e) => {
handleButtonClick(e.target.innerHTML);
};
return (
<>
<div id="left">
<button type="button" onClick={updateHandleButtonClick}>AC</button>
... |
import PropTypes from 'prop-types'
import PolymorphicElement from '@s-ui/react-atom-polymorphic-element'
import {
ALPHA,
COLORS,
BORDER_RADIUS,
ELEVATION,
getClassNames
} from './constants.js'
const ColorPanel = function ({
as = 'div',
alpha = ALPHA.CONTRAST,
color = COLORS.DEFAULT,
children,
...... |
// Import the Google Cloud client library using default credentials
const {BigQuery} = require('@google-cloud/bigquery');
const tempKey = process.env.KEY_1 + process.env.KEY_2 + process.env.KEY_3 + process.env.KEY_4 + process.env.KEY_5 + process.env.KEY_6 + process.env.KEY_7 + process.env.KEY_8;
// Key reformatting fo... |
#!/usr/bin/env node
/**
* This is a script that aids me in setting up my DEV.to draft.
*
* It updates the frontmatter as well as the links to all the images.
*
* Run with command `yarn devto <post-slug>`
*
*/
const { readFile, writeFile } = require('fs');
const { join } = require('path');
const glob = require(... |
const fs = require('fs');
const util = require('util');
const readline = require('readline');
const { google } = require('googleapis');
const SCOPES = ['https://www.googleapis.com/auth/gmail.readonly', 'https://www.googleapis.com/auth/gmail.modify'];
const TOKEN_PATH = 'token.json';
fs.readFile('credentials.json', (er... |
var config = module.exports;
var fs = require('fs');
var path = require('path');
var home = process.env[(process.platform == 'win32') ? 'USERPROFILE' : 'HOME'];
var configFile = path.join(home, 'astor.config');
config.getIssueSession = function (name) {
var config = (getConfig() || {}).issueSessions || {};
return... |
/**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
import { createInjectableType } from '../../injectable_compiler_2';
import * as o from '../../output/output_ast';
impo... |
import React from 'react';
import {
Modal,
View,
FlatList,
TouchableOpacity,
Text,
StyleSheet,
} from 'react-native';
/*
import ActionFooter, {ActionPrimaryButton} from '../Core/ActionFooter';
import useCategories from '../../hooks/useCategories'; */
import Colors from '../../styles/Colors';
const Categ... |
exports.formats = {
// personName: faker => faker.name.findName(),
companyName: faker => faker.company.companyName(),
email: faker => faker.internet.email(),
longInteger: faker => faker.random.number({min:10000, max:90000}),
personName: faker => `${faker.name.firstName()} ${faker.name.lastName()}`,
projectN... |
import { useDispatch, useSelector } from 'react-redux';
import operations from '../redux/login/auth-operations';
import { getUseremail } from '../redux/login/auth-selectors';
const styles = {
container: {
display: 'flex',
alignItems: 'center',
},
avatar: {
marginRight: 4,
},
name: {
fontWeigh... |
module.exports = [
{
recName: '小土豆炖排骨',
recPhoto: 'http://i04.pic.sogou.com/1ab139b58f33006a',
recDescribe: '最近朋友从家里带来不少小土豆,就来烧炖排骨的',
recView: '1344人浏览',
hierarchy: '初级',
time: '30',
food: [
{materials: '牛腩', conversion: '500克'},
{materials: '白萝卜', conversion: '500克'},
{m... |
const Constants = require("./constants.js");
// Specific sanity for content-type header
function sanityContentType(contentType) {
if(contentType) {
return Array.of(contentType)
.map(c => c.split(";"))
.map(c => c.shift())
.shift();
}
return contentType;
}
function ... |
class ResponseUtil {
constructor() {
this.statusCode = null;
this.type = null;
this.data = null;
this.message = null;
}
setSuccess(statusCode, message, data) {
this.statusCode = statusCode;
this.message = message;
this.data = data;
this.type = "success";
}
setError(statusCode, ... |
import vfs from 'vinyl-fs'
import fs from 'fs'
import through from 'through2'
import path from 'path'
import which from 'which'
import { findNpm, runCmd } from '../utils'
const { join, basename } = path
export default function server(cmd, options) {
createServer(
options.init ? (cmd || path.basename(process.cw... |
// Citation related helpers.
import React from 'react';
import { format } from 'date-fns';
import { FormHelperMessage } from '@devseed-ui/form';
import getDocumentIdKey from './get-document-id-key';
import { documentView } from '../../utils/url-creator';
// Symbol to define that the description should come from the s... |
//# sourceMappingURL=main.a1dc8780.chunk.js.map |
!function (context, $) {
/**
* Creates a new Parallax instance
*
* @param elements an array of selectors or ender objects
* @param depths an array of the corresponding depths
* @param options additional options for setup
* @constructor
*/
function Parallax(elements, depths, options) {
this.options = ... |
const dal = require("../PlaceDAL");
module.exports = async ({userId}, res) =>
{
let status = 200;
const consulta = await dal.findAll({
where: {
userId: userId,
}
});
res.status(status).json(consulta);
}; |
import React from 'react';
import { Consumer } from 'redux-suspense';
import postsMapper from '../mappers/postsMapper';
import Posts from '../components/Posts';
export default function PostsOptimisticContainer({ subreddit }) {
return (
<Consumer>
{({ state }) => {
let posts = postsMapper.peek(state... |
import React from 'react';
import { text, selectV2 as select, boolean, object } from '@storybook/addon-knobs';
import { action } from '@storybook/addon-actions';
import readme from './README.md';
import ValidatableInput from '../../../components/atoms/ValidatableInput';
const component = () => (
<ValidatableInput
... |
var searchData=
[
['chip_5fname_110',['chip_name',['../structdht11__info__s.html#af890958c72bd715cc6454a10dc846ae6',1,'dht11_info_s']]]
]; |
var mysql = require("mysql");
var bcrypt = require("bcrypt");
var $util = require("./utilities");
var Logger = require("./logger");
var Config = require("./config");
var Server = require("./server");
var tables = require("./database/tables");
var net = require("net");
var util = require("./utilities");
var pool = null... |
// import { StyleSheet, Text, View, Alert, TouchableOpacity } from "react-native";
// import React, { Component } from "react";
// // import Video from "react-native-video";
// import {Video} from "expo-av"
// import { DragResizeBlock } from "react-native-drag-resize";
// import Service from "../../../libs/service";
//... |
const localStorage = {
get length() {
const { keys } = wx.getStorageInfoSync()
return keys.length
},
key(n) {
const { keys } = wx.getStorageInfoSync()
return keys[n]
},
getItem(key) {
const value = wx.getStorageSync(key);
return value === "" ? null ... |
export const isFn = s => typeof s === "function";
export const isDef = s => s !== undefined;
export const isPlainObject = s => typeof s === "object" && s !== null; |
(function () {
// define variables
var canvas = document.getElementById('canvas');
var ctx = canvas.getContext('2d');
var player, score, stop, ticker;
var ground = [], water = [], enemies = [], environment = [];
// platform variables
var platformHeight, platformLength, gapLength;
var platformWidth = 32... |
import _ from 'underscore';
import op from 'object-path';
import deps from 'dependencies';
import { themes } from 'appdir/toolkit';
import { TweenMax, Power2 } from 'gsap/umd/TweenMax';
const isToolkit = path => {
let exp = /^\/toolkit/i;
return exp.test(path);
};
export default {
load: data => dispatch =... |
import { renderApp, createHistory } from 'testUtils'
import { fireEvent, waitFor, screen } from '@testing-library/react'
import { featureSetup } from 'featureUtils'
featureSetup()
describe('editing a literal property', () => {
const history = createHistory(['/editor/resourceTemplate:testing:uber1'])
it('allows e... |
var express = require("express");
var router = express.Router();
var Blog = require("../models/blog");
var Comment = require("../models/comment");
var middleware = require("../middleware/index");
router.get(
"/blogs/:id/comments/new",
middleware.isLoggedIn,
function (req, res) {
Blog.findById(req.params.id, ... |
import Eth from 'ethjs'
import web3 from 'web3'
import { getProvider } from './provider'
import { getRegulatingRating, getRegulatingRatingView } from '../config'
import store from '../store'
import { wrapSend } from '../utils/utils'
class RegulatingRatingService {
constructor () {
this.address = null
this.ac... |
export const cibOracle = ["32 32","<path d='M21.88 5.88h-11.755c-5.589 0-10.12 4.527-10.125 10.115-0.005 5.589 4.527 10.12 10.115 10.125h11.765c5.589 0 10.12-4.532 10.12-10.12s-4.531-10.12-10.12-10.12zM21.625 22.552h-11.245c-8.563-0.172-8.563-12.932 0-13.104h11.245c8.735 0 8.735 13.104 0 13.104z'></path>"] |
import React, { Component } from "react";
import Nav from '../components/Nav';
import Footer from '../components/Footer'
import project from '../assets/img/projects_red.svg'
import Card from '../components/ProjectCard'
import {ProjectsBio} from '../Name'
class Project extends Component {
render() {
/... |
//Number.prototype.plus; //and complex
//use those so faster
function plus(l, r) { return l + r; }
function minus(l, r) { return l - r; }
function times(l, r) { return l * r; }
//function rdivide() { return ; }
//function ldivide() { return ; }
//function power() { return ; }
function maximum() { return max(l, r); } |
import moment from 'moment';
export default (value, format = 'MMM Do, YYYY') => moment(value).format(format); |
import Utils from '../utils/Utils'
/**
* ApexCharts Theme Class for setting the colors and palettes.
*
* @module Theme
**/
export default class Theme {
constructor(ctx) {
this.ctx = ctx
this.colors = []
this.w = ctx.w
const w = this.w
this.isColorFn = false
this.isHeatmapDistributed =
... |
const div = document.createElement("div");
document.body.appendChild(div);
describe("directive: zen-toggle-group", function() {
let element, scope;
beforeEach(angular.mock.module("ZenUI"));
afterEach(function () {
while (div.firstChild) {
div.removeChild(div.firstChild);
}
... |
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@carbon/colors')) :
typeof define === 'function' && define.amd ? define(['exports', '@carbon/colors'], factory) :
(factory((global.CarbonThemes = {}),global.CarbonColors));
}(this, (function (exp... |
import React from 'react';
import { func, bool } from 'prop-types';
import { noop } from 'lodash';
import styles from './AppCard.scss';
import appShape from '../../shape/appShape';
const AppCard = ({ app, openApp, internal }) => {
const { title, blurb, url, img_url: imgUrl } = app;
const clickHandler = internal ?... |
test.catch;
test.catch.foo;
test["catch"];
test["catch"].foo; |
var Q = require("q");
// this function will built the template in views/template.hjs
// around the rendered page
exports.render = render = function (viewName, data, res) {
var deferred = Q.defer();
data = data || {};
res.render(viewName, data, function (err, html) {
if(err) {
return deferred.re... |
import todaymostComponent from './modelshowdetal.component';
import {Button} from 'fancyui';
import modelshowdetalController from './modelshowdetal.model.controller'
export default angular.module('modelshowdetal', [
Button.name
])
.component('modelShowDetal', todaymostComponent)
.constant('modelshowdetalcont',{insta... |
var mysql = require('mysql');
function createDBConnection(){
if (!process.env.NODE_ENV || process.env.node === 'dev') {
return mysql.createConnection({
host: 'localhost',
user: 'root',
password: '',
database: 'payfast'
});
}
if (process.env.NODE_ENV == 'sandbox') {
return mysql.createConnection(... |
function init() {
var x = document.getElementById("amountOfMoney");
var result = document.getElementById("result");
x.onkeyup = function(e) {
var val = this.value*100;
var oneLi = Math.floor(val/100);
val = val%100;
var fiftyKr = Math.floor(val/50);
val = val%50;
var twentyFiveKr ... |
//
// Github Extension (WIP)
// ~~strike-through~~ -> <del>strike-through</del>
//
(function () {
var github = function (converter) {
return [
{
// strike-through
// NOTE: showdown already replaced "~" with "~T", so we need to adjust accordingly.
... |
/*global require,dojo,window,Modernizr,console,js,location,esri,defaultAppUI:true */
/*jslint sloppy:true */
/** @license
| ArcGIS Solutions
| Version 10.2
| Copyright 2012 Esri
|
| Licensed under the Apache License, Version 2.0 (the "License");
| you may not use this file except in compliance with the License.
... |
/* ===========================================================
* bootstrap-popover.js v2.0.1
* http://twitter.github.com/bootstrap/javascript.html#popovers
* ===========================================================
* Copyright 2012 Twitter, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"... |
/**
* Util
*/
define([
'jquery',
'app/init',
'app/lib/prototypes',
'app/lib/console',
'app/lib/cache',
'app/lib/localStore',
'app/lib/resize',
'conf/system_effect',
'conf/signature_type',
'lazyload',
'bootbox',
'velocity',
'velocityUI',
'customScrollbar',
'... |
const Engine = Matter.Engine;
const World = Matter.World;
const Bodies = Matter.Bodies;
const Body = Matter.Body;
var btn2;
var angle = 60
function setup() {
createCanvas(400,400);
engine = Engine.create();
world = engine.world;
var ball_options = {
restitution: 0.95,
frictionAir:0.01
}
... |
/*
* g.Raphael 0.4.1 - Charting library, based on Raphaël
*
* Copyright (c) 2009 Dmitry Baranovskiy (http://g.raphaeljs.com)
* Licensed under the MIT (http://www.opensource.org/licenses/mit-license.php) license.
*/ |
import * as TagTypes from '../actionTypes/TagTypes';
import Tag from '../../apis/Tag';
function handleTagTitle(title)
{
return function (dispatch, getState) {
dispatch({
type: TagTypes.HANDLE_TAG_TITLE,
data: title
});
}
}
function setTagDefaults() {
return funct... |
module.exports = {
'env': {
'browser': true,
'es6': true,
'node': true
},
'extends': 'eslint:recommended',
'globals': {
'Atomics': 'readonly',
'SharedArrayBuffer': 'readonly'
},
'parserOptions': {
'ecmaVersion': 2018,
'sourceType': 'module'
},
'plugins': [
'vue'
],
'r... |
var searchData=
[
['doxypypypostprocess_48',['DoxypypyPostProcess',['../classdoxyth_1_1utils_1_1postprocess_1_1_doxypypy_post_process.html',1,'doxyth::utils::postprocess']]],
['doxyth_49',['DoxyTH',['../classdoxyth_1_1doxyth_1_1_doxy_t_h.html',1,'doxyth::doxyth']]]
]; |
var connection;
var connectionTryouts = 0;
function connect() {
connection = new WebSocket("ws://" + location.host);
}
function connectAndSend(callback) {
if (connection && connection.readyState === 1) {
callback();
} else {
connect();
connectionTryouts++;
setTimeout(function(){
if (!connection || conne... |
/* istanbul ignore next */
'use strict';
var express = require('express');
module.exports = function(nodecg) {
var app = express();
app.get('/test-bundle/test-route', function(req, res) {
res.sendStatus(200);
});
nodecg.mount(app);
return nodecg;
}; |
import Highlights from './Highlights';
import Hero from './Hero';
export {
Highlights,
Hero
} |
/******************************************************************************
* Copyright 2019 ModusBox, Inc. *
* *
* info@modusbox.com *
... |
/**
* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/
import { Inject, Injectable, Renderer2 } from '@angular/core';
import { DOCUMENT } from '@angular/common';
/** @type {?} */
const RemoveClasses = (/**
* @param ... |
import User from '../Models/user'
import bcrypt from 'bcrypt'
import { validationLogin } from '../Utils/validation'
import { createSendToken, createRefreshToken } from '../Utils/auth'
export default {
Login: async (input, req, res, pubsub) => {
const { email, password } = input
const { error } = validationLo... |
import request from 'supertest';
import _ from 'lodash';
import path from 'path';
import rimraf from 'rimraf';
import configDefault from '../partials/config/index';
import publishMetadata from '../partials/publish-api';
import starMetadata from '../partials/star-api';
import endPointAPI from '../../../src/api/index';
... |
// DESCRIPTION:
// Here Redux Store is set up.
import rhm from "rhm";
import logger from "redux-logger";
import {applyMiddleware, createStore} from "redux";
import {composeWithDevTools} from "redux-devtools-extension";
// Root Reducer.
import reducer from "./reducers";
// Apply additional middleware.
const middlewar... |
module.exports = class {
persist(estateId, timeOrderEntity) {
throw new Error("ERR_METHOD_NOT_IMPLEMENTED");
}
get(estateId, query) {
throw new Error("ERR_METHOD_NOT_IMPLEMENTED");
}
}; |
define(
"dojo/cldr/nls/ja/hebrew", //begin v1.x content
{
"days-standAlone-short": [
"日",
"月",
"火",
"水",
"木",
"金",
"土"
],
"months-format-narrow": [
"1",
"2",
"3",
"4",
"5",
"6",
"7",
"8",
"9",
"10",
"11",
"12",
"13"
],
"field-second-relative+0": "今すぐ",
"field-weekday": "曜日"... |
module.exports = {
siteMetadata: {
title: `Gatsby Default Starter`,
description: `Kick off your next, great Gatsby project with this default starter. This barebones starter ships with the main Gatsby configuration files you might need.`,
author: `@gatsbyjs`,
},
plugins: [
`gatsby-plugin-react-helm... |
import buildDocumentation from './buildDocumentation';
describe('buildDocumentation', () => {
it('should build documentation for class ', async () => {
const sourceCode = `
/**
* @doc UI
*/
class C1 {
m1() {}
}
/**
* @doc UI
*/
export class C2 ... |
/*
Rest Query (shared lib)
Copyright (c) 2014 - 2020 Cédric Ronvel
The MIT License (MIT)
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 t... |
"use strict";
var $__Token_46_js__,
$__TokenType_46_js__;
var Token = ($__Token_46_js__ = require("./Token.js"), $__Token_46_js__ && $__Token_46_js__.__esModule && $__Token_46_js__ || {default: $__Token_46_js__}).Token;
var $__11 = ($__TokenType_46_js__ = require("./TokenType.js"), $__TokenType_46_js__ && $__TokenT... |
export default {
TOOLBAR_HEIGHT: 70,
}; |
const drawTextWithTwemoji = require('./src/drawTextWithTwemoji');
const measureText = require('./src/measureText');
exports.fillTextWithTwemoji = async function (context, text, x, y, options = {}) {
return await drawTextWithTwemoji(context, 'fill', text, x, y, options);
}
exports.strokeTextWithTwemoji = async funct... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.