text stringlengths 2 1.04M |
|---|
import { NotImplementedError } from '../extensions/index.js';
/**
* Calculate turns number and time (in seconds) required
* to solve puzzle
*
* @param {Number} disks number of disks
* @param {Number} turnsSpeed speed (in turns/hour)
* @return {Object} object with props turns (number of turns)
* and seconds (ti... |
describe("$.delegate", function() {
helpers.fixture("events.html");
describe("$.delegate in subject-type-selector-callback form", function() {
it("adds events to the children of the subject", function(done) {
var subject = document.querySelector("#divContainer");
var inner = subject.querySelector("a");
... |
import { fixture, html } from '@open-wc/testing';
import 'axe-core/axe.min.js';
import { axeReport } from 'pwa-helpers/axe-report.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';
i... |
//# sourceMappingURL=runtime-main.73987652.js.map |
import { JSONAPIFormatter } from '../../src/formatters';
import { parse, stringify } from '../../src';
describe('JSONAPIFormatter.parse', () => {
it('can parse an JSONAPI query', () => {
expect(
parse('?foo[bar]=qux&qux=quux', { formatter: JSONAPIFormatter }),
).toEqual({ foo: { bar: ['qux'] }, qux: 'q... |
import React, {PropTypes} from 'react';
import { connect } from 'react-redux';
import CaseStudy from 'components/case-study';
import BackBar from 'components/ui/backbar';
import PageLayout from 'layouts/PageLayout/PageLayout';
import has from 'lodash/has';
import snakeCase from 'lodash/snakeCase';
const mapStateToProp... |
function tm7_plot_3d(containerSelector, plot_data) {
var set1_data = JSON.parse(JSON.stringify(plot_data["coordinates_set1"]));
var set2_data = JSON.parse(JSON.stringify(plot_data["coordinates_set2"]));
set1_data.forEach(function (entry) {
entry.id = entry.label
entry.color = "set1"
})... |
/**
* Cesium - https://github.com/AnalyticalGraphicsInc/cesium
*
* Copyright 2011-2013 Cesium Contributors
*
* 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/l... |
describe('landscape', function () {
beforeEach(angular.mock.module(require('./').name));
var scope, compile;
beforeEach(inject(function ($rootScope, $compile) {
scope = $rootScope.$new();
compile = $compile;
}));
it('should ...', function () {
/*
To test your directive, you need to creat... |
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.TreeService = void 0;
var tree_events_1 = require("./tree.events");
var core_1 = require("@angular/core");
var node_draggable_service_1 = require("./draggable/node-draggable.service");
var fn_utils_1 = require("./utils/fn.utils");
var ... |
"use strict";
const notifyBundleValid = require("../util/notify-bundle-valid");
/* eslint max-statements: 0 */
function webpackDevReporter(reporterOptions) {
const state = reporterOptions.state;
const stats = reporterOptions.stats;
const options = reporterOptions.options;
const logger = require("@xarc/app/lib... |
/**
* @license Apache-2.0
*
* Copyright (c) 2018 The Stdlib Authors.
*
* 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 a... |
const ContextBuilder = require('../../context/context-builder');
const vm = require('vm');
const HELP = `loads the appx module at the specified path.`;
const parser = require('yargs/yargs')(process.argv.slice(2))
.example('.loadModule ~/modules/MyModule',
'Loads the module at the path into the current REP... |
import React, { Component } from 'react';
import { Button, Glyphicon } from 'react-bootstrap';
import DateRangePicker from 'react-bootstrap-daterangepicker';
import Util from './Util'
const moment = require('moment');
const Fetching = Util.Fetching;
class News extends Component {
constructor(props) {
super(prop... |
import styles from './template.css';
import template from './template';
import AoflElement from '@aofl/web-components/aofl-element';
/**
* @summary IconTwotoneWifiOffElement
* @class IconTwotoneWifiOffElement
* @extends {AoflElement}
*/
class IconTwotoneWifiOffElement extends AoflElement {
/**
* Creates an in... |
const buttons = document.querySelectorAll('.delete-comment');
buttons.forEach(button => {
button.addEventListener('click', commentPageHandler);
})
async function commentPageHandler(event) {
event.preventDefault();
const id = event.target.name;
const response = await fetch(`/api/comments/${id}`, {
... |
/**
* 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 2017 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.
var callbackPass = chrome.test.callbackPass;
var callbackFail = chrome.test.callbackFail;
var assertTrue = chrome.test.assertTrue;
var assertEq = chrome.t... |
/*
* Copyright (c) BrownBear, 2018 - Present. All Rights Reserved.
*
* This file is a part of Tuleap.
*
* Tuleap is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (a... |
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports["default"] = void 0;
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
function _classCallCheck(instance, Construct... |
var UITree = function () {
var handleBiblioteca = function () {
$('.tree_biblioteca').each(function(index, element) {
$(this).jstree({
'plugins': ["wholerow","html_data", "checkbox", "types"],
"checkbox" : {
"keep_selected_style" : false,
"three_state":true
},
'core'... |
//二维码相关的内容
//参考自 https://github.com/johansten/stargazer/blob/master/docs/qr-codes.md
// 生成名片信息(用于生成二维码)
// json数据格式
import StellarSdk from 'stellar-sdk'
export function exportNameCard(account){
let data = {
"stellar": {
"account": {
"name":account.name, //账户名称
"id": account.address, //地址 ... |
const Query = require('./query');
const Mutation = require('./mutation');
const { GraphQLDateTime } = require('graphql-iso-date')
module.exports = {
Query,
Mutation,
DateTime: GraphQLDateTime,
}; |
import React from "react";
// import { CartItemStateContext } from "../../context/CartItemContext";
import ProductsListing from "../../components/ProductsListing";
import Cart from "../../components/Cart";
import withLayout from "../../hoc/withLayout";
function Home({ isLoading, hasError, loadingError }) {
// const... |
var path = require('path');
var express = require('express');
var exphbs = require('../../..');
var app = express();
app.engine('hbs', exphbs.create());
app.set('view engine', 'hbs');
app.set('views', path.join(__dirname, 'views'));
app.get('/', function(req, res) {
res.render('index', {
google: {
url: 'h... |
var helicopterIMG, helicopterSprite, packageSprite,packageIMG;
var packageBody,ground,rect1
const Engine = Matter.Engine;
const World = Matter.World;
const Bodies = Matter.Bodies;
const Body = Matter.Body;
function preload()
{
helicopterIMG=loadImage("helicopter.png")
packageIMG=loadImage("package.png")
}
func... |
define({"topics" : [{"title":"Supported Stages","href":"datacollector\/UserGuide\/Pipeline_Configuration\/Expressions.html#concept_bs3_dm5_3cb","attributes": {"data-id":"concept_bs3_dm5_3cb",},"menu": {"hasChildren":false,},"tocID":"concept_bs3_dm5_3cb-d46e41559","topics":[]},{"title":"Field Path Expression Syntax","hr... |
/*! WOW - v1.1.3 - 2016-05-06
wow = new WOW(
{
boxClass: 'wow', // default
animateClass: 'animated', // default
offset: 0, // default
mobile: true, // default
live: true // default
}
)
wow.init(); |
var Download = function(table){
this.table = table; //hold Tabulator object
};
//trigger file download
Download.prototype.download = function(type, filename, options){
var self = this,
downloadFunc = false;
function buildLink(data, mime){
self.triggerDownload(data, mime, type, filename);
}
if(typeof type == ... |
import React from "react"
import PropTypes from "prop-types"
import { motion } from "framer-motion"
import "../styles/intro.css";
export default class IntroPage extends React.Component {
constructor(props){
super(props);
if(props.onFinish){
props.onFinish();
}
}
render(){
return(<div class... |
"use strict";
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var _createSvgIcon = _interopRequireDefault(require("./utils/createSvgIcon"));
var _jsxRuntime = require("react/jsx-runtime")... |
var express = require('express');
var router = express.Router();
// Require controller modules
var book_controller = require('../controllers/bookController');
var author_controller = require('../controllers/authorController');
var genre_controller = require('../controllers/genreController');
var book_instance_controll... |
import React, { Fragment } from "react";
import { Circle } from "react-konva";
import { getRoot, types } from "mobx-state-tree";
import WithStatesMixin from "../mixins/WithStates";
import NormalizationMixin from "../mixins/Normalization";
import RegionsMixin from "../mixins/Regions";
import Registry from "../core/Regi... |
"use strict";
$('#clear').click(clearCircuit);
$('#embed').click(insertCircuitFromInput);
(function () {
// The initialize function must be run each time a new page is loaded
Office.initialize = function (reason) {
$(document).ready(function () {
var circuit = Office.context.document.setti... |
'use strict';
module.exports = {
up: (queryInterface, Sequelize) => {
/*
Add altering commands here.
Return a promise to correctly handle asynchronicity.
Example:
return queryInterface.bulkInsert('People', [{
name: 'John Doe',
isBetaMember: false
}], {});
*/
... |
/*
Holder - 1.9 - client side image placeholders
(c) 2012-2013 Ivan Malopinsky / http://imsky.co
Provided under the Apache 2.0 License: http://www.apache.org/licenses/LICENSE-2.0
Commercial use requires attribution.
*/
var Holder=Holder||{};(function(app,win){var preempted=false,fallback=false,canvas=document.createEle... |
const { Bluetooth, Printer } = require('..');
(async () => {
try {
const availablePrinters = await Bluetooth.findPrinters();
// Uncomment if you want to use a specific printer instead of the first bt device that responds:
// const preferredPrinterName = 'MHT-P5801';
// const btPrinter = availablePri... |
$(document).ready(function(){
var cityName;
var getSearchCity = JSON.parse(localStorage.getItem("citySearches"));
if (getSearchCity) {
getSearchCity = getSearchCity.split(";");
cityName = getSearchCity[0];
getWeatherData(cityName);
} else {
$(".five-day-heading").hide();... |
import { LightningElement } from "lwc";
export default class TestCss extends LightningElement {
} |
import path from 'path';
import cosmiconfig from 'cosmiconfig';
export function loadOptionsFromConfigDir(configDirectory) {
const searchPath = configDirectory || './';
const cosmic = cosmiconfig('graphql-schema-linter', {
cache: false,
}).searchSync(searchPath);
if (cosmic) {
let schemaPaths = [];
... |
/**
* Created by liwei on 2016/12/26.
*/
$(function(){
$(".class-group-sub a").hover(function() {
var $parent = $(this).parents(".class-group-con");
$parent.find(".class-group-sub-group").removeClass("on");
var bh = $(this).attr("data-bh");
$parent.find(".class-group-sub-group[data... |
module.exports = {
user: {
subscribe: (parent, args, { pubsub }) => pubsub.asyncIterator('user createad')
}
}; |
var path = require('path');
module.exports = function(app){
app.get('/notes', function(req, res){
res.sendFile(path.join(__dirname, "../public/notes.html"));
});
app.get('*', function(req, res){
res.sendFile(path.join(__dirname, "../public/index.html"));
});
}; |
/*
Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'about', 'hu', {
copy: 'Copyright © $1. Minden jog fenntartva.',
dlgTitle: 'CKEditor névjegy',
help: 'Itt találsz segítséget: $1',
moreInfo... |
/******/ (() => { // webpackBootstrap
/******/ "use strict";
var __webpack_exports__ = {};
/*!*****************************************************************************!*\
!*** ../demo1/src/js/pages/crud/datatables/search-options/column-search.js ***!
\***********************************************************... |
"use strict";
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 = Refl... |
import React from 'react';
import Article from './Article';
const ArticleList = (props) => {
return (
<div>
{Object.values(props.articles).map(article =>
<Article
key={article.id}
article={article}
/>
)}
</div>
);
};
export default ArticleList; |
console.log('load _drum_57_25_FluidR3_GM_sf2_file');
var _drum_57_25_FluidR3_GM_sf2_file={
zones:[
{
midi:128
,loopStart:0
,loopEnd:0
,keyRangeLow:57
,keyRangeHigh:57
,sampleRate:44100
,coarseTune:0
,fineTune:0
,originalPitch:5700
,anchor:0.04931973
//'Crsh 2(L)
}
]
}; |
load("8b38e12cab5de21ec5393724c0d9b7dd.js");
//-------------------------------------------------------------------------------------------------------
// Copyright (C) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
//------------... |
//Genre information and a list of movies
//functional component because not utilizing state
import React from 'react';
import MoviesContainer from '../containers/MoviesContainer';
import GenreEdit from './GenreEdit'
import {Container} from 'react-bootstrap';
const Genre = (props) => {
// let genre = props.genres... |
/**
* @license Angular v9.1.6
* (c) 2010-2020 Google LLC. https://angular.io/
* License: MIT
*/
import { Injectable, Inject, ɵstringify, NgModule, Directive, Component, Pipe, createPlatformFactory, COMPILER_OPTIONS, Injector, CompilerFactory } from '@angular/core';
import { TestComponentRenderer, ɵMetadataOverride... |
import { expect } from 'chai';
import util from './util';
describe('Prdocuts API', () => {
describe('fetch', () => {
it('should throw an error when no token', () => {
const fsapi = util.getFullSlate({
key: util.getKey()
});
expect(() => fsapi.products()).to.throw('FullSlate token miss... |
#!/usr/bin/env node
'use strict';
const spawnSync = require('../common/cross-spawn-sync');
function checkWorkspaceDependencies() {
let workspacesInfo = getWorkspacesInfo();
if (!workspacesInfo) {
console.error(`Couldn't generate Yarn's workspace root information.`);
return;
}
let count = countMismatc... |
import * as api from "../api/api";
// ---------------------------- Class Methods ------------------------------
export const createClass = async (Class, user, Classes, setClasses) => {
try {
const newClass = {
name: Class.name,
subcode: Class.subcode,
subject: Class.subject,
instructor: {... |
(window.webpackJsonp=window.webpackJsonp||[]).push([[116],{MBP6:function(e,t,n){"use strict";n.r(t),n.d(t,"IonActionSheetController",function(){return i});var o=n("euO/"),i=function(){function e(){this.actionSheets=new Map}return e.prototype.actionSheetWillPresent=function(e){this.actionSheets.set(e.target.overlayId,e.... |
const config = {
...require('../../build.config'),
__SERVER__: false,
__CLIENT__: true,
__SSR__: false,
__TEST__: false,
__API_URL__: process.env.API_URL || 'http://localhost:8080/graphql',
__WEBSITE_URL__: process.env.WEBSITE_URL || 'http://localhost:8080'
};
module.exports = config; |
/*
* Copyright (c) 2015-2025 Phoinex Scholars Co. http://dpq.co.ir
*
* 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 u... |
import {storiesOf} from "@storybook/react";
import * as React from 'react';
import ScalableFormAntdMobile from 'scalable-form-antd-mobile';
import './index.less';
const storiesWithMobile = storiesOf('AntDesignMobile', module);
export default class FormMobileExample extends React.PureComponent {
constructor(args) {
... |
/**
* Copyright 2020 The Lovefield Project 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... |
jui.define("chart.brush.bargauge", [], function() {
/**
* @class chart.brush.bargauge
*
* @extends chart.brush.core
*/
var BarGaugeBrush = function(chart, axis, brush) {
/**
* @method draw
*
* @protected
* @return {TransformElement}
*/
... |
/**
* 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
* @emails oncall+react_native
* @flow
*/
'use strict';
const React = require('react');
const LogBoxContainer = requi... |
exports.init = function(console) {
if (process.env.NODE_ENV === 'dev' ||
process.env.NODE_ENV === env) {
// console.log('LogSuppress is suppressing all console output.');
if (typeof console.log == 'function') {
console.log = function() { };
console.log('You should no... |
import React from 'react';
import { MuiThemeProvider, createMuiTheme } from '@material-ui/core/styles';
import CssBaseline from '@material-ui/core/CssBaseline';
// A theme with custom primary and secondary color.
// It's optional.
const theme = createMuiTheme({
typography: {
useNextVariants: true,
},
palette... |
// This utility function returns a unique URL friendly representation of project
// For example, "Frontend Development" gets converted as "frontend-development"
export default function (baseString) {
return baseString.replace(/[^0-9a-zA-Z- ]/g, "").trim().replace(/\s+/g, "-").toLowerCase()
} |
import React from "react";
const UserInfo = props => {
return (
<div className="user__info">
<p className="user__row">
<span>Email: {props.email}</span>
</p>
<p className="user__row">
<span>Department: {props.department}</span>
</p>
<p className="user__row">
... |
/* Modernizr 2.8.3 (Custom Build) | MIT & BSD
* Build: http://modernizr.com/download/#-fontface-backgroundsize-borderimage-borderradius-boxshadow-flexbox-hsla-multiplebgs-opacity-rgba-textshadow-cssanimations-csscolumns-generatedcontent-cssgradients-cssreflections-csstransforms-csstransforms3d-csstransitions-applicati... |
/*
Utility function to fetch required data for component to render in server side.
This was inspired from https://github.com/caljrimmer/isomorphic-redux-app/blob/73e6e7d43ccd41e2eb557a70be79cebc494ee54b/src/common/api/fetchComponentDataBeforeRender.js
*/
import { matchPath } from 'react-router-dom';
import { matchRoute... |
import ChartOperator from "./chart-operator"
import ContainerJS from "container-js"
import DateWithOffset from "date-with-offset"
import _ from "underscore"
import CandleSticks from "src/viewmodel/chart/candle-sticks"
import Numbers from "src/utils/numbers"
import Dates ... |
/*
* date: 2019-05-28
* desc:
*/
export {parseTime} from '~/utils';
// 省略字符串,如果字符串的长度超过指定长度,则省略展示。
export function ellipsisStr(str, length) {
length = length || 100;
let result = str;
if (str.length > length) {
result = str.slice(0, length) + '...';
}
return result;
}
export function broadcastStatu... |
export class StringComparisonService {
static getLevenshteinDistance(first, second) {
const firstLength = first.length;
const secondLength = second.length;
if (firstLength === 0) {
return secondLength;
}
if (secondLength === 0) {
return secondLength;... |
//返回值的函数
import axios from 'axios'
import { Loading } from 'element-ui';
export function AxiosReturn(url,params){
const api='http://www.mmkashop.com/api/v1/'
let that=this
var myUrl=api+url
return axios.post(myUrl, params).then(function(res) {
return res.data
// if (res.data.status === 200) {
... |
/**
* Displays the simulation data
*/
import React from "react"
import "./simDataTable.css"
class SimulationDataTable extends React.Component {
constructor(props) {
super(props);
this.state = {
showTable: false
}
}
toggleTable() {
this.setState(prevState => ... |
function analyticsChart () {
//calculate 12 months random users
//calculate 12 levels of customers
var startNum = Math.floor( Math.random() * 5000) + 5000;
var visitors = new Array(12);
var customers = new Array();
var magicX = .5;
visitors[0] = startNum;
customers[0] = Math.floor(visi... |
//=require angular-source/components/marketData/ticker/ticker.module
'use strict';
angular.module('marketData.ticker').service('TickerService', [
'$http', function ($http) {
return {
query: function () {
return $http.get('api/getTickerInfo');
}
};
} ]); |
/**
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @format
... |
const fs = require('fs');
const DIST_LIB_PATH = 'dist/payment-request/';
const README_PATH = 'README.md';
const ASSETS_PATH = 'projects/demo/src/assets';
const PATH_TO_README = DIST_LIB_PATH + README_PATH;
copyExtraFiles();
function copyExtraFiles() {
if (!fs.existsSync(README_PATH)) {
throw new Error('R... |
import * as tld from '#/common/tld';
import cache from './cache';
import { getOption, hookOptions } from './options';
tld.initTLD(true);
const RE_MATCH_PARTS = /(.*?):\/\/([^/]*)\/(.*)/;
let blacklistRules = [];
hookOptions((changes) => {
if ('blacklist' in changes) resetBlacklist(changes.blacklist || '');
});
cons... |
/* @flow */
import React from "react";
import ReactMarkdown from "react-markdown";
import Helmet from "react-helmet";
import { makeTitle } from "../routes";
import icons from "../icons";
import Query from "../queries/query";
import StaticPage from "./StaticPage";
import pageQuery from "../queries/content/page.js";
imp... |
import addMilliseconds from 'date-fns/addMilliseconds';
import addSeconds from 'date-fns/addSeconds';
import addMinutes from 'date-fns/addMinutes';
import addHours from 'date-fns/addHours';
import addDays from 'date-fns/addDays';
import addWeeks from 'date-fns/addWeeks';
import addMonths from 'date-fns/addMonths';
impo... |
/*! For license information please see chunk.07887fd1117e655def19.js.LICENSE.txt */
(self.webpackChunkhome_assistant_frontend=self.webpackChunkhome_assistant_frontend||[]).push([[4920,1823],{63207:(e,t,r)=>{"use strict";r(65660),r(15112);var i=r(9672),n=r(87156),o=r(50856),s=r(43437);(0,i.k)({_template:o.d`
<style>... |
import { Fragment } from 'react';
import './SupportPopupInput.css';
const SupportPopupInput = (props) =>{
//set onChange method to use debounce maybe.
return(
<Fragment>
<input
className="support__input"
type="number"
value={props.amount} ... |
"use strict";(self.webpackChunkgatsby_portfolio=self.webpackChunkgatsby_portfolio||[]).push([[170],{4170:function(e,o,c){c.r(o),c.d(o,{theme:function(){return t}});var t="{\n --deckgo-highlight-code-carbon-background: #2a2734;\n --deckgo-highlight-code-carbon-color: #eeebff;\n --deckgo-highlight-code-token-atrule: #... |
var status = 0;
var itemType = 0; // 1 = Equip, 2 = Scrolls, 3 = Misc
// Type 1 : Equips
items_sel1 = [1004031, 1442298, 1102399, 1703999];
items_name1 = ["Monster Energy Cap (Hat)", "Monster Energy Can (Polearm)", "WRS Wings (Cape)", "WRS Scythe (Polearm)"];
items_amount1 = [1, 1, 1, 1];
items_price1 = [15, 15, 100, 1... |
var NAVTREEINDEX175 =
{
"classv8_1_1internal_1_1_representation.html#a8bdd97567badb1040967d90910c76c54":[2,0,4,3,1289,8],
"classv8_1_1internal_1_1_representation.html#a8ebdb3d2ad2e45a01e769410bd620a3f":[2,0,4,3,1289,11],
"classv8_1_1internal_1_1_representation.html#a9da652c4a0d3e474f8b63d50708b46ba":[2,0,4,3,1289,10],
... |
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/* 'Super' model which is extended for individual models. */
/* */
/* Assumes table ... |
import { select as d3_select } from 'd3-selection';
import { geoMetersToLat, geoMetersToLon } from '@id-sdk/math';
import {
utilArrayIntersection, utilArrayUnion, utilDeepMemberSelector,
utilEntityOrDeepMemberSelector, utilEntitySelector, utilGetAllNodes
} from '@id-sdk/util';
import { t } from '../core/local... |
import React from 'react'
import ScheduledWorkshop from './scheduled-workshop'
import get from 'lodash/get'
import {css} from '@emotion/core'
function UpcomingWorkshops({events, headline}) {
return (
<div>
{events.length ? (
<div
css={css`
margin-top: -30px;
positi... |
(function (Math) {
// Shortcuts
var C = CryptoJS;
var C_lib = C.lib;
var WordArray = C_lib.WordArray;
var Hasher = C_lib.Hasher;
var C_algo = C.algo;
// Reusable object
var W = [];
var K = [];
// ROTATE: function(a, n) { return a << n | (a >>> (32 - n)) }
// for ( var... |
import React from "react";
import { Fragment } from "react/cjs/react.production.min";
function Post(props) {
return (
<Fragment>
<div>
<div className="post">
<div className="card-avatar">
<div className="card-avatar-left">
... |
/*
Copyright (c) 2010, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.com/yui/license.html
version: 3.1.1
build: 47
*/
YUI.add("lang/datatype-date-format_it",function(A){A.Intl.add("datatype-date-format","it",{"a":["dom","lun","mar","mer","gio","ven","sab"],"A":["domenica",... |
(function() {
'use strict';
angular
.module('nonoApp')
.controller('InstructionsController', InstructionsController);
/** @ngInject */
function InstructionsController($stateParams, $http) {
var vm = this;
var type = $stateParams.type;
var collectionMode = $stateParams.collectionMode;
s... |
import React from "react"
import "./footer.css";
import { Link } from "gatsby"
export default function MainFooter(props) {
return(
<div>
© {new Date().getFullYear()}
<Link href={props.homepagelink}> {props.companyname}</Link>
</div>
)
} |
// @flow
/* global window, localStorage */
import type {LocaleNameType} from './const';
import {localeConst} from './const';
export type SetLocaleType = {|
+type: 'locale__set-locale',
+payload: {|
+localeName: LocaleNameType,
|},
|};
export function setLocale(localeName: LocaleNameType): SetLoc... |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... |
module.exports = function() {
return process.env.NODE_ENV + ':' + process.env.FOO;
}; |
class Triangle {
g;
size;
p1;
p2;
p3;
center;
color;
lineThickness;
hitArea;
flip;
fill;
curD;
targetD;
curV;
targetV;
a;
maxSpeed;
target;
radius;
freq;
curRadius;
curFreq;
radius;
circleVector;
circleTick;
... |
import React from 'react'
import { render } from '@testing-library/react'
import HvacStatusIcon from '../HvacStatusIcon'
describe('<HvacStatusIcon />', () => {
it('should render <HvacStatusIcon /> component', () => {
expect(render(<HvacStatusIcon />)).not.toBeNull()
})
}) |
import { obtainTerrain } from "@woosh/meep-engine/engine/ecs/terrain/util/obtainTerrain.js";
// import { seededRandom } from "@woosh/meep-engine/core/math/random/seededRandom.js";
import { EngineConfiguration } from "@woosh/meep-engine/engine/EngineConfiguration.js";
// import ScriptSystem from "@woosh/meep-engine/engi... |
module.exports = class Sample {
constructor(param) {
this.param = param;
}
}; |
var AppServer = require('../lib/AppServer');
var assert = require('assert');
describe('AppServer', function() {
it('should be callable', function() {
assert.equal(typeof AppServer, 'function');
});
}); |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.