text
stringlengths
2
1.04M
export {default} from './note'
define({ root: ({ addDistance: "Add Length Unit", addArea: "Add Area Unit", label: "Label", abbr: "Abbreviation", conversion: "Conversion", actions: "Actions", areaUnits: "Area Units", distanceUnits: "Length Units", kilometers: "Kilometers", miles: "Miles", meters: "Meters"...
(function() { var CA, CAattrs, CAextensions, Forge, Promise, ServerAttrs, ServerExtensions, _, asterisksRe, fs, generateKeyPairAsync, ipAddressRe, path, pki; _ = require("lodash"); fs = require("fs-extra"); path = require("path"); Forge = require("node-forge"); Promise = require("bluebird"); fs = Pr...
import React from 'react' import { mount } from 'enzyme' import Avatar from '..' import mountTest from '../../../../tests/shared/mountTest' describe('Avatar Render', () => { mountTest(Avatar) let originOffsetWidth beforeAll(() => { // Mock offsetHeight originOffsetWidth = Object.getOwnPropertyDescriptor...
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[5],{ /***/ "./node_modules/babel-loader/lib/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/App/pages/contact.vue?vue&type=script&lang=js&": /*!***********************************************************************************************...
function Dataset (options) { this.name = options.name; this.rs = {}; return this; } Dataset.prototype.loadMeta = function () { // includes details of available recordsets var dataset = this; d3.json(dataset.name+'/meta.json',function(error,json){ if (error) return console.warn(error); dataset.meta ...
/* ***** BEGIN LICENSE BLOCK ***** * Distributed under the BSD license: * * Copyright (c) 2013 Matthew Christopher Kastor-Inare III, Atropa Inc. Intl * All rights reserved. * * Contributed to Ajax.org under the BSD license. * * Redistribution and use in source and binary forms, with or without * modification, ...
import isObservable from 'is-observable' import {type ComponentStyleType} from '../types' const isObject = value => typeof value === 'object' && value !== null && !Array.isArray(value) const separateStyles = (styles: Object): { dynamicStyle?: ComponentStyleType, staticStyle?: ComponentStyleType } => { const ...
module.exports = { siteMetadata: { title: `Julian Garcia`, description: `Julian Garcia. Monash University. Computer Science. Cooperation.`, author: `@gatsbyjs`, }, plugins: [ `gatsby-plugin-react-helmet`, `gatsby-plugin-netlify-cms`, { resolve: `gatsby-source-filesystem`, optio...
/* *@lhgcore - JavaScript Library v1.0.0 - Date : 2009-7-14 *@Copyright lhgcore.js (c) 2009 By LiHuiGang Reserved */
/*! * Copyright 2020, 2021 Visulate 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 ...
import { Text, Guid, _SPKillSwitch, Validate } from '@microsoft/sp-core-library'; import TraceLogger from '../Trace/TraceLogger'; import QosLogger from './QosLogger'; import EngagementLogger from '../Engagement/EngagementLogger'; import DiagnosticsSettingsManager from '../../DiagnosticsSettingsManager'; var QosMonitor ...
// Copyright (c) 2020, Battelle Memorial Institute // All rights reserved. // 1. Battelle Memorial Institute (hereinafter Battelle) hereby grants // permission to any person or entity lawfully obtaining a copy of this // software and associated documentation files (hereinafter "the Software") // to redist...
/*! * bcoin.js - a javascript bitcoin library. * Copyright (c) 2014-2015, Fedor Indutny (MIT License). * Copyright (c) 2014-2017, Christopher Jeffrey (MIT License). * https://github.com/bcoin-org/bcoin */ /* eslint prefer-arrow-callback: "off" */ 'use strict'; /** * A bcoin "environment" which exposes all * c...
const initialViewState = { questionText: '', showOptions: false, noOfAnswers: 0, options: [], answered:[], }; export const showQuestion = (data, currentQuestion) => { viewState.questionText = data.questions[currentQuestion].question; viewState.noOfAnswers = data.questions[currentQuestion].answers.length,...
import Navbar from './components/Navbar'; import './App.css'; import { BrowserRouter as Router, Switch, Route, Redirect } from 'react-router-dom'; import axios from 'axios'; import useAuth from './hooks/auth'; import Home from './pages/Home'; import Signup from './pages/Signup'; import Login from './pages/Login'; fun...
let config = { port: 3000, host: 'localhost', session: { secret: 'huangxinzheng', resave: true, //即使 session 没有被修改,也保存 session 值,默认为 true(!不添加报错,下同) saveUninitialized: false, // 设置为 false,强制创建一个 session,即使用户未登录 cookie: { maxAge: 1000 * 60 * 60 * 24 // 过期时间,过期后 coo...
"use strict"; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); const readLines_1 = __importDefault(require("../readLines")); const path_1 = __importDefault(require("pa...
"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...
const vote = require('../../controllers/Listing/vote'); const voteListing = async (req, res, next) => { const username = req.session.user.username; const { id, type } = req.params; if (type !=='up' && type !=='down') { return next(); } try { await vote(id, username, type); r...
import Spell from '../../models/Spell'; import Token from '../tokens'; import C from '../../models/Constants'; class StoneHeart extends Spell { constructor(level) { super({ name: 'Stone Heart', code: 'stoneHeart', type: C.HealSpell, tier: C.Advanced, element: C.Earth, heal: 27...
import request from '@/utils/request' /* 权限管理相关的API请求函数 */ const api_name = '/admin/acl/permission' export default { /* 获取权限(菜单/功能)列表 */ getPermissionList() { return request({ url: `${api_name}`, method: 'get' }) }, /* 删除一个权限项 */ removePermission(id) { return request...
/*! Parser-Lib Copyright (c) 2009-2016 Nicholas C. Zakas. All rights reserved. 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, ...
import { actionEnums } from '../admin-action-enum' import { getSectionsServices, postSectionServices, deleteSectionsServices, getfindIDServies, updateSectionServices, /**SUBJECT */ getSubjectFindIdServies, getSubjectServies } from '../../services/admin/section.services' const sectionRequest = () => { ...
import React from 'react' import { graphql } from 'gatsby' import Img from 'gatsby-image' import Layout from '../components/layout' const ProductTemplate = ({ data: { contentfulProduct }, location }) => ( <Layout> <div style={{ marginLeft: '0 auto', width: '100%', textAlign: 'cente...
export default (function CrappyStyleSheets() { const prototype = {}; function property(name, value) { return [name, ':', value, ';'].join(''); } [ 'accelerator', 'animation', 'azimuth', 'background', 'background-attachment', 'background-color', ...
const Actions = { days: document.getElementById("days"), painter: document.getElementById("painter"), scholl: document.getElementById("scholl"), painterTwo: document.getElementById("painter2"), schollTwo: document.getElementById("scholl2"), redeemValues(){ return { days: this.days.valu...
/** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ (function (factory) { if (typeof module === "object" && typeof module.exports === "object") { var v = fac...
setTimeout(function () { $("#bigSlider").owlCarousel({ autoplay: true, autoPlaySpeed: 2000, autoPlayTimeout: 1000, autoplayHoverPause: false, responsive: { // breakpoint from 0 up 0: { autoWidth: false, items: 2, ...
/* ****************************************************************** *********************************** *** Natural: A remote desktop for embed systems. *** By Alejandro Linarez Rangel. *** Pure desktop event manager. *********************************** ****************************************************************...
import React from "react"; import PropTypes from "prop-types"; import styles, { _reviewTextStyle } from "./StarReview.style"; import { View, Text } from "react-native"; import NumberFormat from "react-number-format"; import Icon from "react-native-dynamic-vector-icons"; const StarReview = props => { container = []; ...
import React from "react" import PropTypes from "prop-types" import { Select } from "antd" const Option = Select.Option const Cascader = props => { return ( <div> <label>{props.label}</label> <Select showArrow allowClear style={props.style} placeholder={props.placehol...
const pi = Math.PI; module.exports = { diameter(radius) { return 2 * radius; }, circumference(radius) { return pi * 2 * radius; }, area(radius) { return pi * radius * radius; } }; console.log(module);
const middlewareObj = {}; const TASK = require('../models/task'); const USER = require('../models/user'); const DB = require('../models'); middlewareObj.checkTaskOwner = (req, res, next) => { DB.TASK.findById(req.params.taskID) .then((task) => { if(req.isAuthenticated() && task.author.id.equals(req...
/*==== result-chart =====*/ var ctx = document.getElementById('line-chart'); Chart.defaults.global.defaultFontFamily = 'Cabin'; Chart.defaults.global.defaultFontSize = 14; Chart.defaults.global.defaultFontStyle = '500'; Chart.defaults.global.defaultFontColor = '#808996'; var chart = new Chart(ctx, { // The type of ...
import React, { Component } from 'react'; import { Redirect } from 'react-router-dom' class ClickableComponent extends React.Component { constructor(props) { super(props); this.state = {}; this.handleOnClick = this.handleOnClick.bind(this); // tells JavaScript to make the "this" variable within handl...
/** * @type App.ExWindow */ const exWindow = window; const canShowSaveDialog = () => exWindow.showSaveDialog !== undefined; const canShowOpenDialog = () => exWindow.showOpenDialog !== undefined; /** * Displays a modal Open Dialog box. * * This function is not available in server mode. * * @see https://www.electr...
const Versions = require("../api/APIVersions.json"); const fs = require("fs"); const deprecatedVersions = Versions.deprecatedVersions || []; const ValidateAPIVersion = (req, res, next) => { try { const checkVersion = fs.readdirSync(`./src/api/versions/v${req.params.version}`) || null; if (chec...
module.exports = function toReadable(number) { //function toReadable(number) { const ranks = ['zero', 'thousand', 'million', 'billion', 'trillion', 'quadrillion', 'quintillion', 'sextillion', 'septillion']; // Available digits var result = []; numberWithSpaces(number).reverse().forEach((element, index...
const chai = require("chai"); const expect = chai.expect; const chaiAsPromised = require("chai-as-promised"); chai.use(chaiAsPromised); const Client = require("../../src/us_extract/Client"); const Lookup = require("../../src/us_extract/Lookup"); const Result = require("../../src/us_extract/Result"); const MockSender = ...
const RobinhoodAPI = require('robinhood-api'); export default class { constructor() { this.api = new RobinhoodAPI(); this.context = this; } async connect(username, password, mfaCode) { try { if (typeof this.api.token === 'undefined' || this.api.token == null) { if (mfaCode === '') { ...
// Copyright 2018 Google LLC // // 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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
/*! * Start Bootstrap - Grayscale Bootstrap Theme (http://startbootstrap.com) * Code licensed under the Apache License v2.0. * For details, see http://www.apache.org/licenses/LICENSE-2.0. */ // jQuery to collapse the navbar on scroll // function collapseNavbar() { // // if ($(".navbar").offset().top > 50) { //...
import { GammaEncoding, LinearEncoding, RGBEEncoding, RGBM7Encoding, RGBM16Encoding, RGBDEncoding, sRGBEncoding } from '../../../../build/three.module.js'; import { TempNode } from '../core/TempNode.js'; import { ConstNode } from '../core/ConstNode.js'; import { FloatNode } from '../inputs/FloatNode.js'; import...
import { describe, PropTypes } from 'react-desc'; import { getAvailableAtBadge, themeDocUtils } from '../../utils'; export const doc = MaskedInput => { const DocumentedMaskedInput = describe(MaskedInput) .availableAt(getAvailableAtBadge('MaskedInput')) .description('An input field with formalized syntax.') ...
const HtmlWebpackPlugin = require('html-webpack-plugin'); const path = require('path'); const webpack = require('webpack'); const webpackBaseConfig = require('../../webpackBaseConfig'); module.exports = { ...webpackBaseConfig, entry: path.resolve(__dirname, 'index.js'), mode: process.env.NODE_ENV || 'development...
/*! For license information please see 741.js.LICENSE.txt */ //# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiNzQxLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLzc0MS5qcyJdLCJtYXBwaW5ncyI6IjtBQUFBIiwic291cmNlUm9vdCI6IiJ9
/* * Copyright 2018 ThoughtWorks, 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 agr...
'use strict'; /* global Promise */ var PromiseA; try { PromiseA = require('bluebird'); } catch(e) { PromiseA = Promise; } var util = require('util'); if (!util.promisify) { util.promisify = PromiseA.promisify; } function promisifyAll(obj) { var aobj = {}; Object.keys(obj).forEach(function (key) { aobj[ke...
'use strict'; module.exports = (sequelize, DataTypes) => { var posts = sequelize.define('posts', { img_link: DataTypes.STRING, description: DataTypes.STRING, tags: DataTypes.STRING, userId: DataTypes.INTEGER }, { classMethods: { associate: function(models) { // associations can be ...
var config = require('../config') var webpack = require('webpack') var merge = require('webpack-merge') var utils = require('./utils') var baseWebpackConfig = require('./webpack.base.conf') var HtmlWebpackPlugin = require('html-webpack-plugin') // add hot-reload related code to entry chunks Object.keys(baseWebpackConf...
module.exports = require("./lib/redirect");
import merge from 'lodash.merge'; import * as types from '../constants/ActionTypes'; const initialState = { grouplist: [], users: [], }; export default function entities(state = initialState, action) { let index = -1; let group = null; switch (action.type) { case types.LOGOUT: return { ...initial...
const Notifications = () => import('../pages/Index.vue'); export default { name: 'core.notifications.index', path: '/core/notifications/index', component: Notifications, meta: { breadcrumb: 'notifications', title: 'Notifications', }, };
/** * @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...
// Generated by CoffeeScript 1.4.0 (function() { var Teacup, doctypes, elements, merge_elements, tagName, _fn, _fn1, _fn2, _i, _j, _k, _len, _len1, _len2, _ref, _ref1, _ref2, __slice = [].slice, __indexOf = [].indexOf || function(item) { for (var i = 0, l = this.length; i < l; i++) { if (i in this && this[i] ...
export default { html: `[]`, async test({ assert, component, target }) { await component.go(); assert.htmlEqual(target.innerHTML, `[42]`); } };
socket.emit('join', 'your name'); // <-- Update let mouseX, mouseY; document.addEventListener('mousemove', (event) => { mouseX = event.pageX; mouseY = event.pageY; }); class MouseFollower extends Component { update() { super.update(); this.gameObject.x = mouseX; this.gameObject.y = mouseY; } } const go =...
//This file is automatically rebuilt by the Cesium build process. /*global define*/ define(function() { 'use strict'; return "#ifdef INSTANCED\n\ attribute vec2 direction;\n\ #endif\n\ attribute vec4 positionHighAndScale;\n\ attribute vec4 positionLowAndRotation;\n\ attribute vec4 compressedAttribute0;\n\ attri...
/******/ (function(modules) { // webpackBootstrap /******/ // The module cache /******/ var installedModules = {}; /******/ /******/ // The require function /******/ function __webpack_require__(moduleId) { /******/ /******/ // Check if module is in cache /******/ if(installedModules[moduleId]) { /******/ re...
// @flow import * as React from "react"; import styled, { css } from "styled-components"; import defaultTheme from "../defaultTheme"; import Button from "../Button"; import ButtonLink from "../ButtonLink"; import FormLabel from "../FormLabel"; import FormFeedback from "../FormFeedback"; import Attachment from "../icon...
module.exports = function index(app) { "use strict"; require('./server')(app); require('./express')(app); };
"use strict"; if (process.env.NODE_ENV === 'development') { const electronHot = require('electron-hot-loader'); electronHot.install({higherOrderFunctions: ['connect']}); electronHot.watchJsx(['src/**/*.jsx']); electronHot.watchCss(['src/assets/**/*.css']); } require('./index.jsx');
import { h } from 'omi'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon(h(h.f, null, h("path", { d: "M20 6H4l8 5zM4 8v10h16V8l-8 5z", opacity: ".3" }), h("path", { d: "M20 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 2l-8 5-8-5h16zm0 12H4V8l8 5 8-5v10...
import { observable, action, runInAction } from 'mobx'; import Api from '../../models/Api'; class PostsStore { @observable posts = []; @observable postInputMessage; @observable isPosting = false; constructor(store, client) { this.store = store; this.api = new Api('api/posts', client); } @action.b...
/*global require, applicationContext*/ //////////////////////////////////////////////////////////////////////////////// /// @brief A Foxx.Controller to show all Foxx Applications /// /// @file /// /// DISCLAIMER /// /// Copyright 2010-2013 triagens GmbH, Cologne, Germany /// /// Licensed under the Apache License, Vers...
export default ({ route }) => { if (process.browser) { // https://zz.bdstatic.com/linksubmit/push.js const r = `${window.location.origin}${route.path}`; const t = document.referrer; const i = new Image(); let o = 'https://sp0.baidu.com/9_Q4simg2RQJ8t7jm9iCKT-xh_/s.gif'; ...
import React from 'react' export const Card = ({ theme, colors }) => { return ( <> <div style={{ borderRadius: `5px`, background: colors[theme].backgroundColor, color: colors[theme].primaryColor, wi...
var name1;var name2;var name3;var name4; var freq = [0,0,0,0]; //116 function person1161(data){ if(freq[0]%2 === 0){ var change = document.getElementById("person1161"); change.style.backgroundColor = "#6495ed"; freq[0] += 1; name1 = data.value; } else{ var ...
module.exports={A:{A:{"2":"I C SB","161":"G E A B"},B:{"161":"D g q K"},C:{"2":"0 1 2 3 QB F H I C G E A B D g q K L M N O P Q R S T U V s X Y Z a b c d e f J h i j k l m n o p u v w t y r W OB NB"},D:{"2":"0 1 2 6 9 F H I C G E A B D g q K L M N O P Q R S T U V s X Y Z a b c d e f J h i j k l m n o p u v w t y r W CB ...
"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; return function (d, b)...
/* * 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 * distribute...
const { expect } = require('chai') const createUsecase = require('src/app/vote/createVote') describe('App -> Vote -> Post', () => { let useCase const mockData = { projectId: '58e40a9c-c5e9-4d63-9aba-b77cdf4ca67b', userId: '48e40a9c-c5e9-4d63-9aba-b77cdf4ca67b', choice: 'FOR' } const mockProject = {...
import create from '../src/create'; QUnit.module('create(element)'); QUnit.test('incorect name', function(assert) { assert.expect(10); assert.equal(create(), null, 'create() === null'); assert.equal(create(undefined), null, 'create(undefined) === null'); assert.equal(create(null), null, 'create(null...
import Typograpy from "typography" import fairyGateTheme from "typography-theme-fairy-gates" import Typography from "typography" const typography = new Typograpy(fairyGateTheme) export const { scale, rhythm, option } = Typography export default typography
import { createSelector } from 'reselect'; import { initialState } from './reducer'; /** * Direct selector to the notificationFrame state domain */ const selectNotificationFrameDomain = state => state.notificationFrame || initialState; /** * Other specific selectors */ /** * Default selector used by Notificati...
$(function(){ $("[data-toggle='popover']").popover(); var email = $("#email").val(); var password = $("#password").val(); var confirm = $("#confirm").val(); if(password != confirm){ $("#alertMsg").html("Passwords don't match."); $(".alert").hide().show(); return; } ...
export default class Http { static post = (url, data, callback)=>{ $.ajax({ type: 'POST', url : url, data: data, dataType:'text', success: function( response ){ callback( response); ...
/* eslint-env browser */ (function() { var cache = [0], expando = 'data' + Date.now(); function data(elem) { var cacheIndex = elem[expando], nextCacheIndex = cache.length; if (!cacheIndex) { cacheIndex = elem[expando] = nextCacheIndex; cache[cacheIndex] = {}; } return cache[cach...
import React, { Component } from 'react' import PropTypes from 'prop-types' import theme from 'lib/theme' import raf from 'raf' import { observer, inject } from 'mobx-react' import { CTAButton } from '../CTAButton' import { Button } from 'lib/antd' import { Logo } from '../Logo' import { SaasifyContext } from '../Saa...
import { createStyles, BaseStyles } from '../../components'; const { flexCenter, flexRow, colors, dimensions, innerWidth, gutterWidth, headerH, fonts, } = BaseStyles; const panel = { ...flexRow, width: innerWidth * 0.6, height: headerH * 0.7 - gutterWidth, justifyContent: 'space-between', }; const dash...
import React from 'react'; import { cleanup, render } from '@testing-library/react'; import { pluralize, singularize } from 'inflection'; import forEach from 'lodash/forEach'; import upperFirst from 'lodash/upperFirst'; /* eslint import/namespace: [2, { allowComputed: true }] */ import * as lib from '../src/index'; de...
/** * Sample React Native App * https://github.com/facebook/react-native * * @format * @flow * @lint-ignore-every XPLATJSCOPYRIGHT1 */ import React, { Component } from 'react' import { Platform, StyleSheet, Text, View } from 'react-native' import Screen1View from './Screen1/View/Screen1View' import Screen2View ...
import React from 'react'; import PropTypes from 'prop-types'; import styled from 'styled-components'; import theme from '../../styles/theme'; import closeIcon from '../../icons/close.svg'; // The modal "window" const StyledOpenMetric = styled.div ` display: flex; justify-content: center; align-items:center; b...
/////////////////////////////////////////////////////////////////////////// // Copyright © 2014 Esri. 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...
// for a legacy code and future fixes module.exports = function () { return Function.call.apply(Array.prototype.pop, arguments); };
require("dotenv").config() const API_URL = process.env.API_URL const PUBLIC_KEY = process.env.PUBLIC_KEY const PRIVATE_KEY = process.env.PRIVATE_KEY const CONTRACT_ADDRESS = process.env.CONTRACT_ADDRESS const { createAlchemyWeb3 } = require("@alch/alchemy-web3") const web3 = createAlchemyWeb3(API_URL) const contract = ...
function add(x_0, x_1) { return x_0 + x_1; } function mult(x_0, x_1) { return x_0 * x_1; } function concat(x_0, x_1) { return x_0 + x_1; } function len(x_0) { return x_0.length; } function toStr(x_0) { return x_0 + ""; } function beforeAfter(x_0) { return 'B' + x_0 + 'A'; } function f810f(x_0) { return con...
MapView.prototype = new ViewPoint(); MapView.prototype.constructor = MapView; function MapView() { this.margin = null; this.width = null; this.height = null; this.chart=null; this.markers= []; this.map = null; this.overlayLibrary = new ViewPointOverlay(); this.overlayLibrary.setParent(this); // this is the ...
/* * Copyright (c) 2010 the original author or 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 appl...
import * as numeral from '../../node_modules/numeral/numeral.js'; require('../../node_modules/numeral/locales.js'); export { numeral };
// Include gulp var gulp = require('gulp'); // Include Our Plugins var concat = require('gulp-concat'), uglify = require('gulp-uglify'), rename = require('gulp-rename'), compass = require('gulp-compass'), data = require('gulp-data'), gutil = require('gulp-util'), browserSync = require('browse...
import { FETCH_POSTS, FETCH_POST, DELETE_POST } from "../actions"; import _ from 'lodash'; export default function(state = {}, action) { switch (action.type) { case FETCH_POSTS: return _.mapKeys(action.payload.data, 'id'); case FETCH_POST: // const post = action.payload.data...
import React from 'react'; import CheckBoxSlider from './CheckBoxSlider'; import DeleteButton from './DeleteButton'; const Secret = (props) => { const { secret, handleChange, handleDelete, userId } = props; const author = userId === secret.userId ? 'me' : 'anonymous'; return ( <div className={`s_message ${a...
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[113],{ /***/ "./frontend/src/@core/comp-functions/forms/form-utils.js": /*!***************************************************************!*\ !*** ./frontend/src/@core/comp-functions/forms/form-utils.js ***! \*******************************************...
// NOTICE!! DO NOT USE ANY OF THIS JAVASCRIPT // IT'S JUST JUNK FOR OUR DOCS! // ++++++++++++++++++++++++++++++++++++++++++ /*! * Copyright 2014-2015 Twitter, Inc. * * Licensed under the Creative Commons Attribution 3.0 Unported License. For * details, see https://creativecommons.org/licenses/by/3.0/. */ // Intend...
/* * Copyright (C) 2017-2018 Dremio Corporation * * 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 l...
module.exports = { name: "resume", description: "Resume a song that was playing", aliases: ["r"], category: "music", execute(bot, message, args, serverQueue) { if (!message.member.voice.channel) { return message.channel.send("You need to be in a voice channel!"); } ...
import React from 'react'; import PropTypes from 'prop-types'; import CircleProgressChart from '../CircleProgressChart'; import Button from '../Button'; import '../../flex.css'; import './index.css'; const Book = ({ book, handleRemoveBook }) => ( <article id={book.id} className="flex book jc-sb"> <div> <di...
describe('Workspace', function() { beforeEach(function(){ this.viewer = {}; this.viewerDiv = jQuery('<div/>'); jasmine.getFixtures().set(this.viewerDiv); //register Handlebars helper Handlebars.registerHelper('t', function(i18n_key) { var result = i18n.t(i18n_key); return new Hand...