text stringlengths 2 1.04M |
|---|
import styled from 'styled-components';
export const ContainerGrid12 = styled.div`
max-width: calc(var(--max-page-width) + calc(100% / 12) + calc(100% / 12));
padding-right: calc(100% / 12);
padding-left: calc(100% / 12);
margin: 0 auto;
`;
export const ContentGrid6 = styled.div`
max-width: 100%;
... |
import ScrollAnimator from './scroll-animator'
import Util from '../../tools/util'
export default class Transform extends ScrollAnimator {
constructor (options) {
super(options)
if (!options.direction) {
options.direction = {}
}
this.options.direction = { // multiplicat... |
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const tslib_1 = require("tslib");
const JID = tslib_1.__importStar(require("../JID"));
const Namespaces_1 = require("../Namespaces");
const ACK_TYPES = new Set(['chat', 'headline', 'normal']);
const ALLOWED_CHAT_STATE_TYPES = new Set(['chat', ... |
"use strict";
angular.module('palaso.ui.dc.fieldrepeat', ['palaso.ui.dc.multitext', 'palaso.ui.dc.optionlist', 'palaso.ui.dc.multioptionlist', 'palaso.ui.dc.example', 'palaso.ui.dc.picture', 'palaso.ui.comments', 'bellows.services', 'lexicon.services'])
// Palaso UI Dictionary Control: Sense
.directive('dcFieldrepeat'... |
"use strict";
console.log("< Concat >")
const fs = require("fs");
const http = require("http");
const express = require("express");
const {MongoClient} = require("mongodb");
const youKnow = require("./secret/youknow.js");
(async () => {
require("replthis")(v => eval(v));
const db = (await MongoClient.connect(youKnow.... |
$(document).ready(function() {
$(".toast").toast({ autohide: true, delay: 5000 });
$(".toast").toast("show");
}); |
/**
* Created by marija on 22.02.18.
*/
var p1 = Promise.resolve(18);
var p2 = Promise.reject(17);
var callbackArguments = [];
var argument1 = {"843":"","893":1.5929381570285098e+308,"(":"","p=":"e&"};
var argument2 = function() {
callbackArguments.push(arguments)
return false; }
;
var argument3 = null;
v... |
/** Express API router for teams in get5.
* @module routes/teams
* @requires express
* @requires db
*/
/**
* @swagger
* resourcePath: /teams
* description: Express API router for teams in get5.
*/
let express = require("express");
const router = express.Router();
const db = require("../db");
const Utils = r... |
/*! jsTree - v3.3.5 - 2018-01-02 - (MIT) */ |
import { Meteor } from 'meteor/meteor';
import _ from 'underscore';
import { Base } from './_Base';
import Users from './Users';
/**
* Livechat Department model
*/
export class LivechatDepartmentAgents extends Base {
constructor() {
super('livechat_department_agents');
this.tryEnsureIndex({ departmentId: 1 });... |
/* IMPORTANT
* This snapshot file is auto-generated, but designed for humans.
* It should be checked into source control and tracked carefully.
* Re-generate by setting TAP_SNAPSHOT=1 and running tests.
* Make sure to inspect the output below. Do not ignore changes!
*/
'use strict'
exports[`test/test.js TAP short... |
/**
* 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... |
///////////////////////////////////////////////////////////////////////////
// Copyright 2018 Esri. 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... |
// Router location changed action from react-router-dom.
export const ROUTER_LOCATION_CHANGED = '@@router/LOCATION_CHANGE';
export const TOGGLE_NAV_MENU = 'OPEN_NAV_MENU';
export function toggleNavMenu() {
return {
type: TOGGLE_NAV_MENU,
};
} |
define([
"jquery",
"underscore",
"crel",
"utils",
"logger",
"classes/Extension",
"settings",
"text!html/settingsExtensionsAccordion.html",
"extensions/yamlFrontMatterParser",
"extensions/markdownSectionParser",
"extensions/partialRendering",
"extensions/buttonMarkdownSynt... |
import LinkedList from './linked-list';
describe('LinkedList', () => {
test('add/extract elements to the end of the list with push/pop', () => {
const list = new LinkedList();
list.push(10);
list.push(20);
expect(list.pop()).toBe(20);
expect(list.pop()).toBe(10);
});
xtest('extract elements f... |
macDetailCallback("5813d3000000/24",[{"d":"2021-02-24","t":"add","s":"ieee-oui.csv","a":"No.15-1 Zhonghua Road Hukou Hsinchu TW 30352","c":"TW","o":"Gemtek Technology Co., Ltd."}]); |
alert('Hello WPU!'); |
/* global PUBLIC_PATH */
import { withRouter } from 'react-router-dom'
import { connect } from 'react-redux'
import { getConfigValue } from 'utils/other'
import toggleSearchDropdown from 'actions/toggle-search-dropdown'
import MenuComponent from './menu.component'
export const mapStateToProps = ({ router, searchDropd... |
(function() {var implementors = {};
if (window.register_implementors) {
window.register_implementors(implementors);
} else {
window.pending_implementors = implementors;
}
})() |
'use strict';
var express = require('express'),
router = express.Router(),
restUtils = require('./rest-utils');
var trackingCodes = require('../lib/trackingCodes');
/**
* @api {put} /trackingcodes/my Returns all the tracking codes.
* @apiName GetTrackingCodes
* @apiGroup TrackingCodes
*
* @apiSuccess(20... |
import React from "react";
import { Link } from "react-router-dom";
import CssBaseline from "@material-ui/core/CssBaseline";
import Typography from "@material-ui/core/Typography";
import { makeStyles } from "@material-ui/core/styles";
import Container from "@material-ui/core/Container";
function Copyright() {
const ... |
import {request} from './request'
export function getDetail(iid){
return request({
url:'/detail',
params:{
iid
}
})
}
// 导入的request+方法中的url+params中的范型
// 然后return回方法中
export function getRecommend(){
return request({
url:'/recommend'
})
}
// 构造一个类class
export class Goods{
// 构造函数,通过... |
// A generic function for performming AJAX requests
// It takes one argument, which is an object that contains a set of options
// All of which are outline in the comments, below
// From John Resig's book Pro JavaScript Techniques
// published by Apress, 2006-8
JsUnitTest.ajax = function( options ) {
// Load the o... |
let url ='https://bird.ioliu.cn/joke/'
//为你优选 随机趣图: https://bird.ioliu.cn/joke/rand
let getPre = `${url}rand`;
//
// 趣图地址: https://bird.ioliu.cn/joke/
// 笑话地址: https://bird.ioliu.cn/joke/?type=text
// 随机趣图: https://bird.ioliu.cn/joke/rand
// 随机笑话: https://bird.ioliu.cn/joke/rand?type=text
export {getPre} |
/*!
* jQuery JavaScript Library v2.0.1 -sizzle,-wrap,-event-alias,-ajax,-ajax/script,-ajax/jsonp,-ajax/xhr,-effects,-offset,-dimensions
* http://jquery.com/
*
* Includes Sizzle.js
* http://sizzlejs.com/
*
* Copyright 2005, 2013 jQuery Foundation, Inc. and other contributors
* Released under the MIT license
* h... |
var interfaceorg_1_1onosproject_1_1vtn_1_1table_1_1DnatService =
[
[ "programRules", "interfaceorg_1_1onosproject_1_1vtn_1_1table_1_1DnatService.html#a744a9525acc24f4c6bd227709a77513f", null ]
]; |
import React from 'react';
import {
Link
} from 'react-router-dom';
import ListItem from 'material-ui/List/ListItem';
import ListItemIcon from 'material-ui/List/ListItemIcon';
import ListItemText from 'material-ui/List/ListItemText';
import InboxIcon from 'material-ui-icons/MoveToInbox';
import StarIcon from 'mate... |
(function() {
var globe = planetaryjs.planet();
// Load our custom `autorotate` plugin; see below.
globe.loadPlugin(autorotate(10));
// The `earth` plugin draws the oceans and the land; it's actually
// a combination of several separate built-in plugins.
//
// Note that we're loading a special TopoJSON fi... |
/** Copyright (c) 2018 Uber Technologies, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @flow
*/
/* eslint-env node */
const cp = require('child_process');
module.exports = function spawn(
commandString /*: string */
) /... |
Ext.define('EqimPrj.store.eqimmain.EarthQuickColumnCharts', {
extend: 'Ext.data.Store',
autoLoad: false,
fields: [
{name:'M',
type: 'float'},
{name:'M1',
type: 'float'},
{name:'stime', dateFormat: 'Y-m-d H:i:s',type: 'date'}
],
data: [
]
,... |
import Foo from "foo";
import C, { Abc as Cba } from 'foo'; |
import React from 'react';
import {
StyleSheet,
Dimensions,
ScrollView,
Image,
KeyboardAvoidingView,
ImageBackground,
Platform,
Picker,
AsyncStorage,
TouchableOpacity,
View,
} from 'react-native';
import { Block, Text, theme } from 'galio-framework';
import { Button, Select, Input, Header, Switch ... |
window.bookSummaryJSON = "<p><b>SPECIAL OFFER: Get the full text of this classic novel as an eBook when you purchase the audio. You'll receive an e-mail with a link to download the eBook after your purchase is confirmed. Having the novel in convenient Adobe Acrobat (PDF) format will allow you to read along with the aud... |
import {
canCompileGLGSExtension,
hasFeature,
hasFeatures,
getFeatures,
FEATURES
} from '@luma.gl/webgl';
import test from 'tape-promise/tape';
import {makeSpy} from '@probe.gl/test-utils';
import {fixture} from 'test/setup';
// true: always supported in WebGL2, false: never supported in WebGL1
const WEBGL_... |
// ----------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// ----------------------------------------------------------------------------
var target = require('./environment').getTarget();
if (target === 'Cordova') {
module.exports... |
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
import _extends from "@babel/runtime/helpers/esm/extends";
import * as React from 'react';
import PropTypes from 'prop-types';
import clsx from 'clsx';
impo... |
(function(c){function e(a){var b;b=_PyDict_GetItem(HEAP[x],a);a=b==0?1:3;a:do if(a==1){if(_PyErr_Occurred()!=0)break a;_PyErr_Format(HEAP[B],z,allocate(1,"i32",ALLOC_STACK))}else a==3&&(HEAP[b]+=1);while(0);return b}function a(a){var b=STACKTOP;STACKTOP+=1;_memset(b,0,1);var c;HEAP[b]=a;a=HEAP[b]==0?1:2;a==1?(HEAP[__Py... |
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = email;
var _crypto = require("crypto");
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (... |
import React from 'react';
const Login = () => (
<div className="container row">
<form className="white col s6 offset-s4 black-text">
<div className="row">
<div className="input-field col s8">
<i className="material-icons prefix">person</i>
<label htmlFor="username">Username: </... |
/**
* @file player.js
*/
// Subclasses Component
import Component from './component.js';
import {version} from '../../package.json';
import document from 'global/document';
import window from 'global/window';
import tsml from 'tsml';
import evented from './mixins/evented';
import {isEvented, addEventedCallback} from... |
$(document).ready( function () {
$('#myTable').DataTable();
} ); |
/// <reference path="./typings/tsd.d.ts"/>
var __extends = (this && this.__extends) || function (d, b) {
for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
var $ = require('jq... |
var callbackArguments = [];
var argument1 = function callback(){callbackArguments.push(arguments)};
var argument2 = null;
var argument3 = null;
var argument4 = function callback(){callbackArguments.push(arguments)};
var argument5 = ["n,]"];
var argument6 = function callback(){callbackArguments.push(arguments)};
var arg... |
module.exports =
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId])
/******/ ret... |
import React from "react";
import TextField from "@material-ui/core/TextField";
import FormControlLabel from "@material-ui/core/FormControlLabel";
import Checkbox from "@material-ui/core/Checkbox";
import CheckBoxOutlineBlankIcon from "@material-ui/icons/CheckBoxOutlineBlank";
import CheckBoxIcon from "@material-ui/ico... |
/**
* We'll load the axios HTTP library which allows us to easily issue requests
* to our Laravel back-end. This library automatically handles sending the
* CSRF token as a header based on the value of the "XSRF" token cookie.
*/
window.axios = require('axios');
window.axios.defaults.headers.common['X-Requested-W... |
/* global describe it expect afterEach beforeEach spyOn */
var $ = window.jQuery
describe('GOVUK.analyticsPlugins.mailtoLinkTracker', function () {
'use strict'
var GOVUK = window.GOVUK
var $links
beforeEach(function () {
$links = $(
'<div class="mailto-links">' +
'<a href="mailto:name1@em... |
/**
* Main JS file for Casper behaviours
*/
/* globals jQuery, document */
(function ($, undefined) {
"use strict";
$(document).ready(function(){
$(".post-content").fitVids();
// Creates Captions from Alt tags
$(".post-content img").each(function() {
// Let'... |
/* eslint-disable no-underscore-dangle */
const { expect } = require('chai');
const KeyGrip = require('keygrip'); // eslint-disable-line import/no-extraneous-dependencies
const sinon = require('sinon').createSandbox();
const nanoid = require('../../lib/helpers/nanoid');
const bootstrap = require('../test_helper');
con... |
var searchData=
[
['g_5fabti_5finit_5flock',['g_ABTI_init_lock',['../dc/d57/global_8c.html#a70197db29e96068d7c37c345652f9803',1,'global.c']]],
['g_5fabti_5finitialized',['g_ABTI_initialized',['../dc/d57/global_8c.html#aa8f87a77cc849e3173fc911bc4c44142',1,'global.c']]],
['g_5fabti_5fnum_5finits',['g_ABTI_num_inits... |
'use strict';
// wiki api
var
_ = require('lodash'),
api = require('../api'),
db = require('../db'),
helper = require('../helper'),
images = require('./_images'),
search = require('../search/search'),
constants = require('../constants'),
json_schema = require('../json_schema');
var
... |
//=============================================================================
// CounterExtend.js
// ----------------------------------------------------------------------------
// (C)2016 Triacontane
// This software is released under the MIT License.
// http://opensource.org/licenses/mit-license.php
// ------------... |
(global["webpackJsonp"] = global["webpackJsonp"] || []).push([["tn_components/bggrad"],{
/***/ 158:
/*!************************************************************************************************************************!*\
!*** /Users/pkkwilliam/Documents/HBuilderProjects/Bitcode-Second-Hand-Trade/main.js?{"page... |
/*
* Created by theandor
* Description: A basic game I created in 6 hours!
*/
var gravity = 0.25;
var level = 1;
var platformSpeedIncrease = 0.25;
var platformSpeed = 0.25;
const canvas = document.createElement('canvas');
canvas.id = 'game';
document.body.appendChild(canvas);
var mc = new Hammer(canvas);
va... |
/* global describe beforeEach it */
const {expect} = require('chai')
const request = require('supertest')
const app = require('../index')
describe('Salary routes', () => {
describe('/api/salary/', () => {
it('GET /api/salary/', async () => {
const res = await request(app)
.get('/api/salary/')
... |
// Copyright (c) Microsoft Open Technologies, Inc. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
define([
'exports',
'../../Core/_Global',
'../../Core/_Base',
'../../Core/_BaseUtils',
'../../Core/_ErrorFromName',
... |
const Manager = require("./lib/Manager");
const Engineer = require("./lib/Engineer");
const Intern = require("./lib/Intern");
const inquirer = require("inquirer");
const path = require("path");
const fs = require("fs");
const OUTPUT_DIR = path.resolve(__dirname, "output");
const outputPath = path.join(OUTPUT_DIR, "tea... |
import Storage from './Storage';
(global => {
// localStorage
if (typeof global.localStorage === 'undefined') {
global.localStorage = new Storage('@jitsi-meet/');
}
// sessionStorage
//
// Required by:
// - herment
// - Strophe
if (typeof global.sessionStorage === 'undefin... |
export function rando(arr) {
return arr[Math.floor(Math.random() * arr.length)];
}
export function getSvg(slug) {
switch (slug) {
case 'instagram':
return '<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 37 32"> <path fill="#2B2B2B" d="M18.504 7.77c-5.25 0-9.484 3.652-9.484 8.178 0 4.52... |
jQuery(document).ready(function($){
var cookies = document.cookie.split(";");
var euCookieSet = eucookielaw_data.euCookieSet;
var expireTimer = eucookielaw_data.expireTimer;
var scrollConsent = eucookielaw_data.scrollConsent;
var networkShareURL = eucookielaw_data.networkShareURL;
var isCookiePage = eucookielaw... |
process.env.NODE_ENV = 'testing';
process.env.TESTING_NODROPDB = 1;
process.env.FORCE_COLOR=1;
require('.'); |
import React from "react";
import Layout from "../components/templates/Layout/Layout";
import TopBannerCourse from "../components/organisms/TopBannerCourse/TopBannerCourse";
import Background from "../contents/icons/recruitment.svg";
import Section from "../components/organisms/Section/Section";
import Head from "../co... |
export function up(knex) {
return knex.schema
.createTable('user_profiles', (table) => {
table.increments('id');
table.string('email').notNullable();
table.string('fullname');
table.timestamps(true, true);
table.date('deleted_at');
});
}
export function down(knex) {
return kne... |
module.exports = class LoadUserByEmailRepository {
constructor (userModel) {
this.userModel = userModel
}
async execute (email) {
const user = await this.userModel.findOne({
email
}, {
projection: {
password: 1
}
})
return user
}
} |
import React from 'react';
const InputBox = React.forwardRef((props, ref) => (
<div id="input-box">
<textarea ref={ref} id="editor" onChange={props.onChange} value={props.value} onKeyDown={props.onKeyDown} />
</div>
));
export default InputBox; |
const { BrowserWindow,app } = require("electron");
const isDev = require("electron-is-dev");
const path = require("path");
let win;
let willQuitApp = false;
function create() {
win = new BrowserWindow({
width: 600,
height: 300,
webPreferences: {
nodeIntegration: true,
contextIsolation: false... |
/*
Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang("a11yhelp","el",{title:"Οδηγίες Προσβασιμότητας",contents:"Περιεχόμενα Βοήθειας. Πατήστε ESC για κλείσιμο.",legend:[{name:"Γενικά",items:[{name:"... |
/*
* Copyright 2018 Misty Robotics, Inc.
* 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 o... |
/**
* Copyright 2013 IBM Corp.
*
* 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 or agreed to in wr... |
define(function () {
"use strict";
const glConstants = {
/* ClearBufferMask */
DEPTH_BUFFER_BIT : 0x00000100,
STENCIL_BUFFER_BIT : 0x00000400,
COLOR_BUFFER_BIT : 0x00004000,
/* BeginMode */
POINTS : 0x0000,
LINES ... |
/*
* Copyright (C) 2014 United States Government as represented by the Administrator of the
* National Aeronautics and Space Administration. All Rights Reserved.
*/
/**
* @exports BMNGLayer
* @version $Id: BMNGLayer.js 3403 2015-08-15 02:00:01Z tgaskins $
*/
define([
'../geom/Location',
'../geom/S... |
import { createStore, combineReducers } from 'redux'
import { reducer } from '../../src'
export default function configureStore(initialState){
const store = createStore(reducer, initialState)
if (module.hot) {
// Enable Webpack hot module replacement for reducers
module.hot.accept('../reducers', () => {
... |
//= require views/layout/page_item_list_view
chorus.views.DatasetList = chorus.views.PageItemList.extend({
eventName: "dataset",
constructorName: "DatasetListView",
useLoadingSection: true,
setup: function() {
this.options.entityType = "dataset";
this.options.entityViewType = chorus.vi... |
const ChatPlugin = {
element: "",
questions: {},
question: "",
options: [],
result: [],
temp: {},
replay: [],
score: 0,
init(element, data) {
this.score = 0
element.empty()
$(".chat_replay").empty()
this.element = element
this.questions = data.questions
this.replay = data.repla... |
import { seemsIdempotent } from "./seemsIdempotent";
import { withPrecision } from "tulleries";
export const CheckOrderTestSuiteA = () => {
describe("Basic functionality", () => {
test("Detects probable idempotence", () => {
const func = (a) => 0;
const generator = () => [
... |
/* eslint-disable no-unused-expressions */
const chai = require('chai');
const { expect } = chai;
const mocha = require('mocha');
const chaiHttp = require('chai-http');
const chaiLike = require('chai-like');
const chaiThings = require('chai-things');
const app = require('../app');
chai.use(chaiHttp);
chai.use(chaiL... |
var path = require('path');
module.exports = function(app){
app.get('/survey', function(req,res){
res.sendFile(path.join(__dirname + '/../public/survey.html'));
});
app.use(function(req, res){
res.sendFile(path.join(__dirname + '/../public/home.html'));
});
} |
const path = require('path')
const version = require('./package.json').version
const nodeExternals = require('webpack-node-externals')
const MiniCssExtractPlugin = require('mini-css-extract-plugin')
'/**\n' +
' * @mathssyfy/plugin-markdown' + version + '\n' +
' * https://github.com/DavidCouronne/mathssyfy/is... |
import React, { Fragment } from 'react';
import { StaticQuery, graphql } from 'gatsby';
import { Heading, Flex, Box, Text } from 'rebass';
import TextLoop from 'react-text-loop';
import { SectionLink } from 'react-scroll-section';
import Section from '../components/Section';
import SocialLink from '../components/Social... |
import request from '@/utils/request'
/**
* 查询逻辑
* @param {*} data
*/
export function getListApi(query) {
return request({
url: '/api/v1/menus/list',
method: 'post',
data: query
})
}
/**
* 查询逻辑:级联
* @param {*} data
*/
export function getCascaderListApi(query) {
return request({
url: '/api/... |
UM.registerUI('bold blockquote italic redo undo underline strikethrough superscript subscript insertorderedlist insertunorderedlist ' +
'cleardoc selectall link unlink print preview justifyleft justifycenter justifyright justifyfull removeformat horizontal drafts',
function(name) {
var me = this;
... |
/*!
* node-sass: lib/errors.js
*/
var sass = require('./extensions'),
pkg = require('../package.json');
function humanEnvironment() {
return sass.getHumanEnvironment(sass.getBinaryName());
}
function foundBinaries() {
return [
'Found bindings for the following environments:',
foundBinariesList(),
]... |
import React from 'react';
import createSvgIcon from './utils/createSvgIcon';
export default createSvgIcon(React.createElement(React.Fragment, null, React.createElement("path", {
d: "M19 19V5L5 19h14zm-4.5-4.5v-2H16v2h2V16h-2v2h-1.5v-2h-2v-1.5h2z",
opacity: ".3"
}), React.createElement("path", {
d: "M19 3H5c-1.1 ... |
//# sourceMappingURL=chunk-53eac067.e87816cb.js.map |
load("201224b0d1c296b45befd2285e95dd42.js");
// frame.environment can be called from the onEnterFrame hook.
var g = newGlobal();
g.eval("function f(x) { return 2 * x; }");
var dbg = Debugger(g);
var hits = 0;
dbg.onEnterFrame = function (frame) {
assertEq(frame.environment.names().join(","), "arguments,x");
hi... |
const mongoose = require('mongoose');
const PointSchema = new mongoose.Schema({
type:{
type:String,
enum:['Point'],
required: true,
},
coordinates : {
type:[Number],
required: true,
}
});
module.exports = PointSchema; |
import { NotImplementedError } from '../extensions/index.js';
/**
* Given an email address, return it's domain.
*
* @param {String} email
* @return {String}
*
* @example
* For the input 'prettyandsimple@example.com', the output should be 'example.com'
*
*/
export default function getEmailDomain(/* email */) {... |
import {action, observable} from "mobx";
const data = observable({
isLogin: false,
});
const actions = {
login: action(() => {
data.isLogin=true ;
})
};
export default {data ,actions} ;
const handleSubmit = (e) => {
e.preventDefault();
props.form.validateFields((err, values) => {
... |
'use strict'
let gMeme
let gDiff
function initMeme() {
gMeme = {
id: getRandomId(),
imgSrc:'',
selectedIdx: 0,
elements:[]
};
}
function getElementsToRender() {
return gMeme.elements
}
function createLine(fill) {
return {
font: DEFAULT_FONT,
line: 'Hello... |
/**
* React Starter Kit (https://www.reactstarterkit.com/)
*
* Copyright © 2014-present Kriasoft, LLC. All rights reserved.
*
* This source code is licensed under the MIT license found in the
* LICENSE.txt file in the root directory of this source tree.
*/
import React from 'react';
import PropTypes from 'prop-... |
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _extends2 = require('babel-runtime/helpers/extends');
var _extends3 = _interopRequireDefault(_extends2);
var _classCallCheck2 = require('babel-runtime/helpers/classCallCheck');
var _classCallCheck3 = _interopRequireDefault(_classCal... |
import guardrail from './9-try';
import divideFunction from './8-try';
console.log(guardrail(() => { return divideFunction(10, 2) }));
console.log(guardrail(() => { return divideFunction(10, 0) })); |
initSidebarItems({"static":[["wl_output_interface",""],["wl_surface_interface",""],["wp_presentation_events",""],["wp_presentation_feedback_events",""],["wp_presentation_feedback_interface",""],["wp_presentation_interface",""],["wp_presentation_requests",""]]}); |
module.exports = async d => {
const data = d.util.openFunc(d);
const [days = 7, guildId = d.guild?.id, roleIds, dry = 'no', reason, count = 'no'] = data.inside.splits;
const guild = await d.util.getGuild(d, guildId);
if (!guild) return d.aoiError.fnError(d, 'guild', {inside: data.inside});
if (r... |
//>>built
define("dojox/grid/enhanced/plugins/filter/FilterDefDialog",["dojo/_base/declare","dojo/_base/array","dojo/_base/connect","dojo/_base/lang","dojo/_base/event","dojo/_base/html","dojo/_base/sniff","dojo/cache","dojo/keys","dojo/string","dojo/window","dojo/date/locale","./FilterBuilder","../Dialog","dijit/form/... |
const router = require("express").Router();
const accountController = require("../controllers/account");
const { jwtAuth } = require("../middlewares/authorization/auth");
const { photoUpload } = require("../helpers/libraries/storage");
// not starts with '/recovery'
router.use(/^(?!\/recovery).+/, jwtAuth);
router.ge... |
/* ========================================================================== */
// GuardDuty
/* ========================================================================== */
sections.push({
'category': 'Security, Identity, & Compliance',
'service': 'GuardDuty',
'resourcetypes': {
'Master': {
... |
/*
* onScreen 0.0.0
* Checks if matched elements are inside the viewport.
* Built on Mon Mar 09 2015 12:00:07
*
* Copyright 2015 Silvestre Herrera <silvestre.herrera@gmail.com> and contributors, Licensed under the MIT license:
* http://www.opensource.org/licenses/mit-license.php
*
* You can find a list of contributors ... |
(function() {
'use strict';
angular
.module('authApp')
.controller('OrganizationNewController', OrganizationNewController);
function OrganizationNewController($state, OrganizationService, MessageService) {
var vm = this;
vm.edit = false;
vm.title = 'NEW_ORGANIZA... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.