text
stringlengths
2
1.05M
require('babel-register'); require('babel-polyfill'); module.exports = { networks: { development: { host: "127.0.0.1", port: 8545, network_id: "*" // Match any network id }, }, contracts_directory: './src/contracts/', contracts_build_directory: './src/abis/', compilers: { solc: ...
module.exports = { displayName: 'ui-localization', preset: '../../../jest.preset.js', transform: { '^.+\\.[tj]sx?$': 'babel-jest', }, moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx'], coverageDirectory: '../../../coverage/libs/ui/localization', };
"use strict";function modifierStateGetter(t){var e=this,r=e.nativeEvent;if(r.getModifierState){return r.getModifierState(t)}var i=modifierKeyToProp[t];return!!i&&!!r[i]}function getEventModifierState(t){return modifierStateGetter}var modifierKeyToProp={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};mod...
/* Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ CKEDITOR.plugins.setLang( 'contextmenu', 'fo', { options: 'Context Menu Options' } );
var searchData= [ ['transform_5ffunctions_2eh',['transform_functions.h',['../transform__functions_8h.html',1,'']]], ['transform_5ffunctions_5ff16_2eh',['transform_functions_f16.h',['../transform__functions__f16_8h.html',1,'']]], ['transformfunctions_2ec',['TransformFunctions.c',['../TransformFunctions_8c.html',1,...
const packageNames = require('./build/getPackageNames').getPackageNames(); const PATH = { npm: '@semantic-release/npm', gh: '@semantic-release/github', exec: '@semantic-release/exec', git: '@semantic-release/git' }; exports.branch = 'master'; exports.tagFormat = '${version}'; exports.generateNotes = {config: ...
function printFibo(n, a, b) { if (n === 0) return ""; if(n===1) { console.log(`${a}`) } else if(n ===2) { console.log(`${a}, ${b}`); } else { let seq = `${a}, ${b}`; let nextA = a; let nextB = b; for(let i=0; i<n-2; i++) { let nextVal = nextA + nextB; nextA = ne...
/** * @author: Dennis Hern?ndez * @webSite: http://djhvscf.github.io/Blog * @version: v1.0.0 */ (function ($) { 'use strict'; var initResizable = function (that) { //Deletes the plugin to re-create it that.$el.colResizable({disable: true}); //Creates the ...
import Axios from "axios"; import * as Types from "../types/Types"; import { message } from "antd"; const {REACT_APP_API}= process.env export const shareNote=(data)=>async(dispatch)=>{ console.log(localStorage.auth_token) try{ const Note = await Axios.post(`${REACT_APP_API}/note/share`,data,{ h...
/** * 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.1.1 (2019-10-28) */ (function (domGlobals) { 'use st...
// ========================================================================== // Fetch wrapper // ========================================================================== export default function fetch(url, responseType = 'text') { return new Promise((resolve, reject) => { try { const request = new XMLHtt...
const path = require('path'); const Webpack = require('webpack'); const { CleanWebpackPlugin } = require('clean-webpack-plugin'); const MiniCssExtractPlugin = require('mini-css-extract-plugin'); const ImageminWebpackPlugin = require('imagemin-webpack'); const HtmlWebpackPlugin = require('html-webpack-plugin'); const Co...
import { extendTheme } from "@chakra-ui/react"; const config = { initialColorMode: "dark", useSystemColorMode: false, }; const theme = extendTheme({ config, colors: { purple: { 50: "#EEE6FE", 100: "#CFBAFC", 200: "#B18EFB", 300: "#9262F9", 400: "#7436F7", 500: "#5509F6", ...
module.exports={A:{A:{"2":"O D G E A B mB"},B:{"2":"C I F P J K L Y","450":"KB M N S T YB V"},C:{"2":"0 1 2 3 4 5 6 7 8 9 kB bB H Z O D G E A B C I F P J K L a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB QB HB IB JB R LB MB NB OB GB X W VB RB SB TB UB PB Y KB M lB N S T tB wB"},D:{"2":"0 1 2 3 4...
'use strict'; module.exports = function isArrayish(obj) { if (!obj) { return false; } return obj instanceof Array || Array.isArray(obj) || (obj.length >= 0 && obj.splice instanceof Function); };
// This file was procedurally generated from the following sources: // - src/class-fields/static-private-methods.case // - src/class-fields/productions/cls-expr-after-same-line-async-gen.template /*--- description: static private methods (field definitions after an async generator in the same line) esid: prod-FieldDefi...
!function(){function getStyles(config){ return "<style>"+config.selector+"{width:90px;height:20px}"+config.selector+" [class*=entypo-]:before{font-family:entypo,sans-serif}"+config.selector+" label{font-size:16px;cursor:pointer;margin:0;padding:5px 10px;border-radius:5px;background:"+config.button_background+";color:"+...
/** Custom Routes ============= You can create your own routing here. This is prioritized over automatic controller routing. **/ var routes = { /** Example: '/test' : function(req, res, next) { res.end('Hello World')}, //defaults to all GET, POST, DELETE, etc '/sample' : { //more specific get: functi...
var t=Object.defineProperty,e=Object.defineProperties,r=Object.getOwnPropertyDescriptors,s=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable,o=(e,r,s)=>r in e?t(e,r,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[r]=s,i=(t,e)=>{for(var r in e||(e={}))a.call(e,...
import React from 'react' import TZIGrid from './TZIGrid' import { StaticQuery, graphql, navigate } from 'gatsby' import { css } from '@emotion/core' import Img from "gatsby-image" import theme from '../../config/theme' const animalLinkCss = css` border: 3px solid #eaeaea; border-radius: 3px; &:hover { backg...
import Reality from '../Reality.js' import XRAnchor from '../XRAnchor.js' import XRViewPose from '../XRViewPose.js' import XRAnchorOffset from '../XRAnchorOffset.js' import XRLightEstimate from '../XRLightEstimate.js' import MatrixMath from '../fill/MatrixMath.js' import Quaternion from '../fill/Quaternion.js' impor...
/** * Licensed to The Apereo Foundation under one or more contributor license * agreements. See the NOTICE file distributed with this work for additional * information regarding copyright ownership. * * * The Apereo Foundation licenses this file to you under the Educational * Community License, Version 2.0 (the ...
module.exports = { enterClass: 'fadeIn', leaveClass: 'fadeOut', type: 'animation' };
const UserRole = require('./model'); module.exports = { saveUserRole, getUserRole } // Register new user function saveUserRole(req, res, next) { const role = req.body.role ? req.body.role.trim() : ''; const role = req.body.description ? req.body.description.trim() : ''; if (!role) { return res .s...
/** * DevExtreme (ui/pivot_grid/xmla_store/xmla_store.js) * Version: 19.1.5 * Build date: Tue Jul 30 2019 * * Copyright (c) 2012 - 2019 Developer Express Inc. ALL RIGHTS RESERVED * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/ */ "use strict"; var _renderer = require("../../...
// Exporting an object containing all of our models module.exports = { // YOUR CODE GOES HERE User: require("./User") };
var NAVTREE = [ [ "devcfg", "index.html", [ [ "Data Structures", null, [ [ "Data Structures", "annotated.html", null ], [ "Data Fields", "functions.html", [ [ "All", "functions.html", null ], [ "Variables", "functions_vars.html", null ] ] ] ] ], [ "APIs", "globals.html", ...
$.browser.chrome = /chrome/.test(navigator.userAgent.toLowerCase()); $.browser.ipad = /ipad/.test(navigator.userAgent.toLowerCase()); /** * Initializes page contents for progressive enhancement. */ function initializeContents() { // hide all more buttons because they are not needed with JS $(".element a.mo...
// Copyright 2021 ARKADEEP // // 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 agree...
// Variables Globals var messages = {}; // Add requires libraries var express = require('express'); var mongojs = require('mongojs'); var bodyParser = require('body-parser'); var fs = require('fs'); var isJSON = require('is-json'); var empty ...
import { useQuery, useMutation } from '@apollo/client' import { Button } from '@mui/material' import React, { Fragment, useState } from 'react' import DeleteTransaction from '../gql/deleteTransaction.gql' import GetTransactions from '../gql/transactions.gql' import { TxTable } from '../components/transactions/TxTable'...
/* * 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 in writing, software * distrib...
"use strict"; function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj ...
import { currencyBaseUrl } from "../BaseUrl" import { GET } from "../../libapi/rest/request/methods/Get"; import GETRequest from "../../libapi/rest/request/GETRequest"; import UrlBuilder from "../../libapi/rest/request/UrlBuilder"; class GetCurrencies extends GETRequest { getUrl(props) { let urlBuilder = n...
'use strict'; const _ = require('lodash'); const awsArnRegExs = require('../../../../../utils/arnRegularExpressions'); const NOT_FOUND = -1; const DEFAULT_STATUS_CODES = { 200: { pattern: '', }, 400: { pattern: '[\\s\\S]*\\[400\\][\\s\\S]*', }, 401: { pattern: '[\\s\\S]*\\[401\\][\\s\\S]*', },...
const redis = require('redis'); const { promisify } = require('util'); // Create a client and connect to Redis. const client = redis.createClient({ host: 'localhost', port: 6379, // password: 'password', }); // Use Node's built in promisify to wrap the Redis // command functions we are going to use i...
const bubbleSort = require('../sorting/bubbleSort.js'); const arr = [1, 2, 3, 4]; if (arr.join('') == bubbleSort([3, 4, 1, 2]).join('')) { console.log('CONGRATION U DONE IT', bubbleSort(arr)); } else { console.log('BETTER LUCK NEXT TIME!!!! hope u like disorderly arrays, pleb') }
module.exports = function(hljs) { var BASIC_ATOM_RE = '[a-z\'][a-zA-Z0-9_\']*'; var FUNCTION_NAME_RE = '(' + BASIC_ATOM_RE + ':' + BASIC_ATOM_RE + '|' + BASIC_ATOM_RE + ')'; var ERLANG_RESERVED = { keyword: 'after and andalso|10 band begin bnot bor bsl bzr bxor case catch cond div end fun let ' + ...
import React from 'react'; import {mount} from 'enzyme'; import {MovieProfile} from '../../src/components'; const fetchResourceByUrl = jest.fn() .mockImplementation((url) => { return new Promise((resolve) => { process.nextTick(() => resolve(['Sample Name']) ); }); }); describe('Mov...
'use strict'; document.addEventListener('DOMContentLoaded', () => { const scripts = document.getElementsByTagName('script'); const pattern = new RegExp('baidu|bdstatic'); let count = 0; Array.from(scripts).forEach((current) => { const parent = current.parentNode; if (pattern.test(current.src) || patt...
import Ext_scroll_indicator_Indicator from '../../../Ext/scroll/indicator/Indicator.js'; export default class Ext_scroll_indicator_Overlay extends Ext_scroll_indicator_Indicator { static PROPERTIES() { return [ 'alignSelf', 'alwaysOnTop', 'ariaAttributes', 'ariaDescribedBy', 'ariaLabel', 'ari...
class Pawn extends Piece { constructor(team, image) { super(team, CHESS.Pawn, VALUE.Pawn, image); } getPossibleMoves(chessboard, grid, downward) { let moves = []; let possibleWays = []; if (grid.get_piece() == null) return moves; let dir = downward ? 1 : -1; if ((grid.y == 1 && dir...
const REGISTRY = {} export function registerMethod (method, resolver) { REGISTRY[method] = resolver } export function parse (did) { if (!did || did === '') throw new Error('Missing DID') const sections = did.match(/^did:([a-zA-Z0-9]+):([[a-zA-Z0-9.-]+)(\/[^#]*)?(#.*)?$/) if (sections) { const parts = {di...
$(document).ready(function(){ // autoplay on video modals $('.modal.sa-video').on('shown.bs.modal', function () { var video_id = "#" + $(this).attr("id") + "_video"; $(video_id)[0].play(); }); $('.modal.sa-video').on('hidden.bs.modal', function () { var video_id = "#" + $(this).a...
/** @namespace */ JSDOC.Util = { } /** * Turn a path into just the name of the file. */ JSDOC.Util.fileName = function(path) { var nameStart = Math.max(path.lastIndexOf("/")+1, path.lastIndexOf("\\")+1, 0); return path.substring(nameStart); } /** * Turn a path into just the directory part. */ JSDOC.Util.dir = ...
import { DeployUtil, Signer, RuntimeArgs, CLValueBuilder, CLAccountHash, CLKey, CLTypeBuilder } from 'casper-js-sdk'; import { NETWORK_NAME, PAYMENT_AMOUNT, MOTE_RATE, DEPLOY_TTL_MS } from '../constants/key'; /** * Get Transfer deploy * @param {CLPublicKey} fromAccount main account public key * @param {CLPublicKey}...
import Phaser, { Button } from 'phaser' import { centerGameObjects } from '../../utils' import BackButton from '../../components/BackButton' export default class extends Phaser.State { init () { } preload () { } create () { this.phoneBg = this.add.sprite(0, 0, 'phoneBg') this.settingsButton = new But...
import Ruler from "./ruler.js"; import { onReady } from "./dom.js"; /** Class for FontFaceObserver. */ class FontFaceObserver { static Ruler = Ruler; /** * @type {null|boolean} */ static HAS_WEBKIT_FALLBACK_BUG = null; /** * @type {null|boolean} */ static HAS_SAFARI_10_BUG = null; /** * @...
import sendgridMail from '@sendgrid/mail' sendgridMail.setApiKey(process.env.SENDGRID_KEY) export const sendMail = (toEmail, subject, content) => { const msg = { to: toEmail, from: process.env.DEFAULT_EMAIL, subject, html: content } return sendgridMail.send(msg) }
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...
(window.webpackJsonp=window.webpackJsonp||[]).push([[45],{112:function(n,e,t){"use strict";t.r(e),t.d(e,"frontMatter",(function(){return s})),t.d(e,"metadata",(function(){return r})),t.d(e,"toc",(function(){return l})),t.d(e,"default",(function(){return c}));var a=t(3),o=t(8),i=(t(0),t(572)),s={id:"configuration",title...
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...
!function(e){function r(r){for(var n,a,i=r[0],c=r[1],l=r[2],s=0,p=[];s<i.length;s++)a=i[s],Object.prototype.hasOwnProperty.call(o,a)&&o[a]&&p.push(o[a][0]),o[a]=0;for(n in c)Object.prototype.hasOwnProperty.call(c,n)&&(e[n]=c[n]);for(f&&f(r);p.length;)p.shift()();return u.push.apply(u,l||[]),t()}function t(){for(var e,r...
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...
module.exports={D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0.005809,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0.023236,"23":0,"24":0.005809,"25":0,"26":0.005809,"27":0,"28":0,"29":0.023236,"30":0,"31":0,"32":0.005809,"33":0,"34":0.011618,"35":0,"36":0,"37":0.005809,"38":0.017427...
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("packag...
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 * Copyright (c) 2016 Matthieu Aussaguel;*/(function(){var a,b,c,d,e,f=function(a,b){return function(){return a.apply(b,arguments)}},g=[].indexOf||function(a){for(var b=0,c=this.length;c>b;b++)if(b in this&&this[b]===a)return b;return-1};b=function(){function a(){}return a.prototype.extend=...
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.docu...
'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 &copy; $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 ,file:'SUQzBAAAAAAAI1RTU0UAAAAPAAADTGF2ZjU3LjcyLjEwMQAAA...
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. //------------...