text stringlengths 2 1.04M |
|---|
var foodNames = []; // Food Names
var ings = {}; // Ingredients
var dirs = {}; // Directions
var images = []; // Food Images
$(document).ready(function() {
loadData()
getCard(false, "");
homePage();
});
$(document).scroll(function() {
// Change the navbar's background color when scrolling
var $nav = $("#mainNavb... |
import Maps from './tool';
export default function authed(route, replace) {
let muser = Maps.get('user');
if (!muser) {
console.log("map里没有有用户,用户未登录");
replace('/login');
}
} |
// Callisto - callisto-task-mandarake <https://github.com/msikma/callisto>
// © MIT license
const { addDefaults } = require('callisto-core/util/misc')
const { filterOutCachedItems, cacheItems } = require('callisto-core/lib/cache')
const { formatMessageMain, formatMessageAuction } = require('./format')
const { runShop... |
exports.up = function (knex) {
return knex('users').insert([
{name: 'Jonny'},
{name: 'Igor'}
])
}
exports.down = function (knex) {
return knex('users').del()
} |
import React, { useState, useEffect } from "react";
import { Container, Stepper, Step, StepLabel, Button } from "@material-ui/core";
import Meta from "components/Meta";
import { Formik, Form } from "formik";
import { Link as RouterLink } from "react-router-dom";
import { useHistory } from "react-router-dom";
import ... |
import { combineReducers } from 'redux';
import { routerReducer } from 'react-router-redux';
import app from './app';
import note from './note';
import reminders from './reminders';
import todo from './todo';
export default combineReducers({
app,
note,
reminders,
router: routerReducer,
todo,
}); |
/**
* util-deps.js - The parser for dependencies
* ref: tests/research/parse-dependencies/test.html
*/
var REQUIRE_RE = /"(?:\\"|[^"])*"|'(?:\\'|[^'])*'|\/\*[\S\s]*?\*\/|\/(?:\\\/|[^/\r\n])+\/(?=[^\/])|\/\/.*|\.\s*require|(?:^|[^$])\brequire\s*\(\s*(["'])(.+?)\1\s*\)/g,
SLASH_RE = /\\\\/g,
REQUIRE_NAME_RE =... |
const shelljs = require('shelljs')
const signale = require('signale')
/**
* Purpose of this script: create a source code zip that can be used shared and
* used to produce a build of the browser extensions.
*
* This makes it possible to provide the complete source code to the maintainers
* of extension registries,... |
const app = require('express')()
const bodyParser = require('body-parser')
app.use(bodyParser.json())
app.use(bodyParser.urlencoded({ extended: true }))
app
.route('/webhooks/inbound-sms')
.get(handleInboundSms)
.post(handleInboundSms)
function handleInboundSms(request, response) {
const params = Object.assi... |
// Karma configuration
// Generated on Wed Jul 15 2015 09:44:02 GMT+0200 (Romance Daylight Time)
'use strict';
var argv = require('yargs').argv;
var minimatch = require("minimatch");
module.exports = function (config) {
config.set({
// base path that will be used to resolve all patterns (eg. files, exclude)
... |
export const EXCUSES = [
'I thought you signed off on that.',
'That feature was slated for phase two.',
'That feature would be outside the scope.',
'It must be a hardware problem.',
'It\'s never shown unexpected behavior like this before.',
'There must be something strange in your data.',
'W... |
import styled from "styled-components";
export const WrapperListAlpha = styled.div`
display: flex;
justify-content: space-between;
margin-top: ${(props) => (props.hasTop ? "20px" : 0)};
.item {
padding: 1px 4px;
border-radius: 3px;
span {
font-size: 14px;
color: #333;
cursor: poi... |
/* global describe, it */
import 'babel-polyfill';
import 'should';
import jsonNext from '../src/main';
describe('JsonNext', function() {
const myMap = new Map([['first', 'Benjamin'], ['last', 'Cisco']]);
const mySecondMap = new Map([['first', 'Jake'], ['last', 'Cisco']]);
myMap.set('second', mySecondMap... |
import React from 'react';
import { storiesOf } from '@storybook/react';
// import { action } from '@storybook/addon-actions';
//import { linkTo } from '@storybook/addon-links';
import ChatItem from '../client/app/modules/ChatLayout/Components/ChatItem';
import ChatInput from '../client/app/modules/ChatLayout/Compone... |
const { join } = require('path')
const { readdirSync } = require('fs')
const webpack = require('webpack')
const ClosureCompilerPlugin = require('webpack-closure-compiler')
const devConfig = require('./webpack.config.dev')
const CssConfig = devConfig[1]
const NODE_ENV = process.env.NODE_ENV || 'production'
const JS_ENT... |
(function(){'use strict';var g;var l=["-ms-","-moz-","-webkit-",""],m=function(a,c){for(var b,d,e=0;e<l.length;++e)b=l[e]+"transition-duration",d=""+c,a.style.setProperty(b,d)};function n(a,c,b,d,e,h,f){this.j=a;this.f=c;this.w=b;a=d||"none";this.l=e="none"===a?0:e||1E3;this.g=h||"linear";this.i=[];if(e){h=f||"top";if(... |
/*
* This file is part of OverPy (https://github.com/Zezombye/overpy).
* Copyright (c) 2019 Zezombye.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, version 3.
*
* This program ... |
import request from '@/utils/request';
export async function query() {
return request('/api/users');
}
export async function queryCurrent() {
return request('/api/currentUser');
} |
!function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="/assets/js/",t(0)}([function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}var o=n(1),i=r(o),a=n(30),u=n... |
var FormFileUpload = function () {
return {
//main function to initiate the module
init: function () {
// Initialize the jQuery File Upload widget:
$('#fileupload').fileupload({
disableImageResize: false,
autoUpload: false,
di... |
$(document).ready(function () {
$.validator.addMethod("valueNotEquals", function(value, element, arg){
return arg != value;
}, "Value must not equal arg.");
// configure your validation
$("#add_attribute").validate({
rules: {
category_name: { valueNotEquals: "default" }
... |
/*!
* Matomo - free/libre analytics platform
*
* @link https://matomo.org
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
*/
(function () {
angular.module('piwikApp.filter').filter('trim', trim);
function trim() {
return function(string) {
if (string) {
... |
var request = require('request-promise');
var request = require('request-promise');
var common = require('../../routes/common');
var logger = require('../shared/logger');
var options = {};
var num_max_events = 100;
var responseData = { forwarding_events: [], last_offset_index: 0 };
exports.forwardingHistory = (req, re... |
/* eslint-disable max-len */
/**
* @file ext-overview_window.js
*
* @license MIT
*
* @copyright 2013 James Sacksteder
*
*/
import { dragmove } from '../../../editor/dragmove/dragmove.js';
export default {
name: 'overview_window',
init ({_$, isChrome}) {
const svgEditor = this;
const {$id} = svgEdito... |
/**
* Copyright 2016 The AMP HTML 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 require... |
tinymce.addI18n('zh_CN',{
"Redo": "恢复",
"Undo": "撤销",
"Cut": "剪切",
"Copy": "复制",
"Paste": "粘贴",
"Select all": "全选",
"New document": "新建文档",
"Ok": "确定",
"Cancel": "取消",
"Visual aids": "网格线",
"Bold": "粗体",
"Italic": "斜体",
"Underline": "下划线",
"Strikethrough": "删除线",
"Superscript": "上标",
"Subscript": "下标",
"Clear formattin... |
import Inflector from 'ember-inflector';
const inflector = Inflector.inflector;
inflector.irregular('language', 'Languages');
inflector.irregular('country', 'Countrys');
inflector.irregular('author', 'Authors');
inflector.irregular('book', 'Books');
export default {}; |
'use strict';
var util = require('util'),
fs = require('fs'),
yeoman = require('yeoman-generator');
var ServiceGenerator = yeoman.generators.NamedBase.extend({
askForModuleName: function() {
var modulesFolder = process.cwd() + '/app/modules/';
var done = this.async();
var prompts... |
require(['require','login_1', 'login_2', 'h_content', 'nav', 'lazyload']); |
const uploadImage = require("../middleware/upload");
const fs = require("fs");
// const { Worker, isMainThread, parentPort, workerData } = require('worker_threads');
// const workerpool = require('workerpool');
console.log("Worker thread spawned");
uploadProcess = async({ file240, file720, reqFile }) => {
try {
... |
import test from 'tape';
import {
checkCriteria,
baseCase,
} from './4.2';
test('4.2: checkCriteria()', (t) => {
{
const msg = '4.2 example 1';
const expected = { last: '3', double: 3 };
const actual = '112233'.split('').reduce(checkCriteria, baseCase);
t.deepEqual(actual, expected, msg);
}
... |
jalangiLabel619:
while (true) {
try {
J$.Se(1297, '/home/james/nodejs/HiPar/node_modules/lodash/_initCloneByTag_jalangi_.js', '/home/james/nodejs/HiPar/node_modules/lodash/_initCloneByTag.js');
function initCloneByTag(object, tag, isDeep) {
jalangiLabel618:
... |
var path = require('path');
var sassTrue = require('sass-true');
var sass = require('node-sass');
var sassFile = path.join(__dirname, 'test.scss');
sassTrue.runSass({
file: sassFile,
functions: {
'math-round($number)': function(number) {
return new sass.types.Number( Math.round(number.getV... |
/**
* Created by pi on 7/21/16.
*/
var modelBase = require('../ModelBase');
var Section = require('./Section');
var utils = require('../../lib/utils');
var BusinessBase = require('../BusinessBase');
var Mixer = modelBase.define('Mixer',{
ident : modelBase.Sequelize.STRING,
name : modelBase.Sequelize.STRING,
... |
'use strict'
const appRoot = require( 'app-root-path' )
const { contextMiddleware, validateScopes, validateServerRole, authorizeResolver } = require( `${appRoot}/modules/shared` )
const { getStream } = require( '../services/streams' )
module.exports = {
async validatePermissionsReadStream( streamId, req ) {
con... |
import macro from 'vtk.js/Sources/macros';
import vtkPlane from 'vtk.js/Sources/Common/DataModel/Plane';
import vtkAbstractManipulator from 'vtk.js/Sources/Widgets/Manipulators/AbstractManipulator';
export function intersectDisplayWithPlane(
x,
y,
planeOrigin,
planeNormal,
renderer,
glRenderWindow
) {
c... |
/**
* Remove N items from the beginning of the input array
*
* @param {Array} array input array
* @param {number} [n=1] number of items to drop
* @returns {Array} input array sans the dropped items
*
* @example
* const result = arrays.drop([1, 2, 3], 2);
* console.log(result);
* > [3]
*/
function drop (array... |
//# sourceMappingURL=webpack-runtime-b50d2edb9b6efb43f77a.js.map |
/*
* TERMS OF USE: MIT License
*
* 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
* the rights to use, copy, modify, merge, pu... |
import React from 'react'
import './home-layout.css'
function HomeLayout(props) {
return(
<section className="HomeLayout">
{ props.children }
</section>
)
}
export default HomeLayout |
module.exports = {
displayName: 'instagram',
preset: '../../jest.preset.js',
globals: {
'ts-jest': {
tsConfig: '<rootDir>/tsconfig.spec.json',
},
},
transform: {
'^.+\\.[tj]sx?$': 'ts-jest',
},
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx'],
coverageDirectory: '../../coverage/libs/in... |
/*
Name: Theme Base
Written by: Okler Themes - (http://www.okler.net)
Theme Version: 8.3.0
*/
// Theme
window.theme = {};
// Theme Common Functions
window.theme.fn = {
getOptions: function(opts) {
if (typeof(opts) == 'object') {
return opts;
} else if (typeof(opts) == 'string') {
try {
return ... |
/**
* Created by petitspois on 15/2/25.
*/
var level = require('../server/config').level,
model = require('../model/').post,
userModel = require('../model/').user,
commentModel = require('../model/').comment,
actionModel = require('../model/').action,
notificationModel = require('../model/').notification,
mark... |
/*!
*
* @arliteam/arli v0.1.3
* https://github.com/arliteam/arli
*
* Copyright (c) Mohamed Elkebir (https://getsupercode.com)
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
*/
!function(e,t){"object"==typeof exports... |
/**
* @description build 脚本
* @author: minfive
* @createDate: 2018-06-15
* @lastModify minfive
* @lastDate: 2018-06-15
*/
const chalk = require('chalk');
const rollup = require('rollup');
const { resolve } = require('./utils.js');
const config = require('./rollup.base.config.js');
const outputList = generateOut... |
import { IdMap, MockRepository, MockManager } from "medusa-test-utils"
import idMap from "medusa-test-utils/dist/id-map"
import ProductVariantService from "../product-variant"
const eventBusService = {
emit: jest.fn(),
withTransaction: function() {
return this
},
}
describe("ProductVariantService", () => {
... |
import Vue from "vue";
import VueRouter from "vue-router";
import routes from "./routes";
Vue.use(VueRouter);
const router = new VueRouter({
routes,
base: process.env.BASE_URL,
strict: process.env.NODE_ENV !== "production",
mode: process.env.VUE_APP_ROUTER_MODE || "hash",
scrollBehavior(to, from, savedPosi... |
import pickBy from 'lodash/pickBy';
import uniq from 'lodash/uniq';
import { ContentNodeKinds } from 'kolibri.coreVue.vuex.constants';
import {
ContentNodeResource,
BookmarksResource,
ContentNodeSearchResource,
ChannelResource,
} from 'kolibri.resources';
import { assessmentMetaDataState } from 'kolibri.coreVue... |
Screenful.Loc={
ready: "Ready.",
filter: "Filter",
removeFilter: "Clear filter",
reload: "Reload",
cancel: "Cancel",
more: "More",
new: "New",
edit: "Edit",
save: "Save",
delete: "Delete",
listing: "Getting list...",
listingFailed: "Failed to get list.",
reading: "Getting item...",
readingFa... |
'use strict'
/** @type {typeof import('@adonisjs/lucid/src/Lucid/Model')} */
const Model = use('Model')
class ProjectUser extends Model {
static get table () {
return 'project_user'
}
}
module.exports = ProjectUser |
'use strict';
function cycler(items) {
var index = -1;
return {
current: null,
reset() {
index = -1;
this.current = null;
},
next() {
index++;
if (index >= items.length) {
index = 0;
}
this.current = items[index];
return this.current;
},
};... |
function mostrar()
{
} |
import Ace from "react-ace";
import mixin from "reactjs-mixin";
import { Modal } from "reactjs-components";
import PropTypes from "prop-types";
import React from "react";
import { StoreMixin } from "mesosphere-shared-reactjs";
import "brace/mode/json";
import "brace/theme/monokai";
import "brace/ext/language_tools";
... |
/**
* @enum ERemoteStoragePlatform
*/
module.exports = {
"None": 0,
"Windows": 1,
"OSX": 2,
"PS3": 4,
"Linux": 8,
"Switch": 16,
"Android": 32,
"IPhoneOS": 64,
"All": -1,
// Value-to-name mapping for convenience
"0": "None",
"1": "Windows",
"2": "OSX",
"4": "PS3",
"8": "Linux",
"16": "Switch",
"32": ... |
import React from 'react';
class ListItems extends React.Component {
constructor() {
super();
this.state = { active: true };
}
render() {
return (
<div>
<ul>
<li>Item 1</li>
<li>Item 2</li>
<li>Item 3</li>
</ul>
</div>
);
}
}
export de... |
module.exports = {
displayName: 'reporter',
preset: '../../jest.preset.js',
globals: {
'ts-jest': {
tsconfig: '<rootDir>/tsconfig.spec.json'
}
},
testEnvironment: 'node',
transform: {
'^.+\\.[tj]sx?$': 'ts-jest'
},
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx'],
coverageDirectory: ... |
import Taro, { Component } from '@tarojs/taro'
import { View, Image } from '@tarojs/components'
import { connect } from '@tarojs/redux'
import { AtButton, AtInput, AtForm } from 'taro-ui'
import './index.scss'
@connect(({ bg, info }) => ({
...bg,
...info,
}))
export default class Info extends Component {
confi... |
import React from 'react';
import createSvgIcon from './utils/createSvgIcon';
export default createSvgIcon(React.createElement("path", {
d: "M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"
... |
'use strict';
exports.__esModule = true;
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
var _react = requi... |
const fs = require('fs')
const path = require('path')
const YAML = require('yaml')
function envBrowseAndReplace(config) {
for (let prop in config) {
if (typeof config[prop] !== 'string' && typeof config[prop] !== 'number') {
config[prop] = envBrowseAndReplace(config[prop])
} else {
if (typeof con... |
'use strict';
/* eslint new-cap: off */
const expect = require('chai').expect;
const path = require('path');
const Require = require('../../../lib');
module.exports.runTest = function () {
return Require.all(path.join(__dirname, 'utils'), {
map: Require.Strategies.Filename.pascalCase
});
};
module.... |
(function() {
window.setup_xss_test = function(html, options, done) {
window.xss = function() {
window.clearTimeout(timeout);
complete(new Error('Exploit executed'));
};
var test = setup_test(html, options);
var complete = function(err) {
window.xss = function() {};
test.teardown();
done(err);... |
define({"topics" : [{"title":"Local quantities available for postprocessing","href":"UserGuide\/English\/topics\/GrandeursLocalesDisponiblesALexploitation.htm","attributes": {"data-id":"topicID1",},"menu": {"hasChildren":false,},"tocID":"topicID1-d46e8943","topics":[]},{"title":"Global quantities available for postproc... |
"use strict";
/* eslint-disable */
var baseUrl = "http://dev.mysite.com:3000";
var defaultUseLocalStorage = true;
var useLocalStorage;
var HEADER_TOKEN; // save header token if use localStorage is off
var headerName = "x-csrf-jwt";
var firstPostHeaderName = "x-csrf-first-post";
var localHeaderSaveKey = "csrf-header-... |
import { auth } from '../firebase';
// action types
export const LOG_IN = 'LOG_IN';
export const LOG_OUT = 'LOG_OUT';
export const ERROR = 'ERROR';
// action creators
export const logIn = () => dispatch => {
const user = auth.currentUser;
return user.getIdToken()
.then(token => {
dispatch({
type... |
// Copyright (c) 2022 Uber Technologies, Inc.
//
// 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 the rights
// to use, copy, modify, merge... |
/* global describe, it, beforeEach, afterEach */
import React from 'react'
import { expect } from 'chai'
import { mount, shallow } from 'enzyme'
import TimePicker from '../../src/js/components/timepicker'
import TimePickerPopup from '../../src/js/components/time/timepicker_popup'
import td from 'testdouble'
import clo... |
/*
* Crag event View
*/
define([
'jQuery',
'Underscore',
'Backbone',
'mps',
'rest',
'util',
'models/crag',
'text!../../../templates/rows/crag.html',
'views/lists/comments',
'views/minimap'
], function ($, _, Backbone, mps, rest, util, Model, template, Comments, MiniMap) {
return Backbone.View.e... |
'use strict';
const server = require('../src/server');
const supertest = require('supertest');
const request = supertest(server.server);
describe('middleware',()=>{
describe('api server',()=>{
it('should check eveery thing is work good',async()=>{
//arrange
let status=200;
... |
/**
* The Giant Swarm API
*
* OpenAPI spec version: 4.0.0
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
*
* Swagger Codegen version: 2.2.3
*
* Do not edit the class manually.
*
*/
(function(root, factory) {
if (typeof de... |
const overlay = require('@pirxpilot/overlay');
const Popover = require('@pirxpilot/confirmation-popover');
const Emitter = require('component-emitter');
function id2el(id) {
return document.querySelector(`[data-tour-id="${id}"]`) || document.querySelector(id);
}
function coerce(selectorOrNode) {
if (typeof select... |
/**
* Counter metric
*/
'use strict';
const util = require('util');
const type = 'counter';
const { hashObject, isObject, getLabels, removeLabels } = require('./util');
const { validateLabel } = require('./validation');
const { Metric } = require('./metric');
class Counter extends Metric {
/**
* Increment counte... |
var myAudio = new Audio();
myAudio.src = "music.mp3";
var playing = "yes";
chrome.browserAction.onClicked.addListener(function(event){
//open a new tab on Click, choose another song/high quality of current
if (playing === "yes"){
chrome.tabs.create({url: "chrome://newtab"})
myAudio.currentTime=0;
myAudio.pla... |
// flow-typed signature: efacfcef744fd0e1689bbfb3feacf965
// flow-typed version: <<STUB>>/babel-plugin-c-3po_v^0.5.1/flow_v0.45.0
/**
* This is an autogenerated libdef stub for:
*
* 'babel-plugin-c-3po'
*
* Fill this stub out by replacing all the `any` types.
*
* Once filled out, we encourage you to share you... |
'use strict';
var assert = require('assert');
var howManyPizza = require('./index');
assert.strictEqual(howManyPizza(null), 0);
assert.strictEqual(howManyPizza(undefined), 0);
assert.strictEqual(howManyPizza(50), 19);
assert.strictEqual(howManyPizza(1.5), 1);
assert.strictEqual(howManyPizza(5.5), 2);
assert.strictEq... |
'use babel';
import React from 'react'
import IconBase from './IconBase'
export default function Emoji_1f1f2_1f1ea(props) {
return (
<IconBase viewBox="0 0 64 64" {...props}>
</IconBase>
);
} |
import React, { useState } from 'react';
import { useNavigate } from 'react-router-dom';
import * as yup from 'yup';
import axios from 'axios';
import registerSchema from '../Validation/registerSchema';
import InputMask from 'react-input-mask';
import { API_URL } from '../constants';
const initFormValues = {
username... |
import { __ } from 'embark-i18n';
const async = require('../utils/async_extend.js');
const deepEqual = require('deep-equal');
class ServicesMonitor {
constructor(options) {
const self = this;
this.events = options.events;
this.logger = options.logger;
this.plugins = options.plugins;
this.checkLis... |
var classarm__compute_1_1io_1_1_file_handler =
[
[ "FileHandler", "classarm__compute_1_1io_1_1_file_handler.xhtml#a7a105e8757c6bbbe0e6be820ce84f1ed", null ],
[ "~FileHandler", "classarm__compute_1_1io_1_1_file_handler.xhtml#af21f1ebc53f4b79a0cda634bef0a6137", null ],
[ "FileHandler", "classarm__compute_1_1i... |
var searchData=
[
['teensy',['TEENSY',['../group___group___board_info___t_e_e_n_s_y.html',1,'']]],
['teensy2',['TEENSY2',['../group___group___board_info___t_e_e_n_s_y2.html',1,'']]],
['tul',['TUL',['../group___group___board_info___t_u_l.html',1,'']]],
['tul',['TUL',['../group___group___buttons___t_u_l.html',1,'... |
if (typeof PATH_TO_THE_REPO_PATH_UTILS_FILE === 'undefined') {
PATH_TO_THE_REPO_PATH_UTILS_FILE = "https://raw.githubusercontent.com/highfidelity/hifi_tests/master/tests/utils/branchUtils.js";
Script.include(PATH_TO_THE_REPO_PATH_UTILS_FILE);
nitpick = createNitpick(Script.resolvePath("."));
}
nitpick.perf... |
/* eslint max-nested-callbacks:[1] */
'use strict';
var fs = require('fs');
var path = require('path');
var gulp = require('gulp');
var iconfont = require('../src/index');
var assert = require('assert');
var neatequal = require('neatequal');
var streamtest = require('streamtest');
describe('gulp-iconfont', function(... |
var app = require('./simple-app/server/server');
var chai = require('chai');
var chaiSubset = require('chai-subset');
chai.use(chaiSubset);
var expect = chai.expect;
var helper = require('./helper');
var mixin = require('../model-changes');
describe('Basic Usage', function() {
afterEach(function() {
return help... |
//# sourceMappingURL=0-4d29638e52943fb641bf.js.map |
/*!
* Ext JS Library 3.0.0
* Copyright(c) 2006-2009 Ext JS, LLC
* licensing@extjs.com
* http://www.extjs.com/license
*/
Ext.onReady(function(){
var data = {
name: 'Jack Slocum',
company: 'Ext JS, LLC',
address: '4 Red Bulls Drive',
city: 'Cleveland',
state: 'Ohio',
... |
import fetch from 'dva/fetch';
import { notification } from 'antd';
// eslint-disable-next-line import/no-extraneous-dependencies
import router from 'umi/router';
import hash from 'hash.js';
import { getStorage } from './localStorageUtils';
import { isAntdPro, isNotBlank } from './utils';
const codeMessage = {
200: ... |
import {
CLEAR_DECK_IN_SESSION,
SET_DECK_IN_SESSION,
GET_PUBLIC_DECKS,
READ_DECK,
DELETE_DECK,
GET_DECK_BY_ID,
UPDATE_DECK,
CREATE_DECK,
GET_RECENT_START,
GET_RECENT_SUCCESS,
GET_RECENT_FAILURE,
TOUCH_DECK_FAILURE,
TOUCH_DECK_START,
TOUCH_DECK_SUCCESS,
} from "../types";
import {axiosWithAut... |
export default {
buttons: {
// All button text is uppercased in the gui
advanced: "ADVANCED",
addressBook: "LIVRO DE ENDEREÇOS",
all: "TUDO",
back: "ATRÁS",
browse: "PESQUISAR",
cancel: "CANCELAR",
change: "MUDAR",
check: "CHECK",
clear... |
module.exports = {
parser: "vue-eslint-parser",
parserOptions: {
ecmaVersion: 2018
},
// Allow Node style require and other node-based functions
env: {
node: true,
browser: true,
commonjs: true,
jest: true,
es6: true
},
extends: [
// add more generic rulesets here, such as:
... |
/*! iFrame Resizer (iframeSizer.contentWindow.min.js) - v4.3.1 - 2021-01-11
* Desc: Include this file in any page being loaded into an iframe
* to force the iframe to resize to the content size.
* Requires: iframeResizer.min.js on host page.
* Copyright: (c) 2021 David J. Bradshaw - dave@bradshaw.net
* ... |
import types from './movies.types'
const initialValues = {
movies: [],
isLoading: false,
userData: {}
}
const moviesReducer = (state = initialValues, { type, payload }) => {
switch (type) {
case types.FETCH_USERS_START:
case types.GET_USERDATA_START:
return {
...state,
isLoading:... |
"use strict";(self.webpackChunkhyunsublog=self.webpackChunkhyunsublog||[]).push([[476],{9698:function(e,t,r){r.r(t);var n=r(7294),a=r(1597),o=r(262);t.default=function(e){e.serverData;return n.createElement(n.Fragment,null,n.createElement(o.Z,{title:""}),n.createElement("h1",null,"SSR page"),n.createElement("p",null,"W... |
import { COLLECTIONS } from '../common/constants';
export default class NftTransactionService {
constructor(_db) {
this.db = _db;
}
/**
* This function add record in nft_transaction tables.
* @param {Object} data
* data = {
* tokenUri,
* tokenId,
* shieldcontractAddress,
* transacti... |
{
return this.firstChild !== null;
} |
import React, { memo, useState } from 'react'
import PropTypes from 'prop-types'
import Block from 'core/blocks/block/Block'
import ChartContainer from 'core/charts/ChartContainer'
import ParticipationByCountryChart from 'core/charts/demographics/ParticipationByCountryChart'
const ParticipationByCountryBlock = ({
... |
/*! *****************************************************************************
Copyright (c) Microsoft Corporation. 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.... |
var express = require("express");
var app = express();
app.get("/:id", function(req, res) {
res.send("The id you specified is " + req.params.id);
});
app.listen(3000); |
/* global AFRAME */
if (typeof AFRAME === 'undefined') {
throw new Error('Component attempted to register before AFRAME was available.');
}
/**
* Aframe Multi Video Component component for A-Frame.
*/
AFRAME.registerComponent('aframe-multi-video-component', {
dependencies: ['geometry'],
schema: {
src: {ty... |
const Condition = require('../Condition');
module.exports = class BotCondition extends Condition {
constructor(client) {
super(client, {
id: 'bot',
name: 'bot',
priority: 10,
type: 'message',
});
}
/**
*
* @param {string} type
* @param {import('../../commands/DiscordCommand')} command
* @pa... |
//# sourceMappingURL=main.664e4b24.chunk.js.map |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.