text
stringlengths
2
1.05M
// Copyright 2013 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. /** * Setup handlers for the minimize and close topbar buttons. */ function initializeHandlers() { $('minimize-button').addEventListener('click', func...
import chai from 'chai'; import chaitHttp from 'chai-http'; import { app } from '../../index'; import initialize from '../../db/initialize'; import truncate from '../../db/truncate'; const { expect } = chai; chai.use(chaitHttp); describe('Testing author endpoints', () => { before(done => { (async () => { ...
module.exports=function(e,t){"use strict";var r={};function __webpack_require__(t){if(r[t]){return r[t].exports}var n=r[t]={i:t,l:false,exports:{}};var i=true;try{e[t].call(n.exports,n,n.exports,__webpack_require__);i=false}finally{if(i)delete r[t]}n.l=true;return n.exports}__webpack_require__.ab=__dirname+"/";function...
module.exports = (api) => { api.electrum.get_addresses = (coin) => { const coinLc = coin.toLowerCase() let addresses = { public: [], private: [] } return new Promise((resolve, reject) => { if (!api.electrumKeys[coinLc] || !api.electrumKeys[coinLc].pub) { throw new Error(`N...
'use strict' /** * Constants affecting the animation curve of an action, used by the timingMode property. * @typedef {Object} SCNActionTimingMode * @property {number} linear - Linear pacing. The animation progresses evenly throughout its duration. * @property {number} easeIn - Ease-in pacing. The animation begins...
import React, {useEffect} from 'react'; import MyCv from '../fileDownload/MyCv.pdf' import { AiOutlineCloudDownload } from "react-icons/ai" import HeaderContainer from '../components/Layout/HeaderContainer' import '../styles/Pdf.scss' const Pdf = () => { useEffect(() => { if(typeof window.orientation !== "...
//Global Vars var inProp = {}; var CertUtils = Java.type("com.tremolosecurity.kubernetes.artifacts.util.CertUtils"); var NetUtil = Java.type("com.tremolosecurity.kubernetes.artifacts.util.NetUtil"); var cfg_obj = {}; var k8s_obj = {}; var ouKS; var ksPassword; var secret_data_changed = true; var amq_secrets_changed = t...
/* * Copyright 1999-2018 Alibaba Group Holding 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 * Unless required by applicable law o...
$(document).on({ ajaxStart: function () { $("body").addClass("loading"); }, ajaxStop: function () { $("body").removeClass("loading"); }, }); $(() => { getTechnicalReports(); }); /*Funcion para recuperar las ordenes de trabajo*/ getTechnicalReports = () => { let xhr = new XMLHttpRequest(); xhr.open("...
import { _getProvider as t, getApp as e, _removeServiceInstance as n, _registerComponent as r, registerVersion as s, SDK_VERSION as i } from "@firebase/app"; import { Component as o } from "@firebase/component"; import { createMockUserToken as u, getModularInstance as c } from "@firebase/util"; import { Logger as a,...
// Makes sure animations has ended required for animate.css $.fn.extend({ animateCss: function (animationName, callback) { var animationEnd = (function (el) { var animations = { animation: 'animationend', OAnimation: 'oAnimationEnd', MozAnimation: 'mozAnimationEnd', WebkitAnimation: 'webk...
const path = require('path'); module.exports = (node, scope) => { const [libName, ident, type] = node.tree; if (typeof ident === 'string' && scope.variables.has(ident)) { throw error(node, 'REDECLARATION', ident); } else if (Array.isArray(ident)) { for (const [, importID] of ident) { ...
describe('Chart.controllers.bar', function() { describe('auto', jasmine.specsFromFixtures('controller.bar')); it('should be constructed', function() { var chart = window.acquireChart({ type: 'bar', data: { datasets: [ {data: []}, {data: []} ], labels: [] } }); var...
/* colpick Color Picker Copyright 2013 Jose Vargas. Licensed under GPL license. Based on Stefan Petre's Color Picker www.eyecon.ro, dual licensed under the MIT and GPL licenses For usage and examples: colpick.com/plugin */ (function ($) { var colpick = function () { var tpl = '<div class="colpick" style="z-in...
// Copyright (C) 2011 Sean Swezey // 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, modify, merge, publish, dis...
(window.webpackJsonp=window.webpackJsonp||[]).push([[3],{52:function(t,n,e){"use strict";e.r(n);var s=e(0),c=Object(s.a)({},function(){var t=this.$createElement;return(this._self._c||t)("div",{staticClass:"content"})},[],!1,null,null,null);n.default=c.exports}}]);
const fs = require('fs'); const path = require('path'); const webpack = require('webpack'); const { createElement } = require('rax'); const renderer = require('rax-server-renderer'); const interopRequire = require('./interopRequire'); const getAssets = require('./getAssets'); const getWebpackNodeConfig = require('./ge...
import crEsDimConfig from './crEsDimConfig'; import crSdnDimConfig from './crSdnDimConfig'; import crDimConfig from './crDimConfig'; import loadJson from './loadJson'; const _isArr = Array.isArray; const _isEs = (dimension, source) => dimension && source === 'Eurostat' const _isSdn = item => item && item.id && ...
import { FETCH_ITEMS, ADD_ITEM, DELETE_ITEM, SAVE_ITEM } from "../actions"; export default function (state = [], action) { switch (action.type){ case FETCH_ITEMS: if (action.payload.status === 200) { return action.payload.data; } else { return state; ...
function formValidate() { var number = document.forms["payment"]["number"].value; var month = document.forms["payment"]["month"].value; var year = document.forms["payment"]["year"].value; var code = document.forms["payment"]["code"].value; if(isEmpty(number)) if(isEmpty(month)) ...
// Generated by CoffeeScript 1.3.3 (function() { var TreeStream; TreeStream = require('./treestream'); module.exports = function(roots, list, callback) { var files, root, stream, _i, _len, _results; stream = new TreeStream(list); files = []; stream.on('file', function(file) { return files....
import { appName, buildVersion, version } from 'config'; export const index = async ctx => { ctx.body = { appName: appName, environment: process.env.NODE_ENV || 'development', version: version, build: buildVersion, }; ctx.status = 200; };
CKEDITOR.plugins.setLang("smiley","az",{options:"Smayli-nin seçimləri",title:"Smayli-ni daxil et",toolbar:"Smayli"});
import pino from 'pino' const logger = pino({ level: process.env.LOG_LEVEL || 'info' }); export default logger
module.exports = function (string) { var i = 0; var replacements = { 'AB': 'AA', 'BA': 'AA', 'CB': 'CC', 'BC': 'CC', 'AA': 'A', 'CC': 'C' }; while (i < string.length) { var replacement = replacements[string.substr(i, 2)]; if (replacement) { string = string.substr(0, i) +...
const Ciudad = require('../models/Ciudad'); const Estado = require('../models/Estado'); const { isBoolean } = require('./CategoriasController'); /* ========================================== Registrar un ciudad: POST - /ciudad Body: (x-www-form-urlencoded) nameCiudad (string), idEstadoF (int) ======================...
/* * jQuery Superfish Menu Plugin - v1.7.4 * Copyright (c) 2013 Joel Birch * * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-license.php * http://www.gnu.org/licenses/gpl.html */ ;(function ($) { "use strict"; var methods = (function () { // private properties and m...
module.exports = new Date(1973, 2, 14)
!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define("react",[],e);else{var t;t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this,t.React=e()}}(function(){return function e(t,n,r)...
import * as React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( /*#__PURE__*/React.createElement("path", { d: "M18 2.01L6 2c-1.1 0-2 .89-2 2v16c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V4c0-1.11-.9-1.99-2-1.99zM17 20H7c-.55 0-1-.45-1-1v-7.02c0-.55.45-1 1-1h10c.55 0 1 .45 1 1V19c...
// All material copyright ESRI, All Rights Reserved, unless otherwise specified. // See http://js.arcgis.com/3.15/esri/copyright.txt and http://www.arcgis.com/apps/webappbuilder/copyright.txt for details. //>>built define({"widgets/Search/nls/strings":{_widgetLabel:"Ie\u0161koti",searchResult:"Paie\u0161kos rezultat...
/* globals gettext:false, trackEvent:false, jQuery */ /* * users.js * Make public emails clickable. */ (function ($) { function makeEmailsClickable() { // bail if no emails on page var $emails = $('.email'); if ($emails.length === 0) { return false; } $emails.each(function () { var...
/* * 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 ...
/* global define */ ;(function (root, factory) { if (typeof define === 'function' && define.amd) { // eslint-disable-line // AMD. Register as an anonymous module. define(['exports', 'echarts'], factory) // eslint-disable-line } else if ( typeof exports === 'object' && typeof exports.nodeName !==...
import { graphql, useStaticQuery } from 'gatsby' import Img from 'gatsby-image' import React from 'react' /* * This component is built using `gatsby-image` to automatically serve optimized * images with lazy loading and reduced file sizes. The image is loaded using a * `useStaticQuery`, which allows us to load the ...
(function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object....
const { PushNotificationIOS } = require('react-native'); class AlarmServiceDriver { constructor() { this.hasPermission_ = null; this.inAppNotificationHandler_ = null; PushNotificationIOS.addEventListener('localNotification', (instance) => { if (!this.inAppNotificationHandler_) return; if (!instance || ...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.searchingEntries = searchingEntries; exports.searchSuccess = searchSuccess; exports.searchFailure = searchFailure; exports.querying = querying; exports.querySuccess = querySuccess; exports.queryFailure = queryFailure; exports.clearS...
module.exports = function (config) { config.resolve.extensions = ['.sketch.js', '.js', '.jsx'] config.module.rules.push({ test: /\.(html)$/, use: [{ loader: "@skpm/extract-loader", }, { loader: "html-loader", options: { attrs: [ 'img:src', ...
const path = require('path'); module.exports = { mode: 'production', entry: { index: './src/index.js', }, output: { path: path.join(__dirname, 'dist'), filename: '[name]_[hash:8].js', }, optimization: { runtimeChunk: true, splitChunks: { chunks: 'all' }, }, };
define(function(require) { 'use strict'; var _ = require('underscore') , Base = require('app/views/Base') , socket = require('app/utils/socket') , log = require('bows.min')('Views:Comments') return Base.extend({ temp...
'use strict'; module.exports = { type: 'error', error: { line: 2, column: 1, message: 'Unexpected end of file. The comma \',\' at 1:13 should be followed by a target name.', }, };
import React, { useEffect, useState } from "react"; import { View } from "react-native"; import { Dimensions } from "react-native"; import { VictoryAxis, VictoryLine, VictoryScatter, VictoryBar, VictoryChart, VictoryLabel, } from "victory-native"; import { appColor } from "../configs/styles"; import * as An...
define(["./cssRule"], function(CssRule) { "use strict"; /** * Wraps a native CSSStyleSheet object with methods that help access the * native sheet object and the associated CSSRule objects. * * Examples: * * var styleSheet = new StyleSheet(styleTag); * * @param {String} styleTag is a `<styl...
'use strict'; /* eslint no-param-reassign: 0, max-len: 0 */ const _ = require('lodash'); const History = require('./history'); module.exports = class SurveyHistory extends History { constructor() { super(['authorId', 'id', 'name', 'description', 'status']); } filterListServersByStatus(result, s...
(function () { 'use strict'; describe('Suite 1 (Level 1)', function () { it('Suite 1, Spec 1', function () { expect(true).toEqual(true); }); it('Suite 1, Spec 2', function () { expect(true).toEqual(true); }); it('Suite 1, Spec 3', function (done)...
import { terser } from 'rollup-plugin-terser'; import copy from 'rollup-plugin-copy'; export default [ { input: 'src/mathlive.js', plugins: [ terser({ sourcemap: false, compress: { drop_console: true, drop_debugger:...
import axios from "axios"; export default () => { return axios.create({ baseURL: `http://localhost:3001`, headers: { Authorization: 'Basic dXN1YXJpbzpzZW5oYQ==' } }); };
import chai, { expect } from 'chai' import { shallowMount, mount } from '@vue/test-utils' import Uploader from '@/uploader.vue' import sinon from 'sinon' import sinonChai from 'sinon-chai' chai.use(sinonChai) import http from '../../src/http.js' describe('Uploader.vue', () => { it('Uploader存在', () => { expect(...
export default class Rectangle{ constructor(x = 0, y = 0, width = 0, height = 0){ this.x = x; this.y = y; this.width = width; this.height = height; } }
/** * 获取音乐音质 * @param {*} info * @param {*} type */ const types = ['flac', 'ape', '320k', '192k', '128k'] export const getMusicType = (info, type) => { switch (info.source) { // case 'kg': case 'wy': case 'tx': return '128k' } const rangeType = types.slice(types.indexOf(type)) for (const ...
import React, { Component } from 'react'; import { StyleSheet, View, Text, ScrollView, Picker, TouchableNativeFeedback, TouchableOpacity, Alert, BackHandler, TextInput, DeviceEventEmitter } from 'react-native'; import { Item, Icon } from 'native-base'; import { FormLabel, FormInput } from 'react-native-elements' i...
/*eslint-env node */ /* eslint quotes: [2, "single"], no-console: 0 */ var path = require('path'); var koa = require('koa'); var bodyParser = require('koa-bodyparser'); var serve = require('koa-static'); var render = require('koa-ejs'); var router = require('koa-router')(); var app = koa(); var items = []; render(ap...
import React from "react"; import Markdown from "markdown-to-jsx"; import moment from "moment"; import {PostDate} from "../"; import {AuthorAvatar, AuthorDetails, AuthorName} from "../Author"; import {CommentContainer} from "./"; import {HyperLink, CodeBlock} from "../../Markdown/Overrides"; export const Comment = (...
export function configure(aurelia) { aurelia.use .standardConfiguration() .developmentLogging() // Install the plugin // .plugin('aurelia-bs-modal'); aurelia.start().then(a => a.setRoot()); }
const express = require("express"); const router = express.Router(); const { getCategories, getCategoryById, createCategory, updateCategory, deleteCategory, getProductsFromCategory } = require('./categoriesController'); router.get('/', async function(req, res, next) { try { const ca...
/** * Layout component that queries for data * with Gatsby's useStaticQuery component * * See: https://www.gatsbyjs.org/docs/use-static-query/ */ import React from "react" import PropTypes from "prop-types" import { useStaticQuery, graphql, Link } from "gatsby" import Header from "./header" import "./layout.css" ...
const Joi = require('joi'); const id = Joi.number().integer(); const name = Joi.string(); const fecha = Joi.string(); const getGradeSchema = Joi.object({ id: id.required(), }); const createGradeSchema = Joi.object({ name: name.required(), fecha: fecha.required(), }); const updateGradeSchema = Joi.object({ ...
/*! * Angular Material Design * https://github.com/angular/material * @license MIT * v0.8.3 */ goog.provide('ng.material.components.toolbar'); goog.require('ng.material.components.content'); goog.require('ng.material.core'); (function() { 'use strict'; /** * @ngdoc module * @name material.components.toolbar */...
/** Copyright 2018 Cisco and/or its affiliates 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 t...
// flow-typed signature: 5f1298f20d2329f008c4e3913692b542 // flow-typed version: <<STUB>>/babel-preset-flow_v^6.23.0/flow_v0.40.0 /** * This is an autogenerated libdef stub for: * * 'babel-preset-flow' * * Fill this stub out by replacing all the `any` types. * * Once filled out, we encourage you to share your...
var modal = document.querySelector('.modal'); var modalFrame = document.querySelector('.modal-frame'); var modalClose = document.querySelector('.modal-close'); var modalTitle = document.querySelector('.modal-title'); (function() { var counter = document.querySelector('.stargazers'); var xhr = new XMLHttpRequest(); ...
/** * ShapeInfo.js * @copyright 2002, 2017 Kevin Lindsey */ import {Point2D} from "kld-affine"; import {PathParser} from "kld-path-parser"; import PathHandler from "./PathHandler.js"; const degree90 = Math.PI * 0.5; const parser = new PathParser(); /** * getValues * * @param {Array} types * @param {Array} ...
var SimpleStorage = artifacts.require("./SimpleStorage.sol"); var Betme = artifacts.require("./Betme.sol"); module.exports = function (deployer) { deployer.deploy(SimpleStorage); deployer.deploy(Betme); };
const articledown = require('./index'); const BAD_ARG_ERROR = 'Bad argument sent, must be a non empty string'; const BAD_URL_ERROR = url => `Url ${url} is not found`; test('Send good url', async () => { const url = 'https://medium.com/@johndevore/i-am-fine-a19b36867a33'; return expect(await articledown(url)).toMa...
import React from 'react'; const Main = (props) => { return <main>{props.children}</main>; }; export { Main };
'use strict'; exports.register = function(socket) { socket.on('change:issue', function(issue) { socket.broadcast.emit('issue:changed', { issue: issue }); }); };
"use strict"; var Page = (function () { var Page = function (options) { var options = options || {}; this.Name = "Page"; this.Type = "dxDataGrid"; this.id = options.id || (this.Name + (new Date()).getTime()); this.Component = null; this.permit = getACL(this.Name) |...
! function() { "use strict"; function e(e, t) { if (e) { if (t.element_.classList.contains(t.CssClasses_.MDL_JS_RIPPLE_EFFECT)) { var s = document.createElement("span"); s.classList.add(t.CssClasses_.MDL_RIPPLE_CONTAINER), s.classList.add(t.CssClasses_.MDL_JS...
//>>built define("dojox/gfx/svg", ["dojo/_base/lang", "dojo/_base/window", "dojo/dom","dojo/_base/declare", "dojo/_base/array", "dojo/dom-geometry", "dojo/_base/Color", "./_base", "./shape", "./path"], function(lang, win, dom, declare, arr, domGeom, Color, g, gs, pathLib){ /*===== dojox.gfx.svg = { // module: //...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); /** * Types considered simple: * * - primitive types * - literal types * - mixed and any types * - generic types (such as Date, Promise<string>, $Keys<T>, etc.) * - array type written in shorthand notation * * Ty...
describe('The ch.Validation', function () { var Validation = ch.Validation, form = '<form id="form{ID}" action="./" class="ch-form"><div class="ch-form-row"><label>Test {ID}</label><input id="validation{ID}" type="text"></div><div class="ch-form-actions"><input type="submit" class="ch-btn"></div></form>', idGenera...
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path d="M18.5 12c0-1.77-1.02-3.29-2.5-4.03v8.05c1.48-.73 2.5-2.25 2.5-4.02zM5 10v4c0 .55.45 1 1 1h3l3.29 3.29c.63.63 1.71.18 1.71-.71V6.41c0-.89-1.08-1.34-1.71-.71L9 9H6c-.55 0-1 .45-1 1z" /><...
import moment from "moment" import React from "react" import PanelLoader from "misago/components/panel-loader" import PanelMessage from "misago/components/panel-message" import misago from "misago/index" import polls from "misago/services/polls" import title from "misago/services/page-title" export default class exten...
/* * Tambahin nama author lah * Author nya Radya and Nazwa * Tambahin ya zhayank * Jan numpang nama doank * Baca readme nya biar gk tanya tanya */ const { WAConnection, MessageType, Presence, Mimetype, GroupSettingChange } = require('@adiwajshing/baileys') /******BEGIN OF FILE INPUT******/ const { c...
export * from './en.js'; export * from './fr.js'; export * from './nl.js'; export * from './pt-br.js'; export * from './tr.js'; export * from './ru.js';
import { OutlineCardGiftcard as FilledRedeem } from './OutlineCardGiftcard'; export { FilledRedeem };
exports.up = function(knex) { return knex.schema.alterTable("mesures", function(table) { table .integer("ti_id") .references("id") .inTable("tis"); }); }; exports.down = function() { return Promise.resolve(); };
/** * @license * * Use of this source code is governed by an MIT-style license */ import { __awaiter } from 'tslib' import { SchemaBuilder } from '../schema-builder' export class PostgresSchemaBuilder extends SchemaBuilder { createDatabase(name) { return this.connection.statement( this.grammar.compileC...
/** * Created by Video on 2016.11.06.. */ function bar() { var elsosor= ['']; var data = { labels: elsosor.concat($('#bar').data('nevek')) , series: [ { label: 'Fokszám', values: elsosor.concat($('#bar').data('degree')) }, /*{ label: '2013', values: [12, 43, 22, 11, 73, 25] ...
import React, { useState } from "react" import { Link } from "gatsby" import { FiAlignJustify } from "react-icons/fi" import { MdMovie } from "react-icons/md" import { IconContext } from "react-icons" export const Navbar = () => { const [show, setShow] = useState(false) return ( <nav className="navbar"> ...
const fs = require('fs'); const path = require('path'); const chalk = require('chalk'); const parse = require('react-docgen').parse; const chokidar = require('chokidar'); let paths = { examples: path.join(__dirname, '../src', 'docs', 'examples'), components: path.join(__dirname, '../src', 'components'), output: ...
var jsffmpeg = require(__dirname + "/../index.js"); var args = require("node-getopt").create([ ["", "source=FILE", "source video"], ["", "target=FOLDER", "target folder"], ["", "renditions=OBJECT", "renditions object"], ["", "watermark=FILE", "watermark image"], ["", "docker=CONTAINER", "docker"], ["", "timeout=...
/** * @author Ammar Faizi <ammarfaizi2@gmail.com> */ class login{ constructor(t){ this.crayner = new crayner; this.dt = (new Date).getTime(); this.dv = 0; this.t = t; } l(urlx){ this.crayner.xhr( "GET",urlx+"?tq="+(this.t.substr(0,32))+"&ts="+thi...
const router = require('express').Router(); const { Tag, Product, ProductTag, Category } = require('../../models'); // The `/api/tags` endpoint router.get('/', async (req, res) => { // find all tags // be sure to include its associated Product data try{ const tagData = await Tag.findAll({ include:[{m...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.checkCachedDataLink = exports.getNextRevisionFromEntry = exports.getOrCreateRegistryEntry = exports.getNextRegistryEntry = exports.getOrCreateRawBytesRegistryEntry = exports.getRawBytes = exports.setDataLink = exports.deleteJSON = expo...
import React from "react"; import { Table, Row, Col, Divider } from "antd"; import PropTypes from "prop-types"; import Highlight from "react-highlighter"; import downloadFileFromDocumentManager from "@/utils/actionlessNetworkCalls"; import LinkButton from "@/components/common/LinkButton"; /** * @class DocumentResult...
const graphQlLib = require('/lib/graphql'); for (var exportKey in graphQlLib) { exports[exportKey] = graphQlLib[exportKey]; } exports.createObjectType = function (context, params) { const creationCallback = context.options && context.options.creationCallbacks && context.options.creationCallbacks[params.name];...
/* Bean Counting: You can get the Nth character, or letter, from a string by writing "string". charAt(N), similar to how you get its length with "s".length. The returned value will be a string containing only one character (for example, "b" ). The first character has position zero, which causes the last one to be fo...
import React from 'react'; const AttachmentIcon = props => ( <svg {...props.size || { width: '24px', height: '24px' }} {...props} viewBox="0 0 24 24"> {props.title && <title>{props.title}</title>} <path fill={props.fill || '#666666'} d="M16.5,6V17.5A4,4 0 0,1 12.5,21.5A4,4 0 0,1 8.5,17.5V5A2.5,2.5 0 0,1 11,2...
/*** * @copyright 2017 Digital Devils BV * @author Digital Devils BV <info@digitaldevils.nl> * @package Remote Gallery * @link https://www.digitaldevils.nl/ * @version 1.0 ***/ var remoteGallery = (function(){ // Define variables var input = new URL(window.location).searchParams; var folder...
let mesh, group, axesHelper, ground, lightDirectional, cameraHelper; let sceneRotation = 1; let renderer, camera, controls, scene; function initThreejs () { camera = new THREE.PerspectiveCamera( 40, window.innerWidth / window.innerHeight, 1, 1000 ); camera.position.set( - 100, - 100, 100 ); camera.up.set( 0, 0...
const express = require('express'); const router = express.Router(); router.get('/', function(req, res) { res.render('index'); }); module.exports = router;
import React, { Component } from 'react'; import { connect } from 'react-redux'; import { Link } from 'react-router-dom'; import PropTypes from 'prop-types'; import routes, { formatDate, hasPermission, err } from '../../constants'; import { sendFlashMessage, clearFlashMessages, fetchPermission, deletePermission, a...
//>>built define( //begin v1.x content ({ displayOptions: "[zobraziť voľby]", title: "Nadpis", authors: "Autori", contributors: "Prispievatelia", id: "ID", close: "[zatvoriť]", updated: "Aktualizovaný", summary: "Súhrn", content: "Obsah" }) //end v1.x content );
/** * Creates a new permission group * @param name {String} Name of the permission group */ PermissionGroup.prototype.constructor = function(name) { if (name) { this.name = name; } else { throw "Invalid PermissionGroup! Some parts are missing!"; } };
//CoverViewer Open labels dialog CoverViewer.prototype.LabelsOpen = function() { //Check for create the labes window if(this.labels.created === false) { //Create the labels window this.LabelsCreate(); //Set created as true this.labels.created = true; } //Show the labels dialog this.labels.Show(); }; //...
import React from "react"; import { useQuery } from "@apollo/react-hooks"; import { useEditionSelector } from "hooks"; import { STATS } from "queries/admin"; import { Heading, Section, } from "components/2020/uikit"; export const DasboardCard = ({ title, icon, items, // [ [left, right], [left, right], ......
module.exports = { skipFiles: ['Migrations.sol','test','zeppelin'], providerOptions: { network_id: 5888, //vmErrorsOnRPCResponse: false } };
var Analyzer = (function() { function Analyzer(options) { var defaults = { simplifyTolerance: 10 }; this.opt = _.extend({}, defaults, options); this.init(); } Analyzer.prototype.init = function(){ this.memory = []; this.memoryLimit = this.opt.player.instruments.length; this.mode...