text stringlengths 2 1.04M |
|---|
// Copyright (C) 2015 André Bargull. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-dataview.prototype.setfloat64
description: >
DataView.prototype.setFloat64.length is 2.
info: >
DataView.prototype.setFloat64 ( byteOffset, value [ , littleEndian ] )
... |
jQuery.sap.declare("sapui6.ui.commons.Video");
jQuery.sap.require("sap.ui.core.Control");
sap.ui.core.Control.extend("sapui6.ui.commons.Video", {
metadata : {
library : "sapui6.ui.commons",
properties : {
"width" : {type : "sap.ui.core.CSSSize", group : "Misc", default... |
import * as React from 'react';
import createSvgIcon from './utils/createSvgIcon';
export default createSvgIcon(
<path d="M13 9H9.5v6H13c.8 0 1.5-.7 1.5-1.5v-3c0-.8-.7-1.5-1.5-1.5zm0 4.5h-2v-3h2v3zm8-2v-1c0-.8-.7-1.5-1.5-1.5H16v6h1.5v-2h1.1l.9 2H21l-.9-2.1c.5-.3.9-.8.9-1.4zm-1.5 0h-2v-1h2v1zm-13-.5h-2V9H3v6h1.5v-2.5... |
Date.prototype.format = function(format){
var o = {
"M+" : this.getMonth()+1, //month
"d+" : this.getDate(), //day
"h+" : this.getHours(), //hour
"m+" : this.getMinutes(), //minute
"s+" : this.getSeconds(), //second
"q+" : Math.floor((this.getMonth()+3)/3), //quarter
"S" : this.... |
import expect from 'expect';
import execSteps from './execSteps.js';
export default function(history, done) {
const steps = [
location => {
expect(location).toMatchObject({
pathname: '/'
});
const pathname = '/歴史';
const search = '?%E3%82%AD%E3%83%BC=%E5%80%A4';
const hash... |
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([["styles"],{
/***/ "./node_modules/@angular/material/prebuilt-themes/indigo-pink.css":
/*!************************************************************************!*\
!*** ./node_modules/@angular/material/prebuilt-themes/indigo-pink.css ***!
\***********... |
import { mount } from 'avoriaz';
import Vuex from 'vuex';
import sinon from 'sinon';
import * as getters from 'state/artist/getters';
import FormsIndexPage from './FormsIndexPage';
import LoadingSpinner from 'components/LoadingSpinner';
import FormsList from 'components/forms/FormsList';
import formsFixture from 'fixt... |
({
previousMessage: "Алдыңғы нұсқалар",
nextMessage: "Басқа нұсқалар"
}) |
import React from "react";
import { FaChevronDown } from "react-icons/fa";
import Particles from "react-particles-js";
import AnchorLink from "react-anchor-link-smooth-scroll";
const Header = ({ siteTitle }) => (
<div>
<Particles
className="backdrop"
params={{
particles: {
number: {... |
import React, { Component } from 'react';
import styled, { withTheme } from 'styled-components';
import style from './style';
import PropTypes from 'prop-types';
export class ButtonStyled extends Component {
renderTag() {
const { tag, children, color, ...props } = this.props;
switch (tag) {
case 'labe... |
/**
* 前台分页执行函数 通用JS文件
*
* 创建时间:2016年11月9日 10:06:03
* 创建人:Steve Jrong
* 版本:1.0
*/
function pageSkip(num,type){
if (type === "front") {
$("input[name*='pageIndex']").val(parseInt($("#currentPageNum").text())-1);
}else if (type === "back") {
$("input[name*='pageIndex']").val(parseInt($("#currentPageNum").text... |
// アイテムデータ処理クラスの基底クラス
export default class ItemBase {
constructor (options) {
this.options = options
this.baseIndentLevel = 0
this.name
}
// 設定取得
getConfig (key) {
if (typeof this.options[this.name] !== 'undefined' && typeof this.options[this.name][key] !== 'undefined') {
return this.opt... |
const CustomError = require("../extensions/custom-error");
module.exports = function countCats(backyard) {
let totalCat = 0;
const cat = '^^';
for(let i = 0; i<backyard.length; i +=1){
for(let j = 0; j<backyard[i].length; j+=1){
if(backyard[i][j] == cat){
totalCat+=1;
} else {
totalCat +=0;
... |
import React from 'react';
import { Link } from 'gatsby';
import Layout from '../components/layout';
import Image from '../components/image';
import SEO from '../components/seo';
const IndexPage = () => (
<Layout>
<SEO title="Home" />
<h1>Hi people</h1>
<p>Welcome to your new Gatsby site.</p>
<p>Now... |
const fs = require('fs'),
exec = require('child_process').exec,
kill = require('tree-kill')
const onExit = (resolve,file, timeoutId) =>
(code, signal) => {
clearTimeout(timeoutId)
let result = {isOptional: false}
fs.renameSync(`${file}.back`, file)
if (signal === 'SIGKILL' ... |
import {
interactor,
scoped,
clickable,
ButtonInteractor,
property,
isPresent,
} from '@bigtest/interactor';
import MultiColumnListInteractor from '@folio/stripes-components/lib/MultiColumnList/tests/interactor'; // eslint-disable-line
import PatronBlockModal from './parton-blocks/modal';
import KeyValue ... |
var config = require('../config');
var gulp = require('gulp');
gulp.task('clean', function(cb) {
require('del')([config.build], {
force: true
}, cb);
}); |
/**
* @license
* Copyright 2020 Google LLC. 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 required by a... |
const { getConfig } = require('graphql-ez-testing/jestConfig');
module.exports = getConfig(); |
import request from '@/utils/request'
export function page(query) {
return request({
url: '/api/ai/xzq/list',
method: 'get',
params: query
})
}
export function addObj(obj) {
return request({
url: '/api/ai/xzq',
method: 'post',
data: obj
})
}
export function getObj(id) {
return reque... |
Object.defineProperty(exports, "__esModule", {
value: true
});
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target;... |
var gulp = require('gulp'),
rev = require('gulp-rev'),
revReplace = require('gulp-rev-replace'),
path = require('path'),
cfg = require('../config')
;
/**
* Revisioning
*
* Cache busting workflow.
* 1. Rename asset filenames by appending content hashes.
* 2. Repl... |
'use strict';
var _ = require('lodash');
var Script = require('./script');
var Opcode = require('../opcode');
var BN = require('../crypto/bn');
var Hash = require('../crypto/hash');
var Signature = require('../crypto/signature');
var PublicKey = require('../publickey');
/**
* Bitcoin transactions contain scripts. E... |
import React from 'react';
import ReactHighcharts from 'react-highcharts';
import './HomePieChart.css';
//config
import PieChartConfig from '../../../config/PieChartConfig';
class HomePieChart extends React.Component {
constructor(props) {
super(props);
this.state = {
viewsCount: 0,
... |
import { specApi } from '../services/index'
export default {
namespace: 'index',
state: {
},
subscriptions: {
setup ({ dispatch, history }) {
history.listen(({ pathname }) => {
if (pathname == "/") {
dispatch({ type: 'query'})
}
})
},
},
effects: {
* qu... |
NEJ.define([
'{lib}base/klass.js',
'{lib}util/dispatcher/module.js',
'{pro}base/module.js',
'{lib}base/element.js',
'{lib}base/event.js',
'{lib}util/template/tpl.js',
'{lib}util/template/jst.js'
], function(_k, _m, _bm, _e, _v, _t, _j, _p) {
var _pro;
_p._$$BlogListModule = _k._$kl... |
/*! Fabrik */
|
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.NoOpLogger = exports.AppUpdater = void 0;
function _bluebirdLst() {
const data = require("bluebird-lst");
_bluebirdLst = function () {
return data;
};
return data;
}
function _builderUtilRuntime() {
const data = re... |
import React from 'react'
import Base from './Base'
/**
* A button with an × for close and dismiss actions
*/
const Close = (props, { rebass }) => {
return (
<Base {...props}
tagName='button'
className='Close'
title='Close'
baseStyle={{
fontSize: '1.5em',
lineHeight: 1,... |
import { createReducer } from "@reduxjs/toolkit";
import modalActions from "./modalActions";
const modal = createReducer(false, {
[modalActions.onModal]: () => true,
[modalActions.offModal]: () => false,
});
export default modal; |
/*!
* Bootstrap v4.0.0 (https://getbootstrap.com)
* Copyright 2011-2018 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
*/
// sourceMappingURL=bootstrap.min.js.map |
// Ion.RangeSlider
// version 1.8.1
// https://github.com/IonDen/ion.rangeSlider
(function(c,X,fa,T){var Y=0,O=function(){var c=T.userAgent,a=/msie\s\d+/i;return 0<c.search(a)&&(c=a.exec(c).toString(),c=c.split(" ")[1],9>c)?!0:!1}(),H;try{X.createEvent("TouchEvent"),H=!0}catch(ha){H=!1}var N={init:function(m){var a=c.e... |
import React, { PureComponent } from 'react';
import { connect } from 'dva';
import StandardTable from '@/components/StandardTable';
import columns from './tableColums';
const getValue = obj =>
Object.keys(obj)
.map(key => obj[key])
.join(',');
@connect(({ enterpriseManagement, loading }) => ({
enterprise... |
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId])
/******/ return installedModu... |
const express = require('express');
const router = express.Router();
const Movie = require('../models/Movie');
router.get('/', (req,res)=>{
const promise = Movie.aggregate([
{
$lookup: {
from: 'directors',
localField: 'director_id',
foreignField: '_id',
as: 'director'
}
},
{
$unwind: '... |
const flashData = $('.flash-data').data('flashdata');
if( flashData ) {
Swal.fire({
'Booking berhasil ' + flashData,
'Silahkan datang ke Restoran' + flashData,
'success'
});
} |
// Global vars
var pymChild = null;
var isMobile = false;
var dataSeries = [];
/*
* Initialize graphic
*/
var onWindowLoaded = function() {
if (Modernizr.svg) {
formatData();
pymChild = new pym.Child({
renderCallback: render
});
} else {
pymChild = new pym.Child({... |
/* eslint-env jest */
import App from 'pages/_app'
describe('pages | _app.js', () => {
test('#getInitialProps returns t, asPath props', async () => {
const Component = () => <div />
const router = {}
const ctx = { asPath: '/alpha' }
const actual = await App.getInitialProps({ Component, router, ctx })... |
`),t("span",{class:"token tag"},[t("span",{class:"token tag"},[t("span",{class:"token punctuation"},"<"),n("d-skeleton")]),n(),t("span",{class:"token attr-name"},":row"),t("span",{class:"token attr-value"},[t("span",{class:"token punctuation attr-equals"},"="),t("span",{class:"token punctuation"},'"'),n("3"),t("span"... |
const Command = require('../../structures/Command');
const { MessageEmbed } = require('discord.js');
const Guild = require("../../database/schemas/Guild.js");
const Economy = require("../../models/economy.js")
const Logging = require('../../database/schemas/logging.js')
const mongoose = require("mongoose")
module.expo... |
(function(d){d['zh-cn']=Object.assign(d['zh-cn']||{},{a:"无法上传的文件:",b:"块引用",c:"标题类型",d:"标题",e:"倾斜",f:"加粗",g:"图像小部件",h:"编号列表",i:"项目列表",j:"输入图片标题",k:"超链接",l:"图片通栏显示",m:"图片侧边显示",n:"图片左侧对齐",o:"图片居中",p:"图片右侧对齐",q:"插入图像",r:"上传失败",s:"正在上传",t:"段落",u:"标题 1",v:"标题 2",w:"标题 3",x:"更改图片替换文本",y:"取消超链接",z:"修改链接",aa:"在新标签页中打开链接",ab:"此链... |
import React from 'react';
import {View, Image, Text, Alert} from 'react-native';
import fotoPerfil from './assets/img/ndo.png';
import Icon from 'react-native-vector-icons/Feather';
import style from './assets/css/principal.js';
import Card from './components/Card.js';
import RedeSocialButton from './components/RedeSo... |
/**
* Simple module definition library.
*
* Sample usage:
* <pre>
* module(["view", "model.core", "model.account"], function (view, modelCore, modelAccount) {
* var myView = view.MyView(new modelAccount.UserAccount(new modelCore.Money(100), "bob"));
* // ...
* });
* </pre>
*
* @author Alexander Shabanov
... |
'use strict';
angular.module('mean.shopWeb').factory('ShopWeb', [
function() {
return {
name: 'shopWeb'
};
}
]); |
/**
** Title: base.response.js
** Author: Wendy Leon
** Date: March 18 2021
** Description: Response Object
**/
class BaseResponse {
/***
* @param {*} httpCode String http status code
* @param {*} message message you want user to see
* @param {*} date object || null
**/
constructor (httpCode, messa... |
/*
* Copyright © 2019 Lisk Foundation
*
* See the LICENSE file at the top-level directory of this distribution
* for licensing information.
*
* Unless otherwise agreed in a custom licensing agreement with the Lisk Foundation,
* no part of this software, including this file, may be copied, modified,
* propagated... |
import React from 'react'
import { Header, Icon, Image, Menu, Segment, Sidebar } from 'semantic-ui-react'
import styled from 'styled-components';
import AddItemModal from '../AddItemModal'
const Tab = styled.a`
position:fixed;
padding-left:-50px;
z-index:100;
left:5;
padding:10px;
background-color: black;
... |
let a = 1,
b = '3',
c = 3
// Declarando a função.
let tipoTriangulo = (lado1, lado2, lado3) => {
let erros = [];
let ladosTriangulo = [lado1, lado2, lado3];
let ladosUnicos = []
let qtdLadosIguais = 0;
for (let i = 0; ladosTriangulo.length > i; i++){
if (!Number.isFinite(Number.p... |
const { MessageEmbed } = require("discord.js");
const qdb = require("quick.db");
const config = require("../config.js");
const ms = require('ms');
const moment = require("moment");
exports.run = async (client, message, args) => {
if(![(config.vmutehammer)].some(role => message.member.roles.cache.get(role)) && (!m... |
$(function(){
// 初始化 tabs
var $tabs = $("#container").tabs({
height: $(window).height() - 50
});
// 激活菜单
ksa.menu.activate( "#_sidebar_bd_currency" );
}); |
var data = {
"body": "<path d=\"M94.104-.001L0 217.125l42.193 22.519L128 55.703l85.57 183.941L256 217.125L161.896-.001H94.104z\" fill=\"#023C69\"/>",
"width": 256,
"height": 240
};
exports.__esModule = true;
exports.default = data; |
Ext.define('FV.view.Viewer', {
extend: 'Ext.tab.Panel',
alias: 'widget.viewer',
requires: ['FV.view.feed.Show'],
activeItem: 0,
margins: '5 5 5 5',
cls: 'preview',
initComponent: function() {
this.items = [{
xtype: 'feedshow',
title: 'Sench... |
var dat = {
'legal.update': {
numCols: 4,
title: 'referenceEvidence.update.document.title',
useTimestamp: true,
objectName: 'cases',
documentsPath: 'cases[0].referenceEvidences[0]',
searchUrl: '/lcms-services/legalcase/case/_search?code={id}',
groups: [
{
name: 'addReferenceE... |
import React from "react"
const Comment = React.forwardRef((props, commentBox) => {
return <div ref={commentBox} />
})
export default Comment |
import { Network_416 } from '..';
export default Network_416; |
"use strict";
require("core-js/modules/es.symbol");
require("core-js/modules/es.array.filter");
require("core-js/modules/es.object.get-own-property-descriptor");
require("core-js/modules/es.object.get-own-property-descriptors");
require("core-js/modules/es.object.keys");
require("core-js/modules/web.dom-collectio... |
/*!
* Datepicker for Bootstrap v1.8.0 (https://github.com/uxsolutions/bootstrap-datepicker)
*
* Licensed under the Apache License v2.0 (http://www.apache.org/licenses/LICENSE-2.0)
contTemplate:'<tbody><tr><td colspan="7"></td></tr></tbody>',footTemplate:'<tfoot><tr><th colspan="7" class="today"></th></tr><tr><th col... |
import Vue from 'vue'
import { uid, Notify } from 'quasar'
import { firebaseDb, firebaseAuth } from 'boot/firebase'
import { showErrorMessage } from 'src/functions/function-show-error-message'
const state = {
tasks: {
// 'ID1': {
// name: 'Go to shop',
// completed: false,
// dueDate: '2019/05/12',
// d... |
import { Query } from "../../../src/model/common/Query";
describe("Query Test", () =>
{
test("default size", () =>
{
const query = new Query();
expect(query.length).toBe(0);
});
test("'get', 'set', 'has' and 'delete' test case1", () =>
{
const query = new Query();
e... |
import {SET_CURRENT_USER} from '../actions/types'
import isEmpty from '../validation/isEmpty'
const initialState = {
isAuthenticated:false,
user:{}
}
export default function (state=initialState , action) {
switch (action.type) {
case SET_CURRENT_USER:
return {
...state,
isAuthenticated:!isEmpty(acti... |
import { createStore } from "redux";
import rootReducer from './reducers/rootReducer';
const store = createStore(rootReducer)
export default store; |
const data = [
{date: 1988, num: 51}, {date: 1989, num: 60},
{date: 1990, num: 62}, {date: 1991, num: -64},
{date: 1992, num: 69}, {date: 1993, num: 69},
{date: 1994, num: 75}, {date: 1995, num: 80},
{date: 1996, num: 91}, {date: 1997, num: 93},
{date: 1998, num: 97}, {date: 1999, num: 100},
... |
import { lineReduce } from '@turf/meta'
/**
* Detects if line is closed
*
* @param {Feature<LineString|MultiLineString|Polygon|MultiPolygon>} geojson LineString(s) or Polygons(s)
* @param {Object} [options={}] Optional parameters
* @return {boolean} true/false if line is closed
* @example
* const line1 = turf.l... |
YUI.add('moodle-core-actionmenu', function (Y, NAME) {
/**
* Provides drop down menus for list of action links.
*
* @module moodle-core-actionmenu
*/
var BODY = Y.one(Y.config.doc.body),
CSS = {
MENUSHOWN: 'action-menu-shown'
},
SELECTOR = {
CAN_RECEIVE_FOCUS_SELECTOR: 'input:not([type... |
module.exports = isBuf;
/**
* Returns true if obj is a buffer or an arraybuffer.
*
* @api private
*/
function isBuf(obj) {
return (global.Buffer && global.Buffer.isBuffer(obj)) ||
(global.ArrayBuffer && obj instanceof ArrayBuffer);
} |
import DebugEnv from 'debug-env'
import Debug from 'debug'
// TODO(vjpr): Perf needs to be browser safe. Need to use browser field in package.json.
// Added webpack config: `externals = {perf_hook: 'window'}`
import perf, {perfStart, perfEnd, perfConfig} from './perf'
// TODO(vjpr): Add `-v` to show some default logg... |
function GameManager(size, InputManager, Actuator, StorageManager) {
this.size = size; // Size of the grid
this.inputManager = new InputManager;
this.storageManager = new StorageManager;
this.actuator = new Actuator;
this.startTiles = 2;
this.inputManager.on("move", this.move.bind(this));
this.i... |
import config from 'config';
import React from 'react';
import Layout from './email.layout';
import { get } from 'lodash';
import { quoteEmail } from '../lib/email';
const styles = {
btn: {
display: 'block',
maxWidth: '240px',
borderRadius: '16px',
backgroundColor: '#3399FF',
color: 'white',
... |
/*! For license information please see Serialise.js.LICENSE.txt */ |
import React from 'react';
import PropTypes from 'prop-types';
const Cloud = props => {
const { color, size, ...otherProps } = props;
return (
<svg
xmlns="http://www.w3.org/2000/svg"
width={size}
height={size}
viewBox="0 0 24 24"
fill="none"
stroke={color}
strokeWidth=... |
// @flow
import * as React from 'react';
type Props = {
hidden?: ?boolean,
};
export default () =>
(InnerComponent: React.ComponentType<any>) =>
class HideFieldCompatibilityInterface extends React.Component<Props> {
render() {
const { hidden, ...passOnProps } = this.props;
... |
$( document ).ready(function() {
console.log("Ready! Ho ho ha ha!");
}); |
import InstancesTable from './InstancesTable';
export default InstancesTable; |
import React from 'react';
import { Layout } from 'antd';
import DocumentTitle from 'react-document-title';
import isEqual from 'lodash/isEqual';
import memoizeOne from 'memoize-one';
import { connect } from 'dva';
import { ContainerQuery } from 'react-container-query';
import classNames from 'classnames';
import pathT... |
/**
* Copyright (c) Tiny Technologies, Inc. All rights reserved.
* Licensed under the LGPL or a commercial license.
* For LGPL see License.txt in the project root for license information.
* For commercial licenses see https://www.tiny.cloud/
*
* Version: 5.8.1 (2021-05-20)
*/ |
/**
* SEO component that queries for data with
* Gatsby's useStaticQuery React hook
*
* See: https://www.gatsbyjs.org/docs/use-static-query/
*/
import React from "react"
import PropTypes from "prop-types"
import Helmet from "react-helmet"
import { useStaticQuery, graphql } from "gatsby"
import { withPrefix } fro... |
/*
@license
dhtmlxGantt v.7.1.9 Standard
This version of dhtmlxGantt is distributed under GPL 2.0 license and can be legally used in GPL projects.
To use dhtmlxGantt in non-GPL projects (and get Pro version of the product), please obtain Commercial/Enterprise or Ultimate license on our site https://dhtmlx.com/docs/p... |
$(document).ready(function(){
//victima
$('#venta_bebidas').find('form').on('submit', function() {
var form = $(this);
var data = form.serialize();
var url_form = form.attr('action');
$.post(url_form, data,
function(r_data) {
console.log(r_data... |
/**
* @version 0.43
* @author yura
*/
import React from 'react'
import Modal from 'react-native-modal'
import { View, StyleSheet, Dimensions } from 'react-native'
import { hideModal } from '@app/appstores/Stores/Modal/ModalActions'
import { ThemeContext } from '@app/theme/ThemeProvider'
const { height: WINDOW_HEIG... |
// @flow
import { compiler, beautify } from "..";
it("should handle single interface", () => {
const ts = `
interface User {
firstName: string
}
`;
const result = compiler.compileDefinitionString(ts);
expect(beautify(result)).toMatchSnapshot();
const result2 = compiler.compileDefinitionString(ts, {
inte... |
const { createSpectral, runSpectral } = require('../src/spectral.js');
test('spectral', async () => {
const fileContent = {
"file": "/home/llin/perso/spectral-comment-action/sample/openapi.yml",
"content": "openapi: 3.0.1\ninfo:\n title: Sample\n contact:\n name: REST API\n email: spectral-comment-ac... |
/*
Titanium Cloud Module
This module is used across three distinct platforms (iOS, Android, and Mobile Web), each with their own architectural
demands upon it.
Appcelerator Titanium is Copyright (c) 2009-2013 by Appcelerator, Inc.
and licensed under the Apache Public License (version 2)
Copyright 2008 Netflix... |
/*
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
* Copyright (C) 2003-2009 Frederico Caldeira Knabben
*
* == BEGIN LICENSE ==
*
* Licensed under the terms of any of the following licenses at your
* choice:
*
* - GNU General Public License Version 2 or later (the "GPL")
* http://ww... |
/*!
* ${copyright}
*/
// Provides the base implementation for all model implementations
sap.ui.define(['sap/ui/model/SimpleType', 'sap/ui/model/FormatException', 'sap/ui/model/ParseException'],
function(SimpleType, FormatException, ParseException) {
"use strict";
/**
* Constructor for a Boolean type.
*
* ... |
import * as swcHelpers from "@swc/helpers";
var C = function C(x) {
"use strict";
swcHelpers.classCallCheck(this, C);
this.x = x;
}; |
SystemJS.config({
paths: {
"npm:": "jspm_packages/npm/",
"doLittle": "Source/Master/Web/doLittle",
"constructors": "./constructors",
"Specifications": "Specifications/Master/**/*.js",
"app/": "src/",
"babel-plugin-dolittle-constructors": "./babel-plugin-dolittle-const... |
/**
* Cloud Governance Api
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: 1.0
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
*
*... |
/**
* @license
* Visual Blocks Editor
*
* Copyright 2016 Massachusetts Institute of Technology
* 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://w... |
import React, { Component } from "react";
import { Redirect } from "react-router-dom";
import axios from "axios";
import "./LandingPage.css";
import PropTypes from "prop-types";
import loginStyles from "./Login_styles";
import signupStyles from "./Signup_styles";
import Button from "../common/Button";
import { password... |
import React from 'react';
import sinon from 'sinon';
import { shallow, mount, render } from 'enzyme';
import Button from './Button';
describe('components/atoms/button', function() {
it('should have "button" and "normal" classes', function() {
expect(shallow(<Button type="normal" />).hasClass('button normal')).... |
import {SocketHandle} from '../../sockets/SocketHandle';
import {Control} from 'rete-react-render-plugin';
import classNames from 'classnames';
import {paramCase} from 'change-case';
import getPropLabel from '../../../../utils/getPropLabel';
import React from 'react';
import useReactTooltip from '../../../../hooks/useR... |
const express = require("express");
const fs = require('fs');
const bodyParser = require("body-parser");
const router = express.Router();
router.use(bodyParser.json());
// Importing objects
const database = require("../../models/sqlite.model.js");
const user = require("../../models/user.model.js");
const equipment = ... |
/* eslint-disable */
var icon = require('vue-svgicon')
icon.register({
'font-awesome/creative-commons': {
width: 1792,
height: 1792,
viewBox: '0 0 1792 1792',
data: '<path pid="0" d="M605 1233q153 0 257-104 14-18 3-36l-45-82q-6-13-24-17-16-2-27 11l-4 3q-4 4-11.5 10t-17.5 13.5-23.5 14.5-28.5 13-33.5 9.... |
/*
* @name Textures
* @description Images and videos are supported for texture.
*/
// video source: https://vimeo.com/90312869
var img;
var vid;
var theta = 0;
function setup(){
createCanvas(710, 400, WEBGL);
img = loadImage("assets/cat.jpg");
vid = createVideo(["assets/360video_256crop_v2.mp4"]);
vid.loop... |
// Libraries
const BigNumber = require('bignumber.js')
// Contract artifacts
const DInterest = artifacts.require('DInterest')
const PercentageFeeModel = artifacts.require('PercentageFeeModel')
const LinearInterestModel = artifacts.require('LinearInterestModel')
const NFT = artifacts.require('NFT')
const NFTFactory = a... |
import {request,requestNEWS} from './request';
export function getHomeMultidata(){
return request({
url:'/home/multidata'
})
}
export function getHomeNEWS(page){
return requestNEWS({
params:{
page:page,
count:10
}
})
} |
export * from './brand' |
const React = require('react');
const { Component } = require('react');
const { View, Button } = require('react-native');
const { Navigation } = require('react-native-navigation');
const testIDs = require('../../testIDs');
class BottomTabSideMenuScreen extends Component {
static options() {
return {
topBar... |
define(() => {
return function(){
console.log("1.js - Test passed - Module Linked Successfully.");
}
}); |
class Stars {
constructor(width, height, seed) {
this.seed = seed;
this.offX = 0;
this.offY = 0;
this.generate(width, height);
}
generate(width, height) {
let stars = [];
const scale = 0.1;
const threshold = 0.9;
// Set the seed
noise.seed(this.seed);
for (let x = 0; x < w... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.