text stringlengths 2 1.04M |
|---|
import './App.css';
import React, { Component } from 'react';
import { ContractFacade } from './facades/ContractFacade';
import { ShipSelection } from './scenes/ShipSelection';
import { CommanderSelection } from './scenes/CommanderSelection';
import { Combat } from './scenes/Combat';
import { OpponentSelection } from '... |
/**
* Created by SamMFFL on 2016/4/10.
*/
console.log(module.paths) |
import React, { useEffect, useState } from "react";
import "./style.css"
import { Container, Card, CardTitle, CardImg, CardText } from 'reactstrap';
import 'bootstrap/dist/css/bootstrap.min.css';
import BlackjackButtons from "../BlackjackButtons";
import BlackjackScoreCard from "../BlackjackScoreCard";
import API from ... |
import latexToAst from '../lib/converters/latex-to-ast';
import { ParseError } from '../lib/converters/error';
var converter = new latexToAst();
var trees = {
'\\frac{1}{2} x': ['*',['/',1,2],'x'],
'1+x+3': ['+',1,'x',3],
'1-x-3': ['+',1,['-','x'],['-',3]],
"1 + - x": ['+',1,['-','x']],
"1 - - x": ['+',1,['... |
import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from 'material-ui/SvgIcon';
const SvgIconCustom = global.__MUI_SvgIcon__ || SvgIcon;
var _ref = React.createElement('path', { d: 'M14 10H2v2h12v-2zm0-4H2v2h12V6zm4 8v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zM2 16h8v-2H2v2z' });
let PlaylistAdd = props... |
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.VrfKeyLinkTransactionBodyBuilder = void 0;
const GeneratorUtils_1 = require("./GeneratorUtils");
const KeyDto_1 = require("./KeyDto");
class VrfKeyLinkTransactionBodyBuilder {
constructor(linkedPublicKey, linkAction) {
Gene... |
const yo = require("yo-yo")
const csjs = require("csjs-inject")
const remixLib = require("remix-lib")
var globalRegistry = require("../../global/registry")
const styleguide = require("../ui/styles-guide/theme-chooser")
const PluginManager = require("../plugin/pluginManager")
const TabbedMenu = require("../tabs/tabbed... |
/*
* =========================================================================
* Copyright 2018 T-Mobile, US
*
* 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/lice... |
function displayFeed() {
$("#FEED").show();
$("#WELLNESS").hide();
$("#feed_button").css("opacity", 1);
$("#wellness_button").css("opacity", 0.3);
}
function displayWellness() {
$("#WELLNESS").show();
$("#wellness_button").css("opacity", 1);
$("#feed_button").css("opacity", 0.3);
$(... |
import React, { Component } from 'react';
import ReactGA from 'react-ga';
import LandingPage from './components/landingPage'
import LoadingFire from './components/loadingFire'
import M from 'materialize-css'
import ErrorBoundary from "./components/ErrorPages/ErrorBoundary";
class App extends Component {
state = {
... |
/**
*
* ©2016-2017 EdgeVerve Systems Limited (a fully owned Infosys subsidiary),
* Bangalore, India. All Rights Reserved.
*
*/
var loopback = require('loopback');
var logger = require('oe-logger');
var log = logger('pening-journal');
module.exports = function (PendingJournal) {
var updatePending = function (ct... |
// Dependency: CountUp.js: https://github.com/inorganik/CountUp.js
(function ($) {
$.fn.countup = function (params) {
// make sure dependency is present
if (typeof CountUp !== 'function') {
console.error('countUp.js is a required dependency of countUp-jquery.js.');
return;
}
... |
//@noflow
const fs = require('fs-extra')
const path = require('path')
const importName = 'effector'
const normalizeOptions = options => ({
filename: options.filename === undefined ? true : Boolean(options.filename),
stores: options.stores === undefined ? true : Boolean(options.stores),
events: options.events =... |
/*
* vidim v1.0.1
* 2018-08-24T13:55:53.385Z
* https://github.com/OriginalEXE/vidim
*
* Made by Ante Sepic
*/ |
import { state } from 'cerebral';
/**
* @returns {Promise} async action
*/
export const setupConfirmWithPropsAction = async ({ get }) => {
const caseId = get(state.modal.caseId);
const documentIdToEdit = get(state.modal.documentIdToEdit);
const docketNumber = get(state.modal.docketNumber);
const parentMessag... |
var fieldTests = require('./commonFieldTestUtils.js');
module.exports = {
before: fieldTests.before,
after: fieldTests.after,
'Number field should show correctly in the initial modal': function (browser) {
browser.app.openFieldList('Number');
browser.listPage.createFirstItem();
browser.app.waitForInitialFormS... |
Input::
//// [/a/lib/lib.d.ts]
/// <reference no-default-lib="true"/>
interface Boolean {}
interface Function {}
interface CallableFunction {}
interface NewableFunction {}
interface IArguments {}
interface Number { toExponential: any; }
interface Object {}
interface RegExp {}
interface String { charAt: any; }
interface... |
var Player = require('./player');
var Listener = require('./listener');
var LevelOneLayout = require('./level-one-layout');
var Detector = require('./detector');
var UserInfoDraw = require('./user-info-draw');
function LevelOne (canvas, score) {
this.blocks = [];
this.projectiles = {blue: null, orange: null};
th... |
game.PlayScreen = me.ScreenObject.extend({
onResetEvent: function() {
// reset the score
game.data.score = 0;
me.levelDirector.loadLevel("level01");
this.resetPlayer(0, 420);
// adds these vars so they can be pulled from other files
var gameTimerManager = me.pool.pull("GameTimerManager", 0, 0, {});... |
/**
* Copyright 2018-2020 Cargill Incorporated
*
* 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 la... |
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=dt_data_set_writer_message.js.map |
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
var defaults = {
width: 2,
height: 100,
format: "auto",
displayValue: true,
fontOptions: "",
font: "monospace",
text: undefined,
textAlign: "center",
textPosition: "bottom",
textMargin: 2,
fontSize: 20,
background: "#ffffff",
li... |
define([
'jqueryui',
'jsplumb',
'lodash',
'Util',
'attribute_widget/AbstractAttribute',
'attribute_widget/Value',
'text!templates/attribute_widget/single_value_attribute.html'
],/** @lends SingleValueAttribute */function($,jsPlumb,_,Util,AbstractAttribute,Value,singleValueAttributeHtml) {
... |
import * as swcHelpers from "@swc/helpers";
var Base = /*#__PURE__*/ function() {
"use strict";
function Base() {
swcHelpers.classCallCheck(this, Base);
}
var _proto1 = Base.prototype;
_proto1.method = function method() {
var A = /*#__PURE__*/ function() {
function A() {
... |
const nock = require('nock')
// Requiring our app implementation
const seleniumAssistant = require('..')
const { Probot } = require('probot')
// Requiring our fixtures
const issueToBeClosed = require('./fixtures/issues.question_to_be_closed')
const issueToBeTriaged = require('./fixtures/issues.needs_to_be_triaged')
con... |
const names = {
"dropdown": "T"
};
export default names; |
// Dados da aplicaçao
const proffys = [
{
name: "Diego Fernandes",
avatar: "https://avatars2.githubusercontent.com/u/2254731?s=460&u=0ba16a79456c2f250e7579cb388fa18c5c2d7d65&v=4",
whatsapp: "989444479",
bio: "Entusiasta das melhores tecnologias de química avançada.<br/><br/>A... |
/**
* HTTP functions for executing tests
*
* Copyright (c) 2018. FIWARE Foundation e.V.
*
*
*/
const request = require('request');
function post(resource, data, headers) {
headers = headers || {
'Content-Type': 'application/json'
};
return new Promise(function(resolve, reject) {
const opt... |
"use strict";
var binarySearch = require("binary-search");
var slice = Array.prototype.slice;
/**
* Turns an array or every object with an array-like interface into a sorted array that maintains the sort order.
* This is basically achieved by replacing the original mutator methods with versions that respect the or... |
export default {
name: "list",
}; |
(window.webpackJsonp=window.webpackJsonp||[]).push([[5],{332:function(t,e,n){},387:function(t,e,n){"use strict";var i=n(332);n.n(i).a},397:function(t,e,n){"use strict";n.r(e);var i={name:"MyCard"},s=(n(387),n(27)),c=Object(s.a)(i,(function(){var t=this.$createElement;this._self._c;return this._m(0)}),[function(){var t=... |
import * as THREE from 'threejs/three.js'
/**
* 游戏主函数
*/
export default class Main {
constructor() {
this.width = window.innerWidth;
this.height = window.innerHeight;
this.devicePixelRatio = window.devicePixelRatio;
this.viewCenter = new THREE.Vector3(0, 0, 0);//原点
this.initRender();
this.... |
// Copyright 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import './SDKModel.js';
import './CSSMetadata.js';
import '../generated/SupportedCSSProperties.js';
import './ProfileTreeModel.js';
import './NetworkReque... |
// -*- mode: js; indent-tabs-mode: nil; js-basic-offset: 4 -*-
//
// This file is part of Genie
//
// Copyright 2020 The Board of Trustees of the Leland Stanford Junior University
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
//... |
var shopist = shopist || {};
var clickTrackForDesignerUploader = '';
var attrUpdateId = '';
var productBar, reportProductTitleDataTable;
var adminLocalizationString;
var currentFrontendAddTextOnImageId;
var $headerTextSize, $sidebarTitleTextSize, $sidebarContentTextSize, $productBoxContentTextSize;
shopist.pageLoad =... |
/*=========================================================================================
File Name: left-align-funnel.js
Description: echarts left align funnel chart
----------------------------------------------------------------------------------------
Item Name: Robust - Responsive Admin Theme
... |
import React, { useState } from 'react'
import { Link } from 'gatsby'
import styled from 'styled-components'
import { TEAL } from '../ui/colors'
import logo from '../images/spp_logo.png'
const Menu = () => {
const [isOpen, toggleIsOpen] = useState(false)
return (
<>
<MenuWrapper isOpen={isOpen}>
... |
'use strict';
import React from 'react';
import { expect } from 'chai';
import sinon from 'sinon';
import { shallow, mount, render } from 'enzyme';
//import each component in its own import statement as needed
import Header from '../app/components/header.js';
//use shallow if stateLESS component
//shallow test = only... |
// DEPENDENCIES
var express = require("express");
var path = require("path");
var fs = require("fs");
// EXPRESS CONFIGURATION
var app = express();
var PORT = process.env.PORT || 9999;
app.use(express.urlencoded({ extended: true }));
app.use(express.static(path.join(__dirname, 'public')));
app.use(express.json());
/... |
/*! Select2 4.1.0-beta.1 | https://github.com/select2/select2/blob/master/LICENSE.md */ |
var math = require('mathjs');
/*
* Conversion Functions
*/
// Convert Degree to Radian
var d2r = function(d) {
return (d * math.pi )/180;
}
module.exports.d2r = d2r;
// Convert Radian to Degree
var r2d = function(r) {
return (180 * r) / math.pi;
}
module.exports.r2d = r2d;
// Roundoff to 0 Cos, cos(pi/2)... |
import { EOL } from 'os';
export default function (source) {
if (typeof source !== "string") {
return source;
}
return replaceRequires(replaceModuleExports(source));
}
function replaceModuleExports(source) {
return source.replace('module.exports = doc', 'export default doc');
}
function replaceRequires(... |
'use strict';
/* global PDFJS */
var r = require('../common/react');
var utils = require('../common/utils');
var tokens = {};
var _ = {
propTypes: function () {
return {
url: r.propTypes.string
};
},
getInitialState: function () {
return {
pdf: null,
componentId: utils.g... |
function getCookie(name) {
if (document.cookie && document.cookie !== '') {
const cookies = document.cookie.split(';');
for (let i = 0; i < cookies.length; i++) {
const cookie = cookies[i].trim();
// Does this cookie string begin with the name we want?
if (cookie.startsWith(name... |
const mongoose = require("mongoose");
const Schema = mongoose.Schema;
const message = require("../../../resources/messages.resource.json");
const RecipeModelSchema = new Schema({
title: {
type: String,
required: [true, message.validate.schemeModel.required.format(["Title"])],
maxlength: [
50,
... |
const clean = require('./clean-case')
module.exports = function(str) {
return clean(str).replace(/\s(\w)/g, function(m, letter) {
return letter.toUpperCase()
})
} |
class Cat {
speak = () => {
return "";
}
}
const Luna = new Cat();
Luna.speak(); |
/**
* Mocha test case for core configuration library
*/
var should = require('should'),
fs = require('fs'),
rootpath = process.cwd() + '/',
path = require('path'),
exec = require('child_process').exec,
Lib = require('./helpers/require')('core/Lib');
describe('Libraries', function () {
before(function ()... |
function _assertThisInitialized(self) {
if (self === void 0) {
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
}
return self;
}
function _classCallCheck(instance, Constructor) {
if (!(instance instanceof Constructor)) {
throw new TypeError("Cannot c... |
var Net = require('net');
var util = require('util');
var Tls = require('tls');
var Timers = require('timers');
var EventEmitter = require('events').EventEmitter;
var Queue = require('denque');
var SqlString = require('sqlstring');
var LRU = require('lru-cache');
var PacketParser = require('./packet_parser.js');
var P... |
import React from 'react';
import { MockPayloadGenerator } from 'relay-test-utils';
import { QueryRenderer, graphql } from 'react-relay';
import { render, fireEvent } from '@testing-library/react';
import MyJobs from '../MyJobs';
/* global environment, router */
describe('my Jobs Page', () => {
const TestRendere... |
/** @license
* Copyright 2016 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
describe('UI Customization', () => {
const UiUtils = shaka.test.UiUtils;
/** @type {!Element} */
let cssLink;
/** @type {!HTMLElement} */
let container;
/** @type {!HTMLMediaElement} */
let video;
beforeAll(async () =... |
(function (root, ax_super) {
/**
* @class ax5.ui.div_slider
* @classdesc
* @version v0.0.1
* @author tom@axisj.com
* @logs
* 2015-09-15 tom : 시작
* @example
* ```
* var my_div_slider = new ax5.ui.div_slider();
* ```
*/
var U = ax5.util, axd = ax5.dom;
var e_touch_start, e_touch_move, e_touch_e... |
// module for processing requests/response to(from) static content {located on the server} with correct meta-data.
// means that this module takes request, response from app.js and returns response with static content
const customers = [
{ id: 1, firstName: 'Yaroslav', lastName: 'Grushko' },
{ id: 2, firstName... |
!function(r,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):r.dayjs_plugin_relativeTime=t()}(this,function(){"use strict";return function(r,t,e){r=r||{};var n=t.prototype,o={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minu... |
import React from "react"
import Layout from "../components/Layout"
import { graphql } from "gatsby"
import Services from "../components/Services"
// import Blogs from "../components/Blogs"
// ...GatsbyImageSharpFluid
//...GatsbyContentfulFluid
const services = ({data:{
allContentfulService: {nodes: services},
},
... |
React.createElement("div", null, function() {
return React.createElement("div", {
text: "wat"
});
}), React.createElement("div", null, function(x) {
return React.createElement("div", {
text: "wat"
});
}), React.createElement("div", null, function() {
return React.createElement("div",... |
const commands = [
'AddObjectCommand',
'RemoveObjectCommand',
'SetPositionCommand',
'SetRotationCommand',
'SetScaleCommand',
'SetSceneCommand',
'SetUuidCommand',
'SetValueCommand',
];
export {}; |
/**
* 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.
*
* @format
*/
'use strict';
const React = require('react');
const ReactNative = require('react-native');
const {StyleSheet, View}... |
const Employee = require('./Employee');
class Intern extends Employee {
constructor(name, email, id, school) {
super(name, email, id);
this.school = school;
}
getSchool() {
const school = this.school;
return school;
}
getRole() {
const intern = 'Intern';
... |
var map = { "type": "FeatureCollection", "features": [
] };
export default map; |
/**
* Main JS file for project.
*/
// Define globals that are added through the js.globals in
// the config.json file, here like this:
/* global $ */
// Utility functions, such as Pym integration, number formatting,
// and device checking
//import utilsFn from './utils.js';
//utilsFn({ });
// Utilize templates on... |
import React from "react";
// nodejs library that concatenates classes
import classNames from "classnames";
// nodejs library to set properties for components
import PropTypes from "prop-types";
// @material-ui/core components
import { makeStyles } from "@material-ui/core/styles";
import MenuItem from "@material-ui/co... |
(function() {
'use strict';
/**
* Get all the URL Parameters from the querystring
* Base code is at http://stackoverflow.com/a/2880929
* @return {Object} Object with key/value pairs for the querystring
*/
var urlParams = function() {
var urlParams = {};
var match;
var pl = /\+/g; // Rege... |
import React from 'react'
import GitHubSVG from '../svg/github.svg'
import LinkedInSVG from '../svg/linkedin.svg'
import SlackSVG from '../svg/slack.svg'
import TwitterSVG from '../svg/twitter.svg'
const socialLinks = [
{
Component: GitHubSVG,
href: 'https://github.com/maralihart',
title: 'GitHub',
},... |
/*!
* ${copyright}
*/
sap.ui.define([
'sap/ui/core/Control',
"sap/f/cards/ActionEnablement",
'sap/m/NumericContent',
'sap/m/Text',
'sap/ui/model/json/JSONModel',
"sap/f/cards/NumericSideIndicator",
"sap/f/cards/NumericHeaderRenderer"
], function (
Control,
ActionEnablement,
NumericContent,
Text,
JSON... |
var imageCommon = require("./image-common");
var enums = require("ui/enums");
var style = require("ui/styling/style");
var trace = require("trace");
var utils = require("utils/utils");
global.moduleMerge(imageCommon, exports);
function onStretchPropertyChanged(data) {
var image = data.object;
switch (data.newVa... |
import produce from "../util/produce";
export const initialState = {
followLoading: false, // 팔로우 시도중
followDone: false,
followError: null,
unfollowLoading: false, // 언팔로우 시도중
unfollowDone: false,
unfollowError: null,
logInLoading: false, // 로그인 시도중
logInDone: false,
logInError: null,
logOutLoading... |
import React, { useEffect } from 'react';
import { useSelector, useDispatch } from 'react-redux';
import { fetchMissionsApi } from '../../redux/missions/missions';
import Mission from './Mission';
import '../../styling/Missions.css';
const Missions = () => {
const missionsData = useSelector((state) => state.missions... |
// prevent default
$.fn.preventDefault = function(e) {
e = e || window.event;
if (e.preventDefault) {
e.preventDefault();
};
e.returnValue = false;
};
// prevent default for scroll keys
$.fn.preventDefaultForScrollKeys = function (e) {
if (keys[e.keyCode]) {
preventDefault(e);
... |
'use strict';
var admin = require("firebase-admin"),
serviceAccount = require("../static/private/serviceAccountKey.json"),
keys = require("../static/private/keys.json"),
webpush = require('web-push');
var uid = keys.uid;
admin.initializeApp({
credential: admin.credential.cert(serviceAccount),
dat... |
//// [optionsSourcemapInlineSourcesMapRoot.ts]
var a = 10;
//// [optionsSourcemapInlineSourcesMapRoot.js]
var a = 10;
//# sourceMappingURL=local/optionsSourcemapInlineSourcesMapRoot.js.map |
import { $ } from 'lib'; //todo wtf
import core from 'coreApi';
import { dataProvider } from './utils/testData';
import ajaxStub from './utils/ajaxStub';
import localizationMap from 'localizationMap';
import 'jasmine-jquery';
core.form.editors.impl.common.initializeDatePicker($);
const rootView = Marionette.View.exte... |
import React from 'react';
import equal from 'deep-equal';
import PropTypes from 'prop-types';
import { Modal } from './../../../shared/components/Modal/Modal';
import { Button, Input } from '@kyma-project/react-components';
import LuigiClient from '@kyma-project/luigi-client';
import MultiChoiceList from '../../Share... |
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('rxjs'), require('rxjs/operators')) :
typeof define === 'function' && define.amd ? define('ng-lazyload-image', ['exports', '@angular/core', 'rxjs', 'rxjs/operators'], f... |
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = processTailwindFeatures;
var _normalizeTailwindDirectives = _interopRequireDefault(require("./lib/normalizeTailwindDirectives"));
var _expandTailwindAtRules = _interopRequireDefault(require("./lib/expandTailwindAtRules"))... |
import React from "react";
import { Link, graphql } from "gatsby";
import Layout from "../components/layout";
import Footer from "../components/footer";
import PostTag from "../components/posttag";
import Img from "gatsby-image";
import SEO from "../components/seo";
import "../styles/archive.scss";
const ArchiveTempla... |
/*
Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
|
import React from 'react';
import classNames from 'classnames';
import { Mutation } from 'react-apollo';
import { SIGNIN_USER } from './../../queries';
import { withRouter } from 'react-router-dom';
import * as Cookies from 'es-cookie';
import { Helmet } from 'react-helmet';
import {NavLink} from 'react-router-dom';
c... |
// @flow
import A from './A'
import AppError from './AppError'
import Box from './Box'
import Head from 'next/head'
import LoadingBar from './LoadingBar'
import MainNav from './MainNav'
import * as React from 'react'
import SwitchLocale from './SwitchLocale'
import Text from './Text'
import { FormattedMessage } from 'r... |
'use strict';
const path = require('path');
const express = require('express');
const port = process.env.PORT || 3002;
const app = express();
const connection = null;
app.use(express.static(path.join(__dirname, 'public')));
module.exports = {
app,
connection
};
require('./config/express.js')(app);
require(... |
/*
前后台公用js*/
$(function(){
//用户注销
$('#userLoginOut').click(function () {
loginOut();
});
// 返回顶部
$('#gotop').click(function(){
$('body,html').animate({scrollTop:0},800);
return false;
});
// 监听滚动条位置
$(window).scroll(function(event) {
if(getScroll... |
/* eslint-env jest */
import { join } from 'path'
import cheerio from 'cheerio'
import { renderViaHTTP, findPort, launchApp, killApp } from 'next-test-utils'
const appDir = join(__dirname, '..')
let appPort
let app
async function get$(path, query) {
const html = await renderViaHTTP(appPort, path, query)
return c... |
import filter from 'lodash/filter';
import qs from 'query-string';
function checkValue(value) {
if (!value) {
return null;
}
const arr = Array.isArray(value) ? value : [value];
return arr.join(',');
}
export default {
get name() {
return 'ExpoMailComposer';
},
async composeAs... |
'use strict';
const gulp = require('gulp');
const jetpack = require('fs-jetpack');
const bundle = require('./bundle');
const istanbul = require('rollup-plugin-istanbul');
// Spec files are scattered through the whole project. Here we're searching
// for them and generate one entry file which will run all the tests.
l... |
/*
* HomePage Messages
*
* This contains all the text for the HomePage component.
*/
import {defineMessages} from 'react-intl';
export default defineMessages({
titleLabel: {
id: 'containers.NewDictForm.titleLabel',
defaultMessage: 'Title',
},
titleHint: {
id: 'containers.NewDictForm.titleHint',
... |
function vbnet(hljs) {
return {
aliases: ['vb'],
case_insensitive: true,
keywords: {
keyword:
'addhandler addressof alias and andalso aggregate ansi as assembly auto binary by byref byval ' + /* a-b */
'call case catch class compare const continue custom declare default delegate dim ... |
// Converts an object in a series of URL queries (cfgqueries.js)
HashOverConstructor.cfgQueries = function (value, name, queries)
{
// Current URL query matrix
name = name || [];
// All settings URL queries to return
queries = queries || [];
// Check if value is an object
if (typeof (value) !== 'object') {
//... |
/*
* Copyright Amazon.com, Inc. or its affiliates. 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 re... |
const { User, Book} = require('../models');
const { signToken } = require('../utils/auth');
const { AuthenticationError } = require ('apollo-server-express');
const resolvers = {
Query: {
me: async (parent, args, context) => {
if(context.user) {
const userData = await User.findOne({ _id... |
import TabMixin from './tab-mixin'
export default {
name: 'QTab',
mixins: [TabMixin],
props: {
default: Boolean
},
methods: {
select () {
this.$emit('click', this.name)
if (!this.disable) {
this.selectTab(this.name)
}
}
},
mounted () {
if (this.default && !this.d... |
import { actionTypes as actionTypesNotif } from "./../../../../redux/notificationAlert";
import { ActionTypes as actionTypesEmpty } from "./../../../../redux/type";
export const handleNotificationAlertTryUpdate = (responseData , dispatch) => {
if (responseData.status === 200 && responseData.data.response.is_succe... |
"use strict";
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
return new (P || (P = Promise))(function (resolve, reject) {
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
function rejected(value) { try { step(gene... |
'use strict';
var blueprintHelpers = require('ember-cli-blueprint-test-helpers/helpers');
var setupTestHooks = blueprintHelpers.setupTestHooks;
var emberNew = blueprintHelpers.emberNew;
var emberGenerateDestroy = blueprintHelpers.emberGenerateDestroy;
var modifyPackages = blueprintHelpers.modifyPackages;
var setupPodC... |
import * as React from 'react';
import {View} from 'react-native';
const EmptyScreen = () => {
return (
<View></View>
);
}
export default EmptyScreen; |
/*! For license information please see chunk.4dd3ab1d3e8875f49bff.js.LICENSE */
<div class="mdc-checkbox"
@animationend="${this._animationEndHandler}"
.ripple="${Object(s.a)()}">
<input type="checkbox"
class="mdc-checkbox__native-control"
@change="${this._... |
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var ObservableHandler = /** @class */ (function () {
function ObservableHandler() {
this.observers = {};
}
ObservableHandler.prototype.subscribe = function (eventType, callback) {
var _this = this;
var index... |
import React from 'react';
import {View, TouchableOpacity, Text} from 'react-native';
import PropTypes from 'prop-types';
import styles from './style';
const SlidingButton = props => {
const {text, style} = props;
return (
<View>
<TouchableOpacity {...props} style={styles.button}>
<Text style=... |
'use strict';
var _regenerator = require('babel-runtime/regenerator');
var _regenerator2 = _interopRequireDefault(_regenerator);
var _stringify = require('babel-runtime/core-js/json/stringify');
var _stringify2 = _interopRequireDefault(_stringify);
var _asyncToGenerator2 = require('babel-runtime/helpers/asyncToGen... |
/* ******************************************************************
* custom validators for express-validator. read more here:
* https://github.com/ctavan/express-validator#middleware-options
****************************************************************** */
module.exports = {
isString(value) {
ret... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.