text
stringlengths
2
1.05M
!function(e,n){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?n(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],n):n(e.moment)}(this,function(e){"use strict";var n="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),o="ene_feb_mar_a...
/*! * froala_editor v3.2.3 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ * Copyright 2014-2020 Froala Labs */ !function(e,c){"object"==typeof exports&&"undefined"!=typeof module?c(require("froala-editor")):"function"==typeof define&&define.amd?define(["froala-edit...
module.exports = { siteMetadata: { title: `Enso Digital`, description: `We are a proud Canadian digital agency. Our mission is to create beautifully designed digital products that generate striking brands.`, author: `@ensodigital_ca`, }, plugins: [ `gatsby-plugin-react-helmet`, { resolve...
import createSvgIcon from './utils/createSvgIcon.js'; import { jsx as _jsx } from "react/jsx-runtime"; export default createSvgIcon( /*#__PURE__*/_jsx("path", { d: "M22 10V1h-8v9c0 1.86 1.28 3.41 3 3.86V21h-2v2h6v-2h-2v-7.14c1.72-.45 3-2 3-3.86zm-2-7v3h-4V3h4zm-7.5 8.5c0 1.38-1.12 2.5-2.5 2.5H8v9H6v-9H4c-1.38 0-2.5-1...
const InternalErrors = require('../../../../../shared/errors/InternalErrors'); const Database = require('../../../../../shared/database/sql/create_table'); const { EmployeeRepository } = require('../repositories/EmployeeRepository'); class CreateEmployeeService { async run(dataEmployee) { const { name, cpf, phon...
"use strict"; // Exports a "vector set" (an array of arrays of holodeck vectors). module.exports = [// Frame latch OPM is used to create a value mailbox that decouples // the writer of the mailbox from the knowledge of how the value // written to the mailbox is consumed and for what purposes. // // Other OPM's may obs...
"use strict"; /* * Copyright (c) 2011 Vinay Pulim <vinay@milewise.com> * MIT Licensed * */ /*jshint proto:true*/ exports.__esModule = true; var assert_1 = require("assert"); var debugBuilder = require("debug"); var fs = require("fs"); var _ = require("lodash"); var path = require("path"); var sax = require("sax"); ...
var server = require('./server'); exports.createServer = function() { return server.createNew(); };
'use strict'; module.exports = { globals: { server: true, }, root: true, parser: 'babel-eslint', parserOptions: { ecmaVersion: 2018, sourceType: 'module', ecmaFeatures: { legacyDecorators: true, }, }, plugins: ['ember'], extends: [ 'eslint:recommended', 'plugin:ember/r...
'use strict'; /** * Engagement Lab * - Learning Games Core Functionality * Developed by Engagement Lab, 2016-2017 * ============== * Common functionality game controller for the Lab's socket-based learning games * * @author Johnny Richardson, Erica Salling * * ========== */ class Core { constructor() { ...
System.config({ defaultJSExtensions: true, transpiler: "babel", babelOptions: { "optional": [ "runtime", "optimisation.modules.system" ] }, paths: { "github:*": "jspm_packages/github/*", "npm:*": "jspm_packages/npm/*" }, map: { "aurelia-pal": "npm:aurelia-pal@1.0.0", "...
(function () { 'use strict'; var app = angular.module('myApp.directives', []); // Alternative of ng-include .. app.directive('myInclude', function () { return { replace: true, restrict: 'A', templateUrl: function (iElement, iAttrs) { ...
import Route from '@ember/routing/route'; import EmberObject from '@ember/object'; import {A} from '@ember/array'; export default Route.extend({ setupController(controller/*, model*/) { let items = A(); for (let index = 0; index < 10; index++) { items.push(EmberObject.create({ id: `id:${index}`...
import { compileWat, WasmRunner } from "@exercism/wasm-lib"; let wasmModule; let currentInstance; beforeAll(async () => { try { const watPath = new URL("./hello-world.wat", import.meta.url); const { buffer } = await compileWat(watPath); wasmModule = await WebAssembly.compile(buffer); } catch (err) { ...
/** @license Material-UI v1.0.0-beta.41 * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ 'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); exports.withWidth = exports.Zoom = undefined; exports.Collapse = ex...
/** * @fileoverview Description of this file. */ /** * Copyright 2018 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.a...
function jump() { const URL = "https://tgftp.nws.noaa.gov/data/observations/metar/stations/"; icao = document.form.textBox1.value; upper_icao = icao.toUpperCase() //console.log(icao) metar_URL = URL + upper_icao + '.TXT'; //metar_URL = "https://tgftp.nws.noaa.gov/data/observations/metar/st...
function login() { var err = false; var data = new Object(); var div = document.getElementById("content"); var form = document.getElementById("authentication"); var inputs = div.getElementsByTagName("INPUT"); console.log(inputs); for (var i = inputs.length - 1; i >= 0; i--) { var key...
/* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License; * you may not use this file except in compliance with the Elastic License. */ import { i18n } from '@kbn/i18n'; import { toastNotifications } from '...
// Get the Sidebar var mySidebar = document.getElementById("mySidebar"); // Get the DIV with overlay effect var overlayBg = document.getElementById("myOverlay"); // Toggle between showing and hiding the sidebar, and add overlay effect function w3_open() { if (mySidebar.style.display === 'block') { mySideb...
'use strict'; describe('Filter: filter', function() { var filter; beforeEach(inject(function($filter) { filter = $filter('filter'); })); it('should filter by string', function() { var items = ['MIsKO', {name: 'shyam'}, ['adam'], 1234]; expect(filter(items, '').length).toBe(4); expect(filter(...
import React from 'react' import { Link } from 'react-router-dom'; // import LikeToggle from './LikeToggle' const Posts = (props) => { return ( <div className='body'> {props.posts.map(post => //interating over all posts <li key={post.id} className='post' id='a...
import { Store } from "amaple"; import childIndex from "childIndex.mod.html"; class ChildIndexStore extends Store { constructor () { this.state = { childText: "child text a" }; this.auth({ childText: [childIndex] }); } } export default new ChildIndexSto...
/****************************************************************************** * * Copyright (c) 2020, the ipyregulartable authors. * * This file is part of the ipyregulartable library, distributed under the terms of * the Apache License 2.0. The full license can be found in the LICENSE file. * */ const path =...
"use strict"; // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } return new (P || (P = P...
(function ($) { "use strict"; // Initiate the wowjs new WOW().init(); // Back to top button $(window).scroll(function () { if ($(this).scrollTop() > 200) { $('.back-to-top').fadeIn('slow'); } else { $('.back-to-top').fadeOut('slow');...
/* *************************************************************************** * EZ.JWAF/EZ.JCWAP: Easy series Production. * Including JWAF(Java-based Web Application Framework) * and JCWAP(Java-based Customized Web Application Platform). * Copyright (C) 2016-2017 the original author or authors. * * This library ...
import { buildSchema } from 'graphql' import { ActivityTypeSchema } from './ActivityType' import { ContactSchema } from './Contact' import { UserSchema } from './User' import { AuthSchema } from './Auth' import { NoteSchema } from './Note' import { OpportunitySchema } from './Opportunity' import { ActivitySchema } fro...
const crypto = require('crypto') const base64 = require('./base64') const { create: createKSUID } = require('./ksuid') const funcs = { /** * Generate a random shared secret. * * @param {number} size - The size of the shared secret. * @returns {Promise<Buffer>} The shared secret. */ generateSharedSec...
import config from './../config.js'; import Base_tools_class from './../core/base-tools.js'; import Base_layers_class from './../core/base-layers.js'; class Pencil_class extends Base_tools_class { constructor(ctx) { super(); this.Base_layers = new Base_layers_class(); this.name = 'pencil'; this.layer = {}; ...
if ($('#page-movie').length > 0) { $("button#edit-btn").click(function() { alert($(this).data("id")); }); $("button#delete-btn").click(function() { alert($(this).data("id")); }); }
// COPYRIGHT © 201 Esri // // All rights reserved under the copyright laws of the United States // and applicable international laws, treaties, and conventions. // // This material is licensed for use under the Esri Master License // Agreement (MLA), and is bound by the terms of that agreement. // You may redistribute ...
import styles from './styles.module.css' import cn from 'classnames' const Title = ({ title, className }) => { return <h1 className={cn(styles.title, className)}> {title} </h1> } export default Title
const { ipcRenderer } = require('electron') const fs = require('fs-extra'); const path = require('path') const dayjs = require('dayjs') const {dialog,app} = require('electron').remote; const { loading, backup, recover } = require("../utils") const CustomerInit = require("./page/customer") const ExpressInit ...
const Engine = Matter.Engine; const World = Matter.World; const Bodies = Matter.Bodies; const Constraint = Matter.Constraint; var engine, world; var canvas; var player, playerBase, playerArcher; var baseimage; function preload() { backgroundImg = loadImage("./background.png"); baseimage = loadImage("./base.png");...
/*! * jQuery Cycle Plugin (with Transition Definitions) * Examples and documentation at: http://jquery.malsup.com/cycle/ * Copyright (c) 2007-2010 M. Alsup * Version: 2.9995 (09-AUG-2011) * Dual licensed under the MIT and GPL licenses. * http://jquery.malsup.com/license.html * Requires: jQuery v1.3.2 or later *...
// Dependencies const { GiveawaySchema, RankSchema, WarningSchema, ReactionRoleSchema } = require('../../database/models'), { MessageEmbed, MessageAttachment } = require('discord.js'), { Canvas } = require('canvacord'), Event = require('../../structures/Event'); /** * Guild delete event * @event Egglord#GuildDele...
/* -*- Mode: js; js-indent-level: 2; indent-tabs-mode: nil -*- */ /* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */ 'use strict'; var icc_events = { downloadEvent: function icc_events_downloadEvent(eventObject) { DUMP('icc_events_downloadEvent: Downloading event:', eventObject); icc._icc.s...
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-70cff199"],{"08bb":function(e,t,n){},"19ab":function(e,t,n){!function(t,n){e.exports=n()}(0,function(){return function(e){function t(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,t),i.l=!0,i.export...
const Sequelize = require('sequelize') const db = require('../db') const PmtProfile = db.define('pmtProfile', { firstName: { type: Sequelize.STRING, allowNull: false, validate: { notEmpty: true } }, lastName: { type: Sequelize.STRING, allowNull: false, validate: { notEmpty...
'use strict' /* * Create a `sub` function that takes 2 numbers as arguments and substract them * * @notions Primitive and Operators, Functions */ // Your code : function sub(a, b){ return a - b ; } //* Begin of tests const assert = require('assert') const rand = Math.random() assert.strictEqual(typeof sub, 'func...
//-------------------------------------------------------------------------- // Proyecto Icasus <https://gestionproyectos.us.es/projects/r2h2-icasus/> // Archivo: public/js/medicion.js // Desarrolladores: Juanan Ruiz (juanan@us.es), Jesus Martin Corredera (jjmc@us.es), // Joaquín Valonero Zaera (tecnibus1@us.es) //----...
const Query = require('./read'); Query.getRespuestas('862ea389-8344-49a5-b101-6d3376f7f05e') .then( data => { console.log(data) })
module.exports.cache = require('./cache')
require('dotenv').config(); const compress = require('compression'); const helmet = require('helmet'); const cors = require('cors'); const history = require('connect-history-api-fallback'); const feathers = require('@feathersjs/feathers'); const configuration = require('@feathersjs/configuration'); const express = re...
/* * Copyright 2020 - Transmute Industries Inc. * * 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 ...
import React from 'react'; import withIconEnhancer from '../HOCs/withIconEnhancer'; export default withIconEnhancer('Circle1', 'circle-1', (props) => ( <svg {...props} xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"> <path stroke="none" d="M0 0h24v24H0z" fill="none"/> <path d="M12 16v-8l-2 2" /> <circle c...
module.exports = { twilio: { accountSid: process.env.TWILIO_ACCOUNT_SID, apiKey: process.env.TWILIO_API_KEY, apiSecret: process.env.TWILIO_API_SECRET, chatService: process.env.TWILIO_CHAT_SERVICE_SID, outgoingApplicationSid: process.env.TWILIO_TWIML_APP_SID, incomingAllow: process.env.TWILIO_A...
function negativePositiveNumbers(arr) { let newArr = []; for (let i = 0; i < arr.length; i++) { if (arr[i] >= 0) { newArr.push(arr[i]); } else if (arr[i] < 0) { newArr.unshift(arr[i]); } } console.log(newArr.join('\n')); } negativePositiveNumbers([3, -2,...
// Packages const fs = require('fs'); const Metalsmith = require('metalsmith'); const markdown = require('metalsmith-markdownit'); const layouts = require('metalsmith-layouts'); const permalinks = require('metalsmith-permalinks'); const assets = require('metalsmith-a...
/** * copy文件和文件夹逻辑 * * @author bian * @createDate 2016.8.28 */ var path = require("path"); var mockPaths = require("./mock-paths"); var chalk = require("chalk"); module.exports = function (Generator) { Generator.prototype.createProject = function () { var join = path.join; this.sourceRoot(joi...
import { appendForwardSlash } from "../../Source/Cesium.js"; import { Cartesian2 } from "../../Source/Cesium.js"; import { Cartesian3 } from "../../Source/Cesium.js"; import { Cartographic } from "../../Source/Cesium.js"; import { defined } from "../../Source/Cesium.js"; import { GeographicTilingScheme } from "../../So...
import { mustBeInteger } from '../checks/mustBeInteger'; /** * Computes the number of elements represented by the attribute values. * @hidden */ export function computeCount(attribs, aNames) { var aNamesLen = aNames.length; // TODO: We currently return after computing the count for the first aName, but we sh...
'use strict'; var _curry3 = require('./internal/_curry3'); var is = require('./is'); /** * Returns `true` if the specified object property is of the given type; * `false` otherwise. * * @func * @memberOf R * @since v0.16.0 * @category Type * @sig Type -> String -> Object -> Boolean * @param {Function} type ...
// @flow import * as Types from '../../../../constants/types/chat2' import TextMessage from '.' import {mapProps} from '../../../../util/container' type Props = {| isEditing: boolean, message: Types.MessageText, |} export default mapProps((props: Props) => ({ isEditing: props.isEditing, mentionsAt: props.messa...
import React, { useContext } from 'react'; import Navbar from 'react-bootstrap/Navbar'; import Nav from 'react-bootstrap/Nav'; import Image from 'react-bootstrap/Image'; import { Link, useLocation } from 'react-router-dom'; import UserContext from '../../../context/UserContext'; import './public.css'; import Logo from...
import {AmbientLight, Box3, BoxGeometry, Clock, Color, DirectionalLight, DoubleSide, FlatShading, Fog, FogExp2, FontLoader, GridHelper, HemisphereLight, IcosahedronBufferGeometry, IcosahedronGeometry, ...
var resolve = require('./index') // Resolve a single promise resolve(ask('Some question'), function (err, val) { err ? console.error(err) : console.log(val) }) // Or wrap a promise generator and resolve later var deferred = resolve(ask) deferred('Some question', function (err, val) { err ? console.error(err) : c...
'use strict'; /** * @param {*} value * @return {number} */ function toDecibel(value) { return 20 * Math.log10(value); } export default toDecibel;
let version = '2.6.0-beta.0'; export default version;
import React from 'react'; import { mount } from 'enzyme'; import renderer from 'react-test-renderer'; import Header from '../../components/Header'; import 'jest-styled-components'; describe('<Header />', () => { let nagIndex, nagNew; beforeEach(() => { nagIndex = jest.fn(); nagNew = jest.fn(); }); i...
declare type Collection = { id: string, items: Array<?string>, name: string, type: string, updatedAt: number, totalItems?: number, sourceId?: string, // if copied, claimId of original collection }; declare type CollectionState = { unpublished: CollectionGroup, resolved: CollectionGroup, pending: Co...
'use strict' var assert = require('assert') var should = require('should') var archivesUtils = require('../lib/utils.js') var collectionJson = { 'abstract': [ { 'value': 'Alexander Hamilton (1754-1804) was a Founding Father, soldier, lawyer and statesman. He served as the first United States Secretary of t...
/** * Module exports. */ exports.EventEmitter = EventEmitter; /** * Check if `obj` is an array. */ function isArray(obj) { return '[object Array]' == {}.toString.call(obj); } /** * Event emitter constructor. * * @api public */ function EventEmitter(){}; /** * Adds a listener. * * @api public */ Eve...
"use strict"; import { flushIframes, makeRSDoc, makeStandardOps } from "../SpecHelper.js"; describe("Core - exporter", () => { afterAll(flushIframes); async function getExportedDoc(ops) { const doc = await makeRSDoc(ops); const dataURL = await new Promise(resolve => { doc.defaultView.require(["core...
'use strict'; var React = require('react'); function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; } var React__default = /*#__PURE__*/_interopDefaultLegacy(React); var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'unde...
/* */ "format cjs"; /*! * AngularJS Material Design * https://github.com/angular/material * @license MIT * v1.1.4-master-e1345ae */ (function( window, angular, undefined ){ "use strict"; /** * @ngdoc module * @name material.components.whiteframe */ MdWhiteframeDirective['$inject'] = ["$log"]; angular .modul...
/* Separando meu código em modulos */ /* importando classses para o meu modulo principal */ import {Cliente} from "./cliente.js" import {Conta} from "./conta.js" const cliente1 = new Cliente(); cliente1.nome = "Leonardo"; cliente1.idade = 24; cliente1.cpf = 938483; const contaLeonardo = new Conta(); contaLeona...
/* global __dirname */ const path = require('path') const MiniCssExtractPlugin = require('mini-css-extract-plugin') const OptimizeCSSPlugin = require('optimize-css-assets-webpack-plugin') const webpack = require('webpack') const pkg = require('../package.json') module.exports = { entry: { nova: path.resolve(__di...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _propTypes = _interopRequireDefault(require("prop-types")); var _react = _interopRequireWildcard(require("react")); var _classnames3 = _interopRequireDefault(require("classnames")); var _iconsReact = requir...
// The file contents for the current environment will overwrite these during build. // The build system defaults to the dev environment which uses `environment.ts`, but if you do // `ng build --env=prod` then `environment.prod.ts` will be used instead. // The list of which env maps to which file can be found in `.angul...
'use strict'; /*jslint mocha:true, expr:true */ var crypto = require('crypto'); var node = require('./../node.js'); var account = node.randomAccount(); var account2 = node.randomAccount(); var account3 = node.randomAccount(); function postTransaction (transaction, done) { node.post('/peer/transactions', { transac...
// @flow import without from 'lodash/without' import uniq from 'lodash/uniq' import difference from 'lodash/difference' import {globalColors} from '../styles' import {proveMessage} from '../util/platforms.js' import {PlatformsExpanded} from '../constants/types/more' import type {MissingProof} from '../common-adapters/...
import axios from "axios"; export const IP_ADDRESS = "http://127.0.0.1:8000/"; export const GET_QUESTION = "api/get_all_question/"; export const GET_INTIAL_MOVIE = "api/get_popular_movies/"; export const POST_ANSWER = "api/post_answer/"; export const RESET_SERVER = "api/reset_server/"; export const MOVIE_REC = "api/ge...
import { Meteor } from 'meteor/meteor'; import { hasPermission } from 'meteor/rocketchat:authorization'; import { settings as rcSettings } from 'meteor/rocketchat:settings'; Meteor.methods({ 'livechat:saveAppearance'(settings) { if (!Meteor.userId() || !hasPermission(Meteor.userId(), 'view-livechat-manager')) { ...
import * as Config from './Config'; import program from 'commander'; describe('Config file path', () => { test('Returns config file on current path', () => { const configPath = Config.configFilePath('foobar/'); expect(configPath).toBe('foobar/changelog.config.js'); }); test('Return cli config file path...
/** * DaData.ru Suggestions jQuery plugin, version 16.6.3 * * DaData.ru Suggestions jQuery plugin is freely distributable under the terms of MIT-style license * Built on DevBridge Autocomplete for jQuery (https://github.com/devbridge/jQuery-Autocomplete) * For details, see https://github.com/hflabs/suggestions-jqu...
var helpers = require('../utils/helpers'); var _ = require('underscore'); const RESOURCEID_URL_PARAM_NAME = '$resourceId'; function ParameterMapper() { this.RESOURCE_URL_PARAM_MAP = {}; this.URL_PARAMETER_DATE_FORMAT = helpers.defaultDateFormat; } ParameterMapper.prototype.isQueryById = function (resourceName, url...
export default class BookController { constructor(client) { this.client = client; this.create = this.create.bind(this); this.delete = this.delete.bind(this); this.getAll = this.getAll.bind(this); this.getById = this.getById.bind(this); this.update = this.update.bind(t...
function main() { const v3 = [13.37,13.37,13.37,13.37,13.37]; const v5 = [13.37]; function v6(v7,v8,v9,v10) { function v11(v12,v13) { } const v15 = v11(...arguments); const v17 = arguments instanceof BigInt; let v19 = 0; do { let v22 = 0; do { for (const v23 of v3) { ...
(function ($) { $(document).ready(function () { initPage(document); }); $(document).on("opencontent.change", function (event, element) { initPage(element); }); /* function initPage(element) { $(".jplist", element).each(function () { $(this).jplist({ ...
import { Container, Input, Title, Main, Form, Button } from '../../components' import styles from './styles.module.css' import { useFormWithValidation } from '../../utils' import { AuthContext } from '../../contexts' import { Redirect } from 'react-router-dom' import { useContext } from 'react' import MetaTags from 're...
import React from 'react' export default function Pagination({goToPrevPage,goToNextPage}) { return ( <div> {goToPrevPage && <button onClick={goToPrevPage}>Prev</button>} <button onClick={goToNextPage}>Next</button> </div> ) }
// Random HexCode Generator const randomHexColorCode = () => { let n = (Math.random() * 0xfffff * 1000000).toString(16) return '#' + n.slice(0, 6) }
import "../styles/globals.css"; import "katex/dist/katex.min.css"; import "mathquill/build/mathquill.css"; import "mathquill4quill/mathquill4quill.css"; import "react-quill/dist/quill.snow.css"; function MyApp({ Component, pageProps }) { return <Component {...pageProps} />; } export default MyApp;
self.__precacheManifest = (self.__precacheManifest || []).concat([ { "revision": "a8549bb241e5315be858c25678e7b38b", "url": "./index.html" }, { "revision": "47d1e3cd70ddee00b074", "url": "./static/css/2.2ea8cd81.chunk.css" }, { "revision": "81e06e24d66cbb18f114", "url": "./static/css/m...
import React from 'react'; //import ScrollView, {RAFParticle} from '../dist/scrollview'; import ScrollView, {RAFParticle} from '../src/index'; const Sphere = (props) => { return <div style={{borderRadius: '50%', backgroundColor: 'white', width: '30px', height: '30px'}} {...props} />; }; export default class Particle...
import Column from './column'; export default Column;
import React from 'react'; import { Navbar } from 'react-bootstrap' export const Footer = () => <Navbar fixedBottom > <Navbar.Text pullRight> Created By: <Navbar.Link href="https://github.com/wolnewitz">Cory Wolnewitz</Navbar.Link> </Navbar.Text> </Navbar>
import React from "react"; import PropTypes from "prop-types"; import { useCubeQuery } from "@cubejs-client/react"; import CircularProgress from "@material-ui/core/CircularProgress"; import * as d3 from "d3"; import Typography from "@material-ui/core/Typography"; import Table from "@material-ui/core/Table"; import Tabl...
'use strict'; module.exports = { valid: [ 'require(\'foo\')', 'exports.foo = foo;', 'module.exports = foo;' ], invalid: [ { code: 'import \'foo\';', errors: [{ message: 'Unexpected import statement. Use require() instead.' }] }, { code: 'import foo from \'foo\';', errors: [{ message: 'Unexpec...
(function () { "use strict"; const mainMenuToggle = document.getElementById("main-menu-toggle"); const mainMenu = document.getElementById("main-menu"); if (mainMenuToggle) { mainMenuToggle.addEventListener("click", () => { const isExpanded = mainMenuToggle.getAttribute("aria-expanded"); mainMe...
import React from "react"; import { Pagination } from "../../components/pagination"; import { TagList } from "../../components/tag-list"; import { Title } from "../../components/title"; import { useProducts } from "../../hooks/useProducts"; import { useDispatch, useSelector } from "react-redux"; import { changeFilter...
!function(e){e.ui=e.ui||{};e.ui.version="1.12.1";var t=0,n=Array.prototype.slice;e.cleanData=function(t){return function(n){var i,r,o;for(o=0;null!=(r=n[o]);o++)try{(i=e._data(r,"events"))&&i.remove&&e(r).triggerHandler("remove")}catch(e){}t(n)}}(e.cleanData),e.widget=function(t,n,i){var r,o,s,a={},l=t.split(".")[0],d=...
import request, { api } from '@/utils/request'; export function getCompaniesUser(params) { return request({ url: '/users/', method: 'get', params }); } export function putCompanyUserInfo(data) { return request({ url: '/users/' + data.id + '/', method: 'put', data }); } export function...
/** * Copyright 2009 Google Inc. * * 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...
'use strict'; angular.module('myApp.books.detail', ['ui.router', 'ngResource']) .config(['$stateProvider', function($stateProvider) { $stateProvider.state('book', { url: '/books/detail/:bookId', templateUrl: 'books/detail.html', controller: 'booksDetailCtrl' }); }]) .controller('booksDetailCtrl', [ '...
import _ from 'lodash'; import { format as formatUrl, parse as parseUrl } from 'url'; import modules from 'ui/modules'; import Notifier from 'ui/notify/notifier'; import { UrlOverflowServiceProvider } from '../../error_url_overflow'; const URL_LIMIT_WARN_WITHIN = 1000; module.exports = function (chrome, internals) {...
import { test } from 'mapbox-gl-js-test'; import { extend } from '../../../src/util/util'; import window from '../../../src/util/window'; import Map from '../../../src/ui/map'; import { createMap } from '../../util'; import LngLat from '../../../src/geo/lng_lat'; import Tile from '../../../src/source/tile'; import { Ov...
var console = require('console'); var config = require('config'); var http = require('http'); const buildUrl = (type)=>{ return '/images/types/'+type+'.png'; } const buildMultiplierUrl = (multiplier)=>{ console.log(multiplier); if(multiplier === 0){ return '/images/multiplier/0.png'; } else if(mult...