text stringlengths 2 1.04M |
|---|
module.exports = [{"isApi":true,"priority":1000.0002,"key":"TextField","style":{borderStyle:Ti.UI.INPUT_BORDERSTYLE_ROUNDED,top:"10%",height:"35",width:"100",platform:"ios",keyboardToolbarColor:"#999",keyboardToolbarHeight:"40",}},{"isApi":true,"priority":1000.0009,"key":"Label","style":{width:Ti.UI.SIZE,height:Ti.UI.S... |
import React from "react";
import { Grid, Typography } from "@material-ui/core";
import { makeStyles } from "@material-ui/core/styles";
import project_list from "../../utils/project-list";
import ProjectCard from "../ProjectCard/ProjectCard";
import { Element } from "react-scroll";
const useStyles = makeStyles({
"sp... |
var flag = 1;
var arr =[];
function submitaction() {
var input2 = document.getElementById('submitbtn').value;
arr = input2.split(" ");
console.log(arr);
if(arr.length>1){
for(var i=1;i<arr.length;i=i+2){
if((arr[i]=='and' || arr[i]=='or' || arr[i]=='~' || arr[i]=='&' || arr[i] =='||' || arr[i]=='OR' |... |
const eat = function(food) {
return food + ' tasted really good.'
}
console.log(eat('bananas')) |
import React, { Component } from "react"
import Layout from "../components/layout"
import styled from "styled-components"
import PageTitle from "../components/pageTitle"
import YearData from "../data/data1967"
import Hr from "../components/Hr"
import StickyYear from "../components/stickyYear"
const StyledImg = styled.... |
"use strict";
//startup bootstrap
//----------------------------------------------------------------------------------------------------
app.run(function() {
//some setups if needed......
});
//controllers
//---------------------------------------------------------------------------------------------------... |
'use strict';
module.exports = function(gulp) {
var bowerFiles = require('main-bower-files');
var scriptsFilter = gulp.plugin.filter(gulp.cfg.bower.scripts.filter, {restore: true});
var imagesFilter = gulp.plugin.filter(gulp.cfg.bower.images.filter, {restore: true});
var stylesFilter = gulp.plugin.filter(gu... |
/**
/**
* # Player code for Meritocracy Game
* Copyright(c) 2017 Stefano Balietti
* MIT Licensed
*
* http://www.nodegame.org
* ---
*/
module.exports = function(treatmentName, settings, stager, setup, gameRoom) {
// Variable here are available to all stages.
stager.setDefaultGlobals({
// Tot... |
$(document).ready(function () {
var trigger = $('.hamburger'),
overlay = $('.overlay'),
isClosed = false;
trigger.click(function () {
hamburger_cross();
});
function hamburger_cross() {
if (isClosed == true) {
overlay.hide();
trigger.removeClass... |
// This file is part of report-todo
// Copyright (C) 2019-present Dario Giovannetti <dev@dariogiovannetti.net>
// Licensed under MIT
// https://github.com/kynikos/report-todo/blob/master/LICENSE
module.exports.generateMatches = async function *generateMatches(todoMatchesChannel) {
let allFilesStartedParsing = false... |
"use strict";
const gulp = require('gulp');
const uglify = require('gulp-uglify-es').default;
const babel = require('gulp-babel');
const files = ['README.md', 'src/package.json', 'LICENSE'];
gulp.task('build', ['uglify', 'copyFiles'], function() {
});
gulp.task('uglify', function () {
console.log('Uglifying and... |
/*
AngularJS v1.3.20
(c) 2010-2014 Google, Inc. http://angularjs.org
License: MIT
*/
(function(p,g,n){'use strict';g.module("ngCookies",["ng"]).factory("$cookies",["$rootScope","$browser",function(e,b){var c={},f={},h,k=!1,l=g.copy,m=g.isUndefined;b.addPollFn(function(){var a=b.cookies();h!=a&&(h=a,l(a,f),l(a,c),k&&... |
/*******************************************************************************
Copyright (c) 2016-2017, Highsoft
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
w... |
import { __decorate } from "tslib";
import { Injectable } from '@angular/core';
import * as ɵngcc0 from '@angular/core';
var CarouselConfig = /** @class */ (function () {
function CarouselConfig() {
/** Default interval of auto changing of slides */
this.interval = 5000;
/** Is loop of auto ... |
// If you're adding a number of markers, you may want to drop them on the map
// consecutively rather than all at once. This example shows how to use
// window.setTimeout() to space your markers' animation.
var neighborhoods = [
{lat: 52.511, lng: 13.447},
{lat: 52.549, lng: 13.422},
... |
// gatsby-config.js
module.exports = {
siteMetadata: {
title: `Lam's Crazy Web`,
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-plug... |
export const c_nav_m_tertiary__link_m_current_Color = {
"name": "--pf-c-nav--m-tertiary__link--m-current--Color",
"value": "#06c",
"var": "var(--pf-c-nav--m-tertiary__link--m-current--Color)"
};
export default c_nav_m_tertiary__link_m_current_Color; |
/**
* Module dependencies.
*/
var proxyAgent = require('proxy-agent');
var debug = require('debug')('superagent-proxy');
/**
* Module exports.
*/
module.exports = setup;
/**
* Adds a `.proxy(uri)` function to the "superagent" module's Request class.
*
* ``` js
* var request = require('superagent');
* requi... |
Search.setIndex({docnames:["index"],envversion:52,filenames:["index.rst"],objects:{},objnames:{},objtypes:{},terms:{Vis:0,addit:0,aim:0,alter:0,autom:0,beard:0,branch:0,chemic:0,coeffici:0,contain:0,current:0,data:0,develop:0,doc:0,edward:0,extinct:0,extract:0,from:0,github:0,improv:0,index:0,inform:0,interdepend:0,int... |
'use strict';
import Unit from 'tactics/Unit.js';
export default class LightningWard extends Unit {
attack(action) {
let anim = new Tactics.Animation();
let sounds = Object.assign({}, Tactics.sounds, this.sounds);
let attackAnim = this.animAttack();
attackAnim.splice(5, () => sounds.attack.play()... |
(function (global, factory) {
if (typeof define === "function" && define.amd) {
define(['exports'], factory);
} else if (typeof exports !== "undefined") {
factory(exports);
} else {
var mod = {
exports: {}
};
factory(mod.exports);
global.addDate = mod.exports;
}
})(this, function (... |
"use strict";
const fs = require("fs");
const path = require("path");
const paths = require("./paths");
const chalk = require("react-dev-utils/chalk");
const resolve = require("resolve");
/**
* Get additional module paths based on the baseUrl of a compilerOptions object.
*
* @param {Object} options
*/
function ge... |
// @flow
import React, { Component } from 'react';
import styles from './photon.scss';
import coreStyles from './Core.scss';
import panelStyles from './Panels.scss';
import State from '../containers/StateConfig';
import Props from '../containers/PropsConfig';
import Styles from '../containers/StylesConfig';
import Even... |
import { reverse } from './reverseInt';
describe('reversing an integer', () => {
it('should reverse integer', () => {
const input = 123;
const output = 321;
expect(reverse(input)).toBe(output);
})
it('should reverse integers eneding with 0', () => {
const input = 120;
... |
window._ = require('lodash');
import axios from 'axios';
import Form from './utils/Form';
window.axios = axios;
window.axios.defaults.headers.common['X-Requested-With'] = 'XMLHttpRequest';
window.Form = Form; |
module.exports = {
siteMetadata: {
title: `emdaer`,
},
plugins: [
`gatsby-plugin-react-helmet`,
{
resolve: `gatsby-plugin-typography`,
options: {
pathToConfigModule: `src/utils/typography.js`,
},
},
{
resolve: `gatsby-source-filesystem`,
options: {
... |
$(document).ready(function(){
var stored_lesson_data = '';
var result_pool = [];
var content_pool = [];
var active_content = "";
var active_content_data = {};
var content_order = [];
var lesson_data = {};
var active_portal = "youtube";
var url = $("#url").val();
var blackboard_i... |
// todo... |
var searchData=
[
['playerspawnmethod_7339',['PlayerSpawnMethod',['../d4/dec/namespaceUnityEngine_1_1Networking.html#a2dedb1864582c2042e3fb2bdbc61aab4',1,'UnityEngine::Networking']]],
['posedataflags_7340',['PoseDataFlags',['../d0/d84/namespaceUnityEngine_1_1SpatialTracking.html#aceacb658a96f50ebb26e8ed1a82ea75b',1... |
let panelFunc = ($document, $rootScope, $location) => {
return (scope, elem, attr) => {
$document.on('keydown', (ev) => {
let key = ev.keyCode || ev.which;
switch (key) {
// esc
case 27:
const anterior = $rootScope.currentCategory === 'all' ? '/' : $rootScope.currentCa... |
import React, { Component, Fragment } from "react";
import { connect } from 'react-redux';
import Electrical from "../../assets/images/home_electrical.jpg";
import Garden from "../../assets/images/home_gardencenter.jpg";
import Plumbing from "../../assets/images/home_plumbing.jpg";
import Powertools from "../../assets/... |
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([[3],{"2aqK":function(n,e,t){"use strict";t.r(e);var a=t("q1tI"),r=t.n(a);e["default"]=function(n){var e=n.children;return r.a.createElement("div",null,e)}}}]); |
var Image = require("./model/image");
var FileManager = require("./utils/filemanager");
var Vector = require("./model/vector");
var Ray = require("./model/ray");
var HitRecord = require("./model/hitable").HitRecord;
var HitableList = require("./model/hitablelist");
var Sphere = require("./model/shape/sphere");
var Came... |
/*
* Kendo UI Web v2012.3.1114 (http://kendoui.com)
* Copyright 2012 Telerik AD. All rights reserved.
*
* Kendo UI Web commercial licenses may be obtained at
* https://www.kendoui.com/purchase/license-agreement/kendo-ui-web-commercial.aspx
* If you do not own a commercial license, this file shall be governed by the
* G... |
$(document).ready(function(){
//Scroll Events
$(window).scroll(function(){
var wScroll = $(this).scrollTop();
//Activate menu
if(wScroll > 20){
$('#main-nav').addClass('active');
$('$slide_out_menu').addClass('scrolled');
}
else {
$('... |
require('../app') |
define([], () => {
return {
"ApplyButtonLabel": "Aplicar",
"ImportButtonLabel": "Importação",
"ExportButtonLabel": "Exportação",
"FormatCodeButtonLabel": "Código de Formato",
"JsonFileRequiredMessage": "Por favor, carre faça upload de um ficheiro json",
"EditPropertiesButtonLabel": "Editar propriedades",
... |
const CLOUDFRONT_URL = 'https://d2k5nsl2zxldvw.cloudfront.net';
const NEW_EXPENSIFY_URL = 'https://new.expensify.com';
const CONST = {
// 50 megabytes in bytes
API_MAX_ATTACHMENT_SIZE: 52428800,
APP_DOWNLOAD_LINKS: {
ANDROID: 'https://play.google.com/store/apps/details?id=com.expensify.chat',
... |
function initialize() {
var mapProp = {
center: new google.maps.LatLng(50.464379, 30.519131),
zoom: 11
};
var html_element = document.getElementById("googleMap");
var map = new google.maps.Map(html_element, mapProp);
}
google.maps.event.addDomListener(window, 'load', initialize); |
'use strict'
const path = require('path')
const execa = require('execa')
const pWaitFor = require('p-wait-for')
const { toString: uint8ArrayToString } = require('uint8arrays/to-string')
const discoveredCopy = 'discovered:'
async function test() {
let discoverCount = 0
process.stdout.write('3.js\n')
const pro... |
// this is the teem object for the composition
define.class(function(teem, screens, browser){
this.render = function(){
return [
screens(
browser( {})
)
]
}
}) |
require('normalize.css/normalize.css');
require('styles/App.scss');
import React from 'react';
import ReactDOM from 'react-dom';
// 获取图片相关数据
var imageDatas = require('../data/imageDatas.json');
// 利用自执行函数,将图片名信息转成图片URL路径信息
imageDatas = (function genImageURL(imageDatasArr){
for (let i = 0, j = imageDatasArr.length; ... |
const response = require("cfn-response");
const AWS = require("aws-sdk");
const glue = new AWS.Glue();
/**
* @param event
* @param context
* @param {string} event.RequestType
* @param {string} event.ResourceProperties.Configuration
* @param {string} event.ResourceProperties.CrawlerName
* @param {string} event.Re... |
const express = require("express");
const request_service = require("../controllers/request_service");
const app = express();
const register = require("./../controllers/register");
app.route("/register_user").post(register.register_user);
app.route("/register_mechanic").post(register.register_mechanic);
app.route("/re... |
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([[227],{6684:function(n,e,t){"use strict";t.r(e),e["default"]='<template>\n <div style="max-width: 800px; width: 100%;">\n <q-calendar\n v-model="selectedDate"\n :weekdays="[1, 2, 3, 4, 5]"\n view="month"\n locale="en-us"\n />\n </div>... |
#!/usr/bin/env node
// 1 : GCP REST API でファイアウォールルールを作成する際のスコープ URL を組み立てる
// ================================================================================
const scopeUrls = 'https://www.googleapis.com/auth/cloud-platform https://www.googleapis.com/auth/compute';
const scope = encodeURIComponent(scopeUrls);
consol... |
const express = require('express')
const cors = require('cors')
const app = express()
const port = 10010
require('dotenv').config()
process.env.NODE_ENV = process.env.NODE_ENV ? process.env.NODE_ENV : 'production'
app.use(express.json())
app.use(cors())
const routes = require("./api/routes")
app.use(routes)
app.l... |
/* Copyright (c) 2015, 2019, Oracle and/or its affiliates. All rights reserved. */
/******************************************************************************
*
* You may not use the identified files except in compliance with the Apache
* License, Version 2.0 (the "License.")
*
* You may obtain a copy of the ... |
const { createCanvas, loadImage } = require("canvas"),
fs = require("fs"),
nunjucks = require("nunjucks"),
imageToBase64 = require("image-to-base64"),
path = require("path"),
puppeteer = require("puppeteer");
nunjucks.configure("bot/templates");
async function main(config, output) {
//convert image into b... |
ag.ns("ag.app");
(function(){
var Navigation = function(items)
{
var self = this;
this.extend(this, ag.u.tpl("ag-app-page", ".nav"));
this.addChildren(items, false);
var container = this.find(".items"),
showNav = this.showNav.bind(this),
hideNav = this.hideNav.bind(this);
Object... |
"use strict";
module.exports = function (t, a) {
var obj = { 1: 1, 2: 2, 3: 3 };
a.deep(t(obj, function (value, key, context) {
a(context, obj, "Context argument");
return (value + 1) + key;
}), { 1: "21", 2: "32", 3: "43" });
}; |
$(function(){
//target for deletion
var target;
// Modal events
$("#create-btn").on("click",function(){
$("#myModal").css("display","block");
});
$(".view-icon").on("click",function(){
let id = $(this).attr("data-id");
$.ajax("/viewService/"+id,{
type:"GET"
}).then((res... |
import {resolve} from 'path';
import {assert} from 'chai';
import sinon from 'sinon';
import any from '@travi/any';
import * as fsAsync from '../thirdparty-wrappers/fs';
import * as execa from '../thirdparty-wrappers/execa';
import scaffoldGems from './gems';
suite('Gems', () => {
let sandbox;
setup(() => {
s... |
import React from 'react';
import ActiveSectionContext from './context';
const useActiveSection = () => {
const section = React.useContext(ActiveSectionContext);
return section;
};
export default useActiveSection; |
import Toast from "./Toast.vue";
const toastPlugin = {};
toastPlugin.install = function (Vue) {
// 1. 生成组件构造器
const ToastConstructor = Vue.extend(Toast);
// 2. 创建实例
const toastInstance = new ToastConstructor();
// 3. 将实例挂载到 dom 上
toastInstance.$mount(document.createElement('div'));
// 4. 将 dom 插入文档中
d... |
module.exports = function TodosList(state={}, html) {
return html`
<ul class="js-list">
<slot></slot>
</ul>
`
} |
import React from 'react';
import { Container } from '../../styles/global';
import { ItensContainer } from './styles';
import SquareContainer from '../../components/SquareContainer';
export default function Radio() {
return (
<Container>
<h1>Navegar</h1>
<ItensContainer>
<SquareContainer
... |
/* Loading Spinner
================================================================================ */
/**
* Loading spinner for waiting events
* @param {vjs.Player|Object} player
* @param {Object=} options
* @constructor
*/
vjs.LoadingSpinner = vjs.Component.extend({
/** @constructor */
init: function(player,... |
import React from 'react';
// import PropTypes from 'prop-types';
import styled from 'styled-components';
import PageWrapper from '../PageWrapper';
import { Heading1, Heading4, Heading3 } from '../Library/Typography';
import { FullHeightLayout, SectionLayout } from '../Library/Layout';
import MailchimpSignupForm from '... |
export const cibAdobeDreamweaver = ["32 32","<path d='M0 0.401v31.197h32v-31.197zM1.333 1.735h29.333v28.531h-29.333zM4.167 7.745c0-0.109 0.021-0.157 0.156-0.177 0.505-0.021 1.959-0.063 3.464-0.063 4.464 0 6.687 2.88 6.687 7.104 0 5.875-3.853 7.651-6.823 7.651-1.12 0-2.749-0.020-3.344-0.041-0.088 0-0.129-0.068-0.129-0.1... |
/* _.-~-.
7'' Q..\
_7 (_
_7 _/ _q. /
_7 . ___ /VVvv-'_ .
7/ / /~- \_\\ '-._ .-' / //
./ ( /-~-/ ||'=.__ '::. '-~'' { ___ / // ./{
V V-~-~| || __''_ ':::... |
import React, { useState } from 'react';
import { Link as RouterLink } from 'react-router-dom';
import clsx from 'clsx';
import PropTypes from 'prop-types';
import { makeStyles } from '@material-ui/styles';
import { AppBar, Toolbar, Badge, Hidden, IconButton } from '@material-ui/core';
import MenuIcon from '@material-u... |
/*
Copyright © 2001-2004 World Wide Web Consortium,
(Massachusetts Institute of Technology, European Research Consortium
for Informatics and Mathematics, Keio University). All
Rights Reserved. This work is distributed under the W3C® Software License [1] in the
hope that it will be useful, but WITHOUT ANY WARRANTY; wi... |
import React, { Component } from "react";
import "antd/dist/antd.css";
import "../../pages/Login/styles.css";
import { Form, Icon, Input, Button, Checkbox, Row, Typography } from "antd";
import { connect } from "react-redux";
import { bindActionCreators } from "redux";
import { login } from "../../redux/actions/userAct... |
window.__NUXT__=(function(a,b,c,d,e){return {staticAssetsBase:"https:\u002F\u002Fwww.baca-quran.id\u002Fstatic\u002F1627814429",layout:"default",error:b,state:{notification:{show:a,title:c,message:c},isShowSidebar:a,isSupportWebShare:a,headerTitle:"Baca Qur'an",page:"home",lastReadVerse:b,settingActiveTheme:{name:"dark... |
/*! For license information please see 2.059c3132.chunk.js.LICENSE.txt */
//# sourceMappingURL=2.059c3132.chunk.js.map |
'use strict';
var instance;
class ValidationProvider {
constructor( engine, types ) {
this.engine = engine;
this.types = types;
}
validate( values, schema, options ) {
var result = this.engine.validate( values, schema, options );
if( result.error ) {
thro... |
import injectSheet from "react-jss";
import {fadeStyles, headerSize, lightGrey} from "./CommonStyles";
const styles = () => ({
root: {
backgroundColor: lightGrey,
width: "100%",
height: `calc(100% - ${headerSize})`,
position: "relative"
},
content: {
position: "absolute",
top: 0,
bott... |
/**
* @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 { NgModule } from '@angular/core';
import { MatCommonModule, MatRippleModule } from '@angular/material/core';
i... |
const hiscoresRouter = require('express').Router()
const { client } = require('../client')
hiscoresRouter.get('/', async (req,res) => {
/*
* Returns the top 10 players from the leaderboards AND the requesting player's score
* The requesting player's user_id is stored in res.locals
* @return [{channe... |
/*
start game
white turn
black turn
error
end game
*/
const createBlindStore = () => {
const { subscribe } = derived([GameStore, BlindStore])
}
export const BlindStore = createBlindStore() |
var express = require('express');
var router = express.Router();
var passport = require('passport');
var Post = require('../models/post')
router.get('/',function(req,res){
var nowPage = req.query.page||1;
var db_limit =parseInt(nowPage)*4
var db_skip = (parseInt(nowPage)-1)*4
// 4,0 8,4 12,8
if(now... |
/* Mapbox GL JS is licensed under the 3-Clause BSD License. Full text of license: https://github.com/mapbox/mapbox-gl-js/blob/v1.11.1/LICENSE.txt */
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
typeof define === 'function' && defin... |
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(d... |
/**
* Selling Partner API for Merchant Fulfillment
* The Selling Partner API for Merchant Fulfillment helps you build applications that let sellers purchase shipping for non-Prime and Prime orders using Amazon’s Buy Shipping Services.
*
* OpenAPI spec version: v0
*
*
* NOTE: This class is auto generated by the ... |
import Vue from 'vue'
import App from './App.vue'
import * as OfflinePluginRuntime from 'offline-plugin/runtime';
if (process.env.NODE_ENV === 'production') {
OfflinePluginRuntime.install({
onUpdateReady () {
OfflinePluginRuntime.applyUpdate()
},
onUpdated () {
window.location.reload()
}
... |
Ext.define('Ext.ux.gauge.needle.Rectangle', {
extend: 'Ext.ux.gauge.needle.Abstract',
alias: 'gauge.needle.rectangle',
config: {
path: function(ir, or) {
return or - ir > 10
? "M-2," + ir + " L2," + ir + " L2," + or + " L-2," + or + " Z"
: '';
}
... |
let averageYield = 8.5;
let numPatches = 5;
let IDs = {
"seeds": [5291, 5292, 5293, 5294, 5295, 5296, 5297, 5298, 5299, 5300, 5301, 5302, 5303, 5304],
"clean": [249, 251, 253, 255, 257, 2998, 259, 261, 263, 3000, 265, 2481, 267, 269],
"grimy": [199, 201, 203, 205, 207, 3049, 209, 211, 213, 3051, 215, 2485, ... |
macDetailCallback("e85a8b000000/24",[{"d":"2019-08-13","t":"add","s":"ieee-oui.csv","a":"The Rainbow City of China Resources NO.68, Qinghe Middle Street Haidian District, Beijing CN 100085","c":"CN","o":"Xiaomi Communications Co Ltd"}]); |
;(function (global) {
if ('EventSource' in global) {
return setupInfocard()
} else {
$.getScript(jsbin['static'] + '/js/vendor/eventsource.js', setupInfocard);
}
function setupInfocard() {
/*global spinner, $, jsbin, prettyDate, EventSource, throttle, $document, analytics, throttle*/
'use strict... |
define({
"viewer": {
"common": {
"close": "Chiudi"
},
"loading": {
"long": "Inizializzazione della storia in corso",
"long2": "Grazie per l'attesa",
"failButton": "Ricarica la storia"
},
"signin": {
"title": "Autenticazione obbligatoria",
"explainViewer": "Per a... |
import React from 'react';
import PropTypes from 'prop-types';
import config from 'config';
import DocumentationMenu from 'components/DocumentationMenu/DocumentationMenu';
import MarkdownPage from 'components/PageTypes/MarkdownPage/MarkdownPage';
import withCachedFetch from 'hocs/withCachedFetch/withCachedFetch';
con... |
var searchData=
[
['samplecount_617',['sampleCount',['../group___model___audio___source.html#a8777527d069f898d4487f32319816f4f',1,'ARAAudioSourceProperties']]],
['sampled_20audio_20data_618',['Sampled Audio Data',['../group___sampled__audio__data.html',1,'']]],
['samplerate_619',['sampleRate',['../group___model__... |
import React from 'react';
import PropTypes from 'prop-types';
import {
View,
Text,
Animated,
requireNativeComponent,
StyleSheet,
} from 'react-native';
import { viewPropTypes } from '../utils';
export const NATIVE_MODULE_NAME = 'RCTMGLCallout';
const styles = StyleSheet.create({
container: {
alignIte... |
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/* Vector-based spherical geodetic (latitude/longitude) functions (c) Chris Veness 2011-2019 */
/* MIT Licence */
/* www.movable-ty... |
const Q = require("q");
const ContainerManager = require("../container-manager");
const MockDocker = require("./mocks/docker");
const ProjectInfo = require("../project-info");
const asyncTest = (test) => (done) =>
Promise.resolve(test()).then(done).catch(done);
describe("ContainerManager", () => {
let docker,... |
/*global jasmine, expect*/
var fileMatcher = require('../index.js');
describe("toEqualFile", function() {
beforeEach(function() {
jasmine.addMatchers(fileMatcher);
});
it('matches when the files are the same', function () {
expect('spec/testFile.txt').toEqualFile('spec/testFileSame.txt');
... |
/* eslint-disable no-param-reassign */
export class Words {
count(text) {
return text.split(/[ \n\t]/)
.map(word => word.toLowerCase())
.filter(word => word !== '')
.reduce(
(map, word) => {
map[word] = (map[word] || 0) + 1;
return map;
},
Object.creat... |
/*!
* SAPUI5
(c) Copyright 2009-2020 SAP SE. All rights reserved
*/
sap.ui.define(['sap/ui/core/library','sap/ui/comp/library','sap/ui/generic/app/library'],function(){"use strict";sap.ui.getCore().initLibrary({name:"sap.ui.generic.template",version:"1.74.0",dependencies:["sap.ui.core","sap.ui.comp","sap.ui.generic.... |
/// <reference types="./BloomPass.d.ts" />
/// <reference lib="dom" />
import {
AdditiveBlending,
LinearFilter,
RGBAFormat,
ShaderMaterial,
UniformsUtils,
Vector2,
WebGLRenderTarget,
} from "../../../src/Three.js";
import { Pass } from "../postprocessing/Pass.js";
import { CopyShader } from "../shaders/Co... |
// Roman numerals are represented by seven different symbols: I, V, X, L, C, D and M.
// Symbol Value
// I 1
// V 5
// X 10
// L 50
// C 100
// D 500
// M 1000
// For example, two is written as II in Roman numeral, just two one's... |
import React, { useState, useEffect } from 'react'
import { Link } from 'react-router-dom'
import { useDispatch, useSelector } from 'react-redux'
import { Row, Col, Image, ListGroup, Card, Button, Form } from 'react-bootstrap'
import Rating from '../components/Rating'
import Message from '../components/Message'
import ... |
require('./style/index.less');
import React, {Component} from 'react';
import {render} from 'react-dom';
import {Provider} from 'react-redux';
import {Router, Route, browserHistory } from 'react-router';
import store from './reducers/index';
import Application from 'components/Application';
import List from 'componen... |
/**
* 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.
*
* @flow strict-local
* @format
*/
'use strict';
const {polyfillGlobal} = require('../Utilities/PolyfillFunctions');
/**
* Set... |
"use strict";
(function (require) {
require(["video-js", "css!video.js/dist/video-js.min.css"]);
})(require); |
import React from 'react'
import {
CarouselProvider,
Slider,
Slide,
ButtonBack,
ButtonNext,
} from 'pure-react-carousel'
import 'pure-react-carousel/dist/react-carousel.es.css'
export default () => (
<div className="library_carousel">
<h2>Theology Matters Articles</h2>
<CarouselProvider
natur... |
/**
* Scalar
* Copyright 2013 The Alliance for Networking Visual Culture.
* http://scalar.usc.edu/scalar
* Alliance4NVC@gmail.com
*
* Licensed under the Educational Community 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 L... |
webpackJsonp([10],{
/***/ 309:
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "LoginPageModule", function() { return LoginPageModule; ... |
'use strict';
/**
* Module dependencies.
*/
var mongoose = require('mongoose'),
errorHandler = require('./errors.server.controller'),
Article = mongoose.model('Article'),
ArticleTipo = mongoose.model('ArticleTipo'),
Blog = mongoose.model('Blog'),
_ = require('lodash');
var _this = this;
/**
* Create a article
... |
'use strict'
module.exports = {
presets: ['@babel/preset-react', '@babel/preset-typescript'],
plugins: [
'babel-plugin-styled-components',
'@babel/plugin-proposal-optional-chaining',
'@babel/plugin-proposal-nullish-coalescing-operator',
'@babel/plugin-syntax-dynamic-import',
'@babel/plugin-synt... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.