text stringlengths 2 1.04M |
|---|
QUnit.module('isType checks');
(function () {
QUnit.test('should return `false` for subclassed values', function (assert) {
assert.expect(7);
var funcs = [
'isArray',
'isBoolean',
'isDate',
'isFunction',
__str_top__,
'isRegExp',... |
// Next.js API route support: https://nextjs.org/docs/api-routes/introduction
var { room: { get_rooms } } = require("../../lib/db_querys");
export default function handler(req, res) {
if(req.method === 'POST'){
var { access_token } = req.body;
get_rooms(access_token,(err,rooms)=>{
if(er... |
/**
* The examples provided by Oculus are for non-commercial testing and
* evaluation purposes only.
*
* Oculus reserves all rights not expressly granted.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* F... |
function SvgAlignHorizontalLeftSharp(props) {
return (
<svg
xmlns='http://www.w3.org/2000/svg'
height='1em'
viewBox='0 0 24 24'
width='1em'
className='svg-icon'
{...props}>
<path fill='none' d='M0 0h24v24H0z' />
<path d='M4 22H2V2h2v20zM22 7H6v3h16V7zm-6 7H6v3h10v-3z' />
</svg>
);
}
expor... |
/* VSCODE */
setEventHandler ( 'windowDidOpen', magicVSCodeOpen );
/* HELPERS */
function magicVSCodeOpen ( window ) {
if ( !window.isNormal () || !window.isMain () ) return;
if ( !/Code/.test ( window.app ().name () ) ) return;
setFrame ( 'right', window );
} |
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.getAnonymousMeta = getAnonymousMeta;
var _isDocker = _interopRequireDefault(require("next/dist/compiled/is-docker"));
var _isWsl = _interopRequireDefault(require("next/dist/compiled/is-wsl"));
var _os = _interopRequireDefault(requi... |
const path = require('path');
const MiniCssExtractPlugin = require('mini-css-extract-plugin');
const SpriteLoaderPlugin = require('svg-sprite-loader/plugin');
const CaseSensitivePathsPlugin = require('case-sensitive-paths-webpack-plugin');
const webpackConfig = {
entry: {
bundle: ['babel-polyfill', `${__di... |
Ext.define('MyApp.model.Post',{
extend:'Ext.data.Model',
fields:[
{name:'user', type:'string'},
{name:'message', type:'string'},
{name:'option', type:'string'}
]
}); |
/*****************************************************************************
* Open MCT, Copyright (c) 2014-2020, United States Government
* as represented by the Administrator of the National Aeronautics and Space
* Administration. All rights reserved.
*
* Open MCT is licensed under the Apache License, Version ... |
import {
INITIAL_GAMESTATE,
SHOP_PURCHASE,
SHOP_REFUND,
PURCHASE_PHASE,
MAIN_BUTTON_CLICK,
COMBAT_PHASE,
SLICE_CHANGE,
PLACE_PHASE,
PIECES_MOVE,
NEW_ROUND,
NEWS_PHASE,
EVENT_BATTLE,
NO_MORE_EVENTS,
UPDATE_FLAGS
} from "../actions/actionTypes";
import {
PURCHAS... |
/**
* @component ccm-student_enroll
* @author René Müller <rene.mueller@smail.inf.h-brs.de> 2019
* @license MIT License
*/
ccm.files ['abi.js'] = [
{
"constant": false,
"inputs": [
{
"name": "_studentAddress",
"type": "address"
},
... |
{test:'Hello world!'} |
const BaseRecordUtils = require('./base-record-utils');
const CsvUtils = require('./utils/csv-utils');
// const BusinessLogicManager = require('../../utils/business-logic-manager');
/**
* COORS csv AdminSanctions record handler.
*
* @class AdminSanctions
*/
class AdminSanctions extends BaseRecordUtils {
/**
*... |
/* global angular, module, beforeEach, inject, jasmine */
(function () {
"use strict";
describe(
'geowebtoolkit data service contract tests',
function () {
"use strict";
var $compile, $scope, $timeout,GeoDataService, element, listener;
// Load the myApp modul... |
import React from 'react'
import styled from 'styled-components'
import { Container, Flex, Show, Box } from 'components/containers'
import { Header, LocalizedLinkText, Text } from 'components/elements'
import { isUK } from 'common/country-base'
import { Localize, localize } from 'components/localization'
import { Timel... |
function points(input) {
for (let i = 0; i < input.length; i+=3) {
let x = input[i];
let y = input[i+1];
let z = input[i+2];
if (inVolume(x, y, z)){
console.log("inside");
}
else {
console.log("outside");
}
}
function inVolume... |
'use strict';
/*global angular*/
angular.module('myApp.view', ['ngRoute','ngMap'])
.config(['$routeProvider', function($routeProvider) {
$routeProvider.when('/view', {
templateUrl: 'view/view.html',
controller: 'ViewCtrl'
});
}])
.controller('ViewCtrl', function($scope, NgMap) {
$scope.pageTitle = "A... |
module.exports = function (cb) {
var inquirer = require('inquirer');
var allPnrs = require('./getPnrs.js')();
var arrExclude = require('arr-exclude');
var Configstore = require('configstore');
var pkg = require('./package.json');
var conf = new Configstore(pkg.name);
var choiceArr = [];
allPnrs.forEac... |
export * from './sdk'
export { default } from './module' |
this is file 141 |
/**
* Created by alexbol on 1/21/2018.
*/
'use strict';
import {expect} from 'chai';
//import Flatten from 'https://unpkg.com/@flatten-js/core';
//import {Polygon} from 'https://unpkg.com/@flatten-js/core';
//import {point, segment, arc, circle} from 'https://unpkg.com/@flatten-js/core';
import Flatten from '../..... |
/*!
* ${copyright}
*/
sap.ui.define(['sap/ui/base/ManagedObject', 'sap/ui/dt/ElementUtil', 'sap/ui/dt/OverlayRegistry', 'sap/ui/fl/registry/ChangeRegistry'],
function(ManagedObject, ElementUtil, OverlayRegistry, ChangeRegistry) {
"use strict";
var fnConfigureActionCommand = function(oElement, oCommand, vAction){
... |
/* eslint-disable */
'use strict';
module.exports = {
error: function(message, trace) {
var lines = [message];
(trace || []).forEach(function(frame) {
lines.push(
' at ' +
(frame.function || '') +
' (' +
frame.file +
':' +
frame.line +
')'
... |
'use strict';
// Run a build command on a selection of modules
const {each, extend, filter, initial, last, pairs } = require('underscore');
const path = require('path');
const util = require('util');
const cp = require('child_process');
const os = require('os');
const commander = require('commander');
/* eslint no-... |
import { bindActionCreators } from 'redux'
import { connect } from 'react-redux'
import {
pushQuestions,
initAnswers,
nullifyAnswer,
nullifySelectedAnswer,
initSelectedAnswers,
giveAnAnswer,
giveAnRelationAnswer,
setAnswersDisplay
} from '../store/answers/actions'
import Content from '... |
'use strict';
exports.calculate = function(req, res) {
req.app.use(function(err, req, res, next) {
if (res.headersSent) {
return next(err);
}
res.status(400);
res.json({ error: err.message });
});
var operations = {
// using + operator to cast variables as integers in order to prevent... |
module.exports = {
preset: "jest-preset-preact",
setupFiles: [
"<rootDir>/src/tests/__mocks__/setupTests.js",
"<rootDir>/src/tests/__mocks__/browserMocks.js"
],
testURL: "http://localhost:8080",
moduleNameMapper: {
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|web... |
define("dojox/gauges/AnalogIndicatorBase", ["dojo/_base/lang","dojo/_base/declare","dojo/_base/connect","dojo/_base/fx","dojox/gfx","./_Indicator"],
function(lang, declare, connect, fx, gfx, Indicator) {
return declare("dojox.gauges.AnalogIndicatorBase",[Indicator],{
// summary:
// An abstract base class for i... |
/**
* Capitalize a string
*
* @param {string} s - The string to capitalize
* @return {string}
*/
function capitalize(s) {
return s.charAt(0).toUpperCase() + s.slice(1)
}
export default capitalize |
var grid = [
[0, 0, '1', 0, 0, 0, 0, 0, 0, 0],
[0, 0, '1', 0, 0, 0, 0, 0, 0, 0],
[0, 0, '1', 0, 0, '3', 0, 0, 0, 0],
[0, 0, '1', 0, 0, '3', 0, 0, 0, 0],
[0, 0, '1', 0, 0, '3', 0, 0, 0, 0],
['4,2', '4', '1,4', '4', '4', '4,3', 0, 0, 0, 0],
['2', 0, '1', 0, 0, '3,5', '5', '5', '5',... |
/*
* Backpack - Skyscanner's Design System
*
* Copyright 2016-2020 Skyscanner Ltd
*
* 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
*
... |
(function(){
function $(str){
var objs = document.querySelectorAll(str);
return objs.length == 1 ? objs[0] : objs;
}
function extend(source1, source2){
var result = {};
for(var key1 in source1){
result[key1] = source1[key1];
}
for(var key2 in sou... |
import { fixture, html } from '@open-wc/testing';
import 'axe-core/axe.min.js';
import '../src/furo-catalog.js';
import '@furo/fbp/src/testhelper/test-bind.js'; // for testing with wires and hooks
// eslint-disable-next-line import/no-extraneous-dependencies
import '@furo/testhelper/initEnv.js';
describe('furo-data-ob... |
import './partner-destroy.module';
import './partner-destroy.component'; |
angular.module('orderCloud')
.controller('CheckoutPaymentCtrl', CheckoutPaymentController)
;
function CheckoutPaymentController($exceptionHandler, $rootScope, toastr, OrderCloudSDK, ocAddressSelect, ocMyAddresses) {
var vm = this;
vm.createAddress = createAddress;
vm.changeBillingAddress = changeBillingAddre... |
/**
*
* Created by azibit on 10/7/15.
*/
var React = require('react');
var InputField = require('./InputFieldComponent');
var DropDown = require('./DropDownComponent');
var TextArea = require('./TextArea');
var SwitchButton = require('./SwitchButton');
var FileUpload = require('./FileUpload');
var TestPhoto = req... |
var E, V;
E || (E = {}), V || (V = {}); |
import * as Actions from '../actions';
const initialState = null;
const mailReducer = function (state = initialState, action) {
switch ( action.type )
{
case Actions.GET_MAIL:
{
return {
...action.payload
};
}
case Actions.UPDATE_MAIL:
... |
/*
* Copyright 2012 Amadeus s.a.s.
* 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 i... |
import React from 'react'
import Head from 'next/head'
import { userinfo } from '../Constants/userinfo'
const HeadTag = ({page}) => {
return (
<Head>
<title>{`${userinfo.logoText} | ${page}`}</title>
<link rel="icon" href="/favicon.png" />
<meta name="title" content={use... |
module.exports = {
"authorityEndpoint": "https://localhost:3000",
"voteSubmitEndpoint": "/postvote",
"voteInformationEndpoint": "/voteInfo",
}; |
var Helpers = require('../helpers');
var MediaPlugin = require('./media-plugin');
function MediaEntityPlugin() {
MediaEntityPlugin.super_.apply(this, arguments);
this._currentEntityId = null;
}
Helpers.inherits(MediaEntityPlugin, MediaPlugin);
/**
* @param {string|number} [id]
* @return {boolean}
*/
MediaEnt... |
/**
* jsBezier-0.5
*
* Copyright (c) 2010 - 2011 Simon Porritt (simon.porritt@gmail.com)
*
* licensed under the MIT license.
*
* a set of Bezier curve functions that deal with Beziers, used by jsPlumb, and perhaps useful for other people. These functions work with Bezier
* curves of arbitrary degree.
*
* - functions ... |
import React from 'react';
import createSvgIcon from './utils/createSvgIcon';
export default createSvgIcon(
<React.Fragment><path d="M20 6h-8l-1.41-1.41C10.21 4.21 9.7 4 9.17 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2zm-5 3c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2zm4 8h-8v-1c0-1... |
var searchData=
[
['edge_28',['Edge',['../class_edge.html',1,'']]]
]; |
(function() {
window.require(["ace/mode/stylus"], function(m) {
if (typeof module == "object" && typeof exports == "object" && module) {
module.exports = m;
}
});
})(); |
"use strict";
/**
* Kubernetes
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v1.22.2
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator... |
import { join } from 'path';
import { readFile } from 'fs/promises';
import { dbCtx } from '../db.ctx.js';
const fromRoot = globalThis.fromRoot ?? process.cwd();
const [db, collection] = [process.env.DB_NAME, process.env.DATA_COLLECTION];
const { connect, queryCollection } = dbCtx;
const Ricknmorty = class {
data =... |
const log = []; |
/**
* Copyright (c) 2014,Egret-Labs.org
* All rights reserved.
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of c... |
'use strict';
// Load modules
const Hoek = require('hoek');
const Joi = require('joi');
const OAuth = require('./oauth');
const Providers = require('./providers');
// Declare internals
const internals = {
simulate: false,
flexBoolean: Joi.boolean().truthy('true', 'yes', 1, '1').falsy('false', 'no', 0, '0')... |
/**
* @author Toru Nagashima <https://github.com/mysticatea>
* See LICENSE file in root directory for full license.
*/
"use strict"
const { Linter, RuleTester } = require("eslint")
const { builtin } = require("globals")
const semver = require("semver")
const eslintVersion = new Linter().version
const ecmaVersion =... |
'use strict';
/**
What is this file?
Helper functions for user auth purposes.
*/
// For a given request, checks if the user is logged in already
const isLoggedIn = (req, res, next) => {
// if user is authenticated in the session, carry on
if (req.isAuthenticated()){
return next();
}
// if t... |
import viewer from './viewer/index.js';
import statusbar from './statusbar/index.js';
import header from './header/index.js'
import boarder from "./boarder/index.js";
export default {
install(Vue){
Vue.use(viewer)
Vue.use(statusbar)
Vue.use(header)
Vue.use(boarder)
}
}
export {
... |
$(document).ready(function(){
$('.ui.dropdown').dropdown();
}); |
//base64加密 解密
// 20181013 by yuanyang
/* //1.加密
var result = Base.encode('125中文'); //--> "MTI15Lit5paH"
//2.解密
var result2 = Base.decode(result); //--> '125中文'
*/
~(function(root, factory) {
if (typeof define === "function" && define.amd) {
define([], factory);
} else if (typeof module === "object... |
$.fn.txtShadow = function(options){
$(document).mousemove(function(event){
// 기본 옵션
var option = {
blur: '3px',
color: "#333"
}
// 확장 옵션
$.extend(option, options);
// 각 요소별로 적용
$('.shadow').each(function(i){
var x = event.clientX,
y = event.clien... |
const validators = require('./validators');
const resolve = (obj, property) => {
const properties = property.split('.');
return properties.reduce((prevObj, key) => {
return prevObj[key];
}, obj);
};
exports.setContext = contextObj =>
async (ctx, next) => {
Object.keys(contextObj).forEa... |
(function () {
'use strict';
angular
.module('core')
.run(menuConfig);
menuConfig.$inject = ['menuService'];
function menuConfig(menuService) {
menuService.addMenu('account', {
roles: ['user']
});
menuService.addMenuItem('account', {
title: '',
state: 'settings',
... |
import _ from 'lodash';
import VislibComponentsZeroInjectionOrderedXKeysProvider from 'ui/vislib/components/zero_injection/ordered_x_keys';
import VislibComponentsZeroInjectionZeroFilledArrayProvider from 'ui/vislib/components/zero_injection/zero_filled_array';
import VislibComponentsZeroInjectionZeroFillDataArrayProvi... |
"use strict";
/* eslint-env node */
var fluid = require("infusion");
require("../index.js");
var jqUnit = fluid.require("node-jqunit");
require("./testUtils/testUtils.js");
jqUnit.module("URL Fetch Tests");
fluid.registerNamespace("fluid.tests.dataPipeline");
// Indirect in order to check pipeline's ability to s... |
$(document).ready(function() {
$('[data-toggle=offcanvas]').click(function() {
$('.row-offcanvas').toggleClass('active');
});
}); |
/**
* @module spline_editor Spline editor custom HTML element.
*/
import { Drawer } from "/static/components/editor/drawer.js"; // Needs to be imported. Otherwise component does not load in time and SVG is not ready!
import { as_curve } from "/static/components/editor/list.js";
import { PAUSED, PLAYING, RECORDING, Tr... |
import React from "react"
import { Link, graphql } from "gatsby"
import Layout from "../components/layout"
import SEO from "../components/seo"
import { rhythm } from "../utils/typography"
import { csvParse } from 'd3-dsv';
import Chart from "../components/chart";
import Container from "../components/container... |
import React from "react";
import { Form, Input, Icon, Divider, Row, Col, Select } from "antd";
import MaskedInput from "antd-mask-input";
import Patterns from "../../../../../assets/patterns";
import { colors } from "../../../../../assets";
class FormApicultor extends React.Component {
constructor(props) {
supe... |
import React from 'react'
// 演示 antd-mobile 的使用:
// import { Button } from 'antd-mobile'
// 1 导入TabBar组件
import { TabBar } from 'antd-mobile'
import { Route } from 'react-router-dom'
// 导入该页面中的子路由组件
import Index from '../Index'
import HouseList from '../HouseList'
import News from '../News'
import Profile from '../... |
'use strict';
module.exports = require('grunto')(function (grunt) {
this.context({
CWD: __dirname,
SRC: 'app',
TMP: '.tmp',
GRUNT: 'grunt',
DEPLOY: 'package',
BUILD: 'dist'
});
this.scan([{
cwd: 'grunt/',
src: [
'**/*.js',
'!**/_*.js',
'!**/_*/**/*.js'
]
}]);
return {
watch: {
o... |
"use strict";
var __extends = (this && this.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (Object.protot... |
// Copyright Joyent, Inc. and other Node contributors.
//
// 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, modi... |
'use strict'
const Slapp = require('slapp')
const Context = require('./context')
const ConvoStore = require('./convo-store')
const YAML = require('js-yaml')
const fs = require('fs')
const _ = require('lodash')
const request = require('request')
const handleHowAreYou = 'handleHowAreYou'
const handleSweetDreams = 'h... |
// ######################################################################################################
// # #
// # Program Purpose: Filter out specific data from array of data. #
//... |
/**
* The moudle supports displaying bluetooth information on an element.
*
* @module panels/root/bluetooth_item
*/
define(function(require) {
'use strict';
var Bluetooth = require('modules/bluetooth');
/**
* @alias module:panels/root/bluetooth_item
* @class BluetoothItem
* @requires module:modules/... |
'use strict'
/**
* Decode fields values from URI to cosmic link JSON format. This format differs
* from Stellar transaction format: it is simpler, allow for federated address
* and can be stringified/parsed without loss of information.
*
* For each of those functions, any error is recorded in the `conf` object
* ... |
/* *
*
* (c) 2010-2020 Torstein Honsi
*
* License: www.highcharts.com/license
*
* !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
*
* */
'use strict';
import H from './Globals.js';
/**
* Define the time span for the button
*
* @typedef {"all"|"day"|"hour"|"millisecond"|"minute"|"m... |
// A general purpose cache implementation for improved performance in all areas
// where results can be retained and reused temporarily. Any number of distinct cache
// objects can be created, identified by distinct names. The standard implementation
// is powered by a MongoDB collection, however it is straightforward ... |
const dataOriginalTitle = 'data-original-title';
export default dataOriginalTitle; |
import React from 'react'
import { graphql } from 'gatsby'
import { Helmet } from 'react-helmet'
import Img from 'gatsby-image'
import get from 'lodash/get'
import Layout from '../components/layout'
class BlogPostTemplate extends React.Component {
render() {
const post = get(this.props, 'data.contentfulBlogPos... |
var apiKey = 'API-KEY-HERE';
var shazam = require('shazamapi-node')(apiKey);
var song = 'input.wav';
shazam.identify(song)
.then((test) => {
console.log(test);
}); |
const { Client } = require('../../');
const client = new Client('0.0.0.0', 50051);
client.loadProto(__dirname + '/proto/stream.proto').then(async () => {
let Example1 = client.getService('example.foo.Example1');
let stream = await Example1.receive({});
stream.write({
timestamp: new Date()
});
stream.on('da... |
import React from 'react';
import Table from 'components/common/table';
import { SPARK_KUBE, SPARK_LOCAL, SPARK_STATIC } from 'utils/constants';
const ToSave = ({ toSave, setToSave, context }) =>
[SPARK_STATIC, SPARK_KUBE, SPARK_LOCAL].includes(context) ? (
<>
<h2>Datasets to save</h2>
<Table
bindings={to... |
mycallback( {"CONTRIBUTOR OCCUPATION": "Upstream Ops Manager", "CONTRIBUTION AMOUNT (F3L Bundled)": "250.00", "ELECTION CODE": "", "MEMO CODE": "", "CONTRIBUTOR EMPLOYER": "ConocoPhillips Company", "DONOR CANDIDATE STATE": "", "CONTRIBUTOR STREET 1": "PERTH POUCH MAIL", "CONTRIBUTOR MIDDLE NAME": "T", "DONOR CANDIDATE ... |
// flow-typed signature: 9ea3f1d6722a35de1b3240d2988ffd68
// flow-typed version: <<STUB>>/react-hot-loader_v^4.0.0/flow_v0.77.0
/**
* This is an autogenerated libdef stub for:
*
* 'react-hot-loader'
*
* Fill this stub out by replacing all the `any` types.
*
* Once filled out, we encourage you to share your wo... |
/* This example requires Tailwind CSS v2.0+ */
const navigation = {
main: [
{ name: 'Kontakt', href: '/kontakt' },
{ name: 'Impressum', href: '/impressum' },
{ name: 'Datenschutz', href: '/datenschutz' },
],
social: [
{
name: 'Facebook',
href: 'https://www.facebook.com/BVPyrotechnik',
... |
/**
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components
* @version v23.1.1
* @link http://www.ag-grid.com/
* @license MIT
*/
"use strict";
var __extends = (this && this.__extends) || (function () {
var extendStatics = function (d, b) {
... |
//>>built
define("dojox/drawing/util/common",["dojo","dojox/math/round"],function(g,k){var h={},l=0;return{radToDeg:function(a){return 180*a/Math.PI},degToRad:function(a){return a*Math.PI/180},angle:function(a,c){if(c){c/=180;var b=this.radians(a),e=Math.PI*c,b=k(b/e)*e;return k(this.radToDeg(b))}return this.radToDeg(t... |
var searchData=
[
['palette_5fsource',['PALETTE_SOURCE',['../newhaven_8c.html#a246a93e06a37a4de5c562f9004e16d4c',1,'PALETTE_SOURCE(int s): newhaven.c'],['../newhaven_8h.html#a5a18b900bf8311cec176524992fc1092',1,'PALETTE_SOURCE(int source): newhaven.c']]],
['point_5fsize',['POINT_SIZE',['../newhaven_8c.htm... |
import { h, Fragment } from 'preact'
import ago from 's-ago'
import { numberWithCommas } from '../../util'
import { connect } from 'react-redux'
import {
fetchGe,
getFilteredGe,
getGeFilter,
setGeFilter
} from '../../modules/ge'
import { bindActionCreators } from 'redux'
import prepare from '../../components/pr... |
var documents = [{
"id": 0,
"url": "https://wanted2.github.io/404.html",
"title": "404",
"body": "404 Page does not exist!Please use the search bar at the top or visit our homepage! "
}, {
"id": 1,
"url": "https://wanted2.github.io/about",
"title": "Tuan Nguyen-Anh",
"body": "Contact... |
import React from 'react';
import { render } from '@testing-library/react';
import '@testing-library/jest-dom/extend-expect';
import { TestProvider } from 'TestProvider';
import { Table } from '../src';
import {
countryColumns,
countryOptions,
fetchData,
} from '../stories/storyHelper';
import { countries } from ... |
import Image from "next/image";
function StoryCard({ name, src, profile }) {
return (
<div className="relative h-14 w-14 md:h-20 md:w-20 lg:h-56 lg:w-32 cursor-pointer overflow-x p-3 transition duration-200 transform ease-in hover:scale-105 hover:animate-pulse">
<Image
className="absolute opacity-0... |
'use strict';
describe('Controller: CheckByTimeCtrl', function () {
// load the controller's module
beforeEach(module('gdweApp'));
var CheckByTimeCtrl, scope;
// Initialize the controller and a mock scope
beforeEach(inject(function ($controller, $rootScope) {
scope = $rootScope.$new();
CheckByTime... |
module.exports = [
{
id: 1,
identity: 'SFE_2017_10',
geometry: JSON.stringify({
type: 'Point',
coordinates: [39.80924874, -123.5543291],
}),
geoClassId: 4,
imageUrl:
'https://s3-us-west-1.amazonaws.com/funcflow/site_images/SFE/SFE_2017_10.JPG',
updatedAt: '2017-11-19T17:2... |
var i=0;
setInterval(function(){
console.log("contract.js event ", i);
++i;
}, 2000); |
/*! modernizr 3.3.1 (Custom Build) | MIT *
* http://modernizr.com/download/?-touchevents-setclasses-shiv !*/ |
function GoogleLogin() {
//first of all create google provider object
var provider=new firebase.auth.GoogleAuthProvider();
//Login with popup window
firebase.auth().signInWithPopup(provider).then(function () {
//code executes after successful login
window.location="Gallery/index.html";... |
/*
* Copyright (C) 2011-2013 by NonStop Games
* Please refer to license.txt for licensing details
*
* TileMarker.js
*
* An additional scene node, for drawing placement markers under blocks to be placed..
*
* Code assumes TileMarker is added to a game-relative scene graph (i.e., that 0,0 in
* the scene graph i... |
// olapp.project
// load projects
var projectsToTest = [
{title: '飛び出せ ニッポン! (Beta)', filename: 'files/japan3d.js'},
{title: 'Experimental Project', filename: 'files/experimental.js'},
{title: 'Experimental UTM53 Project', filename: 'files/experimental_utm53.js'}
];
function testNextProject() {
if (projectsToT... |
import React from 'react';
import PropTypes from 'prop-types';
import styled from 'styled-components';
import moment from 'moment';
import DatePicker from 'react-datepicker';
import 'react-datepicker/dist/react-datepicker.css';
const StyledDatesEditor = styled.div`
background-color: var(--input-bg-color2);
border:... |
// ** I18N
// Calendar pt_BR language
// Author: Adalberto Machado, <betosm@terra.com.br>
// Encoding: any
// Distributed under the same terms as the calendar itself.
// For translators: please use UTF-8 if possible. We strongly believe that
// Unicode is the answer to a real internationalized world. Also please
//... |
import { module, test } from 'qunit';
import { setup, visit, /* mockServer */ } from 'ember-cli-fastboot-testing/test-support';
import setupFastBootRootElement from '../helpers/setup-fastboot';
module('FastBoot | alert', function(hooks) {
setup(hooks);
setupFastBootRootElement(hooks);
test('it renders', async f... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.