text
stringlengths
2
1.04M
export default { // Disable server-side rendering: https://go.nuxtjs.dev/ssr-mode ssr: false, // Target: https://go.nuxtjs.dev/config-target target: 'static', // Global page headers: https://go.nuxtjs.dev/config-head head: { title: 'Rasam - RSS Feed Reader', meta: [ { charset: 'utf-8' }, ...
(function ($) { if (!$) { return; } $(function () { var $registerForm = $('#RegisterForm'); $.validator.addMethod("customUsername", function (value, element) { if (value === $registerForm.find('input[name="EmailAddress"]').val()) { return true; ...
var msgpack = require('msgpack'); var fs = require('fs'); var assert = require('assert'); var documentJson = fs.readFileSync('document.json'); var jsonString = JSON.parse(documentJson); var documentMsgPack = msgpack.pack(jsonString); fs.writeFile('document.msgpack', documentMsgPack); assert.deepEqual(jsonString, msgp...
'use strict'; var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.definePrope...
import { useState } from 'react'; import PropTypes from 'prop-types'; import { NavLink as RouterLink, matchPath, useLocation } from 'react-router-dom'; // material import { useTheme, styled } from '@mui/material/styles'; import { Box, List, Collapse, ListItemText, ListItemIcon, ListItemButton } from '@mui/material'; //...
import React, { useState } from "react"; import '@shopify/polaris/dist/styles.css'; import enTranslations from '@shopify/polaris/locales/en.json'; import {AppProvider, Page, Card, Button} from '@shopify/polaris'; //search component, allows user to search for movies and click search button const Search = (props) => { ...
import React from 'react'; import { render, cleanup } from '@testing-library/react'; import '@testing-library/jest-dom/extend-expect'; import About from '..'; afterEach(cleanup); describe('About component', () => { // First Test it('renders', () => { render(<About/>); }); // Second Test it('matches sna...
'use strict' module.exports = { up: (queryInterface, Sequelize) => { return queryInterface .createTable('discovery_access_token', { id: { allowNull: false, autoIncrement: true, primaryKey: true, type: Sequelize.INTEGER }, auth_token: { ...
import * as helpers from '../helpers'; import * as loaderHelpers from './helpers'; export default async function(options) { const {url, key} = options.tokyochallenge; const [original, extra] = await Promise.all([ `${url}odpt:Airport?acl:consumerKey=${key}`, 'data/airports.json' ].map(load...
define([ 'dojo/on', 'dojo/dom', 'esri/request', 'esri/geometry/Point', 'esri/geometry/Polygon', 'esri/geometry/ScreenPoint', 'esri/SpatialReference', './utils', ], function ( on, dom, esriRequest, Point, Polygon, ScreenPoint, SpatialReference, utils, ) { ...
// (c) ammap.com | SVG (in JSON format) map of Hong Kong - High // areas: {id:"HK-KI"},{id:"HK-WT"},{id:"HK-TW"},{id:"HK-SS"},{id:"HK-KC"},{id:"HK-TM"},{id:"HK-KU"},{id:"HK-YT"},{id:"HK-IS"},{id:"HK-NO"},{id:"HK-YL"},{id:"HK-TP"},{id:"HK-ST"},{id:"HK-EA"},{id:"HK-CW"},{id:"HK-WC"},{id:"HK-SK"},{id:"HK-SO"} AmCharts.map...
'use strict'; $(document).ready(function () { initCardChart(); initCardChart2(); initamChartBar(); amChartCylinder(); amChartGauge(); initChartReport1(); initChartReport2(); amChartLineWidget(); }); var barChartData = []; for (var i = 0; i <= 20; i += 1) { barChartData.push([i, parseInt(Math.random() * 30)]);...
require('dotenv').config(); const fs = require('fs'); const { Client, Intents, Collection } = require('discord.js'); // const mongoose = require('mongoose'); // Create client object const client = new Client({ intents: [ Intents.FLAGS.GUILDS, Intents.FLAGS.GUILD_MESSAGES, Intents.FLAGS.GUIL...
export { default } from 'ember-flexberry/controllers/edit-form';
/** * Tests running explain on a variety of explainable commands (find, update, remove, etc.) when * there are multiple plans available. This is a regression test for SERVER-20849 and SERVER-21376. */ (function() { "use strict"; var coll = db.explainMultiPlan; coll.drop(); // Create indices to ensur...
/** * Provides services for managing users. */ app.factory('UserService', ['$rootScope', '$location', '$cookieStore', 'HttpService', 'ENDPOINT_URI', function ($rootScope, $location, $cookieStore, HttpService, ENDPOINT_URI) { const URL_LOGIN_SUFFIX = '/users/login'; const URL_PROMOTE_SUFFIX = '/pr...
require(['app/location/_GeoDefMixin'], function (_GeoDefMixin) { describe('app/location/_GeoDefMixin', function () { var testObject; beforeEach(function () { testObject = new _GeoDefMixin(); }); afterEach(function () { testObject = null; }); it('creates a valid object', function ()...
//# sourceMappingURL=script.map.js
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const Permission_1 = require("../Permission"); const Util_1 = require("../Util"); const Command_1 = require("./Command"); exports.default = new Command_1.default({ name: "help", description: "Prints out all available commands with a sh...
function askFor( placeholder, default_val, callback ) { var key_handled = false /* used to prevent double action with one hit of key */ /* clear form, hide menu, and show form container */ showMF() /* set buttons actions */ $( '#btn_y' ).click(function() { var val = $( '#dAField' ).val() if ( typeof callback =...
(function($){ var Field = acf.Field.extend({ type: 'repeater', wait: '', events: { 'click a[data-event="add-row"]': 'onClickAdd', 'click a[data-event="remove-row"]': 'onClickRemove', 'click a[data-event="collapse-row"]': 'onClickCollapse', 'showField': 'onShow', 'unloadField': ...
// monthly interest rate monthlyInterestRate = (interestRate / 100) / period // number of payments numberOfPayments = loanTerm * period // compounded interest rate compoundedIntestRate = Math.pow((1 + monthlyInterestRate), numberOfPayments) // interest quotient interest...
import assign from 'lodash.assign' import RandomBase from './random-base' export default class RandomEnemy extends RandomBase { getSpecificData(base) { return assign(base, { health: this.validate('health'), damage: this.validate('damage'), }) } validate(prop) { const value = +this.config...
import styled, {css, createGlobalStyle} from 'styled-components' import {transparentize as alpha} from 'polished' import Theme from './theme' import { SRC_URL, EASE_OUT_SINE, SCREEN_WIDTH_S, SCREEN_WIDTH_MMS, SCREEN_WIDTH_MS, SCREEN_WIDTH_M, SCREEN_WIDTH_ML, SCREEN_WIDTH_L, SCREEN_WIDTH_XL } from './constants' ...
// Set new default font family and font color to mimic Bootstrap's default styling Chart.defaults.global.defaultFontFamily = 'Nunito', '-apple-system,system-ui,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif'; Chart.defaults.global.defaultFontColor = '#858796'; function number_format(number, dec...
import formatDistance from './_lib/formatDistance/index.js' import formatLong from './_lib/formatLong/index.js' import formatRelative from './_lib/formatRelative/index.js' import localize from './_lib/localize/index.js' import match from './_lib/match/index.js' /** * @type {Locale} * @category Locales * @summary Fr...
import axios from 'axios'; import { generateToken, } from 'tinder-access-token-generator'; import createHTTPClient from './createHTTPClient'; /** * https://github.com/fbessez/Tinder * https://gist.github.com/rtt/10403467 */ const GENDERS = Object.freeze({ male: 0, female: 1, }); const GENDER_SEARCH_OPTIONS ...
(function() { var degreesToRadians = fabric.util.degreesToRadians, /* eslint-disable camelcase */ isVML = function() { return typeof G_vmlCanvasManager !== 'undefined'; }; /* eslint-enable camelcase */ fabric.util.object.extend(fabric.Object.prototype, /** @lends fabric.Object.prototype */ { ...
exports.admin = function (req, res) { res.locals.partials.header = 'header'; res.locals.partials.breadcrumbs = 'breadcrumbs'; res.locals.partials.theme = 'js/theme'; res.locals.partials.layout = 'js/layout'; res.render('base', { user: req.session.user, csrf: req.csrfToken(), url: { home: '/' ...
'use strict'; const assert = require('assert'); const Koa = require('koa'); const request = require('supertest'); const cors = require('../'); describe('cors.test.js', function() { describe('default options', function() { const app = new Koa(); app.use(cors()); app.use(function(ctx) { ctx.body = {...
process.exit(1); process.exitCode = 1;
module.exports = { name: "Creation date of user/member/message/channel/server/role", description: "The creation date of a user/member/message/channel/server/role", examples: [`return "You made your account on %formatted date of event-message's author creation date%"`], patterns: [`[the] creation (date|time[stamp])[...
// Enumerations to be used in the game. // The snake is controlled by changeDirection method and a direction as a parameter. const Directions = Object.freeze({ UP: "up", DOWN: "down", LEFT: "left", RIGHT: "right" }), //This enumeration holds single object size. The snake is made of several objects. ...
"use strict"; const mix = require('mixwith').mix; const WatermoonEnemy = require('@app/content/enemies/watermoon').WatermoonEnemy; const WatermoonReputation = require('@mixins/enemy/reputation/watermoon').WatermoonReputation; const FuriousAction = require('@mixins/enemy/actions/furious').Fur...
"use strict"; // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 Object.defineProperty(exports, "__esModule", { value: true }); exports.ClientMetricReportMediaType = void 0; var ClientMetricReportMediaType; (function (ClientMetricReportMediaType) { ClientMet...
import Attachments from '../attachments' import PropTypes from 'prop-types' import Camera from '../camera' import Editor from './editor' import React from 'react' class Composer extends React.Component { static contextTypes = { modal: PropTypes.object } static propTypes = { attachments: PropTypes.array...
/** * Provides a function that synchronizes two arrays, arr1 and * arr2. arr2 is a subset of arr1, it includes the elements of arr1 that passes * the filter. When elements are added to/removed from arr1, arr2 is updated to * include the elements of arr1 that pass the filter. When the order of * elements in arr2 ch...
'use strict'; const { GAME_WIDTH, GAME_HEIGHT, SIMULATION_RATE } = require('../util/constants'); const round = require('../util/round'); module.exports = class Camera { constructor(x = GAME_WIDTH / 2, y = GAME_HEIGHT / 2, speed = 2.5) { this.x = x; this.y = y; this.scale = 0.8; this.scaling...
// (C) 2007-2019 GoodData Corporation import { Role } from "testcafe"; import { config } from "./config"; import { loginUsingLoginForm } from "./helpers"; // Last time I checked, this didn't work. 2018-11-05 export const currentUser = Role(`${config.url}/login`, loginUsingLoginForm);
'use strict'; // The Prober oversees the scan of serial ports, trying to find a matching timer profile. const PRE_PROBE_SETTLE_TIME_MS = 2000; const PROBER_RESPONSE_TIME_MS = 500; class Prober { user_chosen_port = -1; user_chosen_profile = -1; // Returns false for no match, or the timer identifier async pro...
'use strict'; const FriendlyErrorsWebpackPlugin = require('friendly-errors-webpack-plugin'); class myFriendlyErrorsWebpackPlugin extends FriendlyErrorsWebpackPlugin { // success信息由webpackbar提供 displaySuccess() {} } module.exports = myFriendlyErrorsWebpackPlugin;
define([ "dojo/dom", // dom.byId "dojo/dom-attr", // domAttr.attr domAttr.has "dojo/dom-style" // domStyle.style ], function (dom, domAttr, domStyle) { // module: // delite/a11y var undefined; var a11y = { // summary: // Accessibility utility functions (keyboard, tab stops, etc.) _isElementShown: f...
import React, { useEffect } from "react" import styled from "styled-components" import HubSidebar from "../components/hub/HubSidebar" import HubHeader from "../components/hub/HubHeader" import Layout from "../components/Layout" import SEO from "../components/seo" import { Link } from "gatsby" import { Container, ...
import React from 'react' import pathToRegexp from 'path-to-regexp' import { routerRedux } from 'dva/router' import { notification } from 'antd' import GlobalComponents from '../../custcomponents'; import appLocaleName from '../../common/Locale.tool' import modeltool from '../../utils/modeltool' const {setupModel,hasEr...
const dayjs = require("dayjs"); const dayOfYear = require("dayjs/plugin/dayOfYear"); dayjs.extend(dayOfYear); const isLeapYear = require("dayjs/plugin/isLeapYear"); dayjs.extend(isLeapYear); const GetNICInfo = ({ nic, pId }) => { if (!nic) { return <span className="null-output"></span>; } const nicNum = nic...
const { graphql, print } = require('graphql'); const merge = require('lodash/merge'); module.exports = (conf = {}) => { const { schema, modifyContext } = conf; return ({ db } = {}) => async (_query, args, _context) => { const contextWithDb = merge({ db }, _context); const context = typeof modifyCont...
// @flow import * as React from 'react' import DeleteConfirm from '.' import * as PropProviders from '../../stories/prop-providers' import {action, storiesOf} from '../../stories/storybook' const provider = PropProviders.CommonProvider() const load = () => { storiesOf('Settings', module) .addDecorator(provider)...
export default { isoName: 'de', nativeName: 'Deutsch', label: { clear: 'Leeren', ok: 'Ok', cancel: 'Abbrechen', close: 'Schließen', set: 'Setzen', select: 'Auswählen', reset: 'Zurücksetzen', remove: 'Löschen', update: 'Aktualisieren', create: 'Erstellen', search: 'Suche...
// Copyright (c) 2009-2017 SAP SE, All Rights Reserved
const { BalancesEvents } = require("@statescan/common"); const { store: { addAddresses }, } = require("@statescan/common"); function addTwoAccountsByEvent(event, indexer) { const { method, data } = event; if ( ![BalancesEvents.Transfer, BalancesEvents.ReserveRepatriated].includes( method ) ) { ...
import React from 'react'; import {connect} from 'react-redux'; import {bindActionCreators} from 'redux'; import ToggleButtonList from 'konux/common/components/ToggleButtonList'; import {filter} from './../../../../actions'; class FilterItemRegion extends React.Component { onClick(region) { const isRegionS...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); class References { constructor() { this.number = 0; //Folio del documento de referencia (String). this.referenceDate = 0; //Fecha del documento de referencia (Integer). this.reason = null; // Razón del documento (St...
/* * 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 ...
import styled from 'styled-components'; import { baseModule } from '../../../../styles/themeSelectors'; export const ButtonRowStyled = styled.div` display: flex; justify-content: center; margin-top: ${baseModule(1)}px; & > * { flex-grow: 1; } `; ButtonRowStyled.displayName = 'ButtonRowStyled';
module.exports = ({ constants, getInvitableCustomers, logger, writeToFile, getOutputDirectory }) => { return { // Do server initialization stuff here. // Currently it calls the method to get the input file and writes the output to a file. // Can be extended to other initializations in future if ...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var temp = function DownCircleTwoTone(primaryColor, secondaryColor) { return { name: 'down-circle', theme: 'twotone', nameWithTheme: 'down-circle-twotone', tag: 'svg', attrs: { xmlns: 'ht...
/** * @license Apache-2.0 * * Copyright (c) 2020 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...
import React from 'react'; import Helmet from 'react-helmet'; import {siteTitle, siteDescription} from 'SiteConfig'; const TitleAndMetaTags = ({title, description}) => { // TODO: Use Open Graph Tags return ( <Helmet> <title>{title || siteTitle}</title> <meta name="description" content={description ...
import{PolymerElement,html}from"../../@polymer/polymer/polymer-element.js";import{mixinBehaviors}from"../../@polymer/polymer/lib/legacy/class.js";import{IronButtonStateImpl}from"../../@polymer/iron-behaviors/iron-button-state.js";import{IronControlState}from"../../@polymer/iron-behaviors/iron-control-state.js";class Gf...
/** * @license Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. * For licensing, see LICENSE.md or http://ckeditor.com/license */ /** * This file was added automatically by CKEditor builder. * You may re-use it at any time to build CKEditor again. * * If you would like to build CKEdi...
const {MessageEmbed} = require('discord.js'); module.exports = { name: 'servericon', aliases: ['si', 'icon'], category: 'info', description: 'see the icon of the server', usage: '[command | alias]', examples: ['h!si'], cooldown: 10, run: async (bot, message) => { let embed = new...
const createTestCafe = require('testcafe'); // Testcafe cannot test on IE < 11 // Testcafe testing on Chrome Android is currently broken (https://github.com/DevExpress/testcafe/issues/3948) const browsers = [ 'saucelabs:Internet Explorer@11.285:Windows 10', 'saucelabs:MicrosoftEdge@16.16299:Windows 10', 'saucelabs:i...
var chai = require('chai'), sinon = require('sinon'), jsdom = require('jsdom'), Protoplast = require('./../main'), Component = Protoplast.Component, Collection = Protoplast.Collection, Context = Protoplast.Context; describe('Component', function() { beforeEach(function() { global.d...
/* eslint-disable */ // rename this file from _test_[name] to test_[name] to activate // and remove above this line QUnit.test("test: Nuestras Soluciones", function (assert) { let done = assert.async(); // number of asserts assert.expect(1); frappe.run_serially([ // insert a new Nuestras Soluciones () => fra...
/** * Swiper React 6.6.1 * Most modern mobile touch slider and framework with hardware accelerated transitions * https://swiperjs.com * * Copyright 2014-2021 Vladimir Kharlampidi * * Released under the MIT License * * Released on: May 11, 2021 */ import { Swiper } from './esm/react/swiper'; import { SwiperSl...
class StackCalculator { constructor () { this.stack = [] } putValue (value) { this.stack.push(value) } getValue () { return this.stack.pop() } peekValue () { return this.stack[this.stack.length - 1] } clear () { this.stack = [] } divide () { const divisor = this.getVal...
window.onscroll = function() {scrollFunction()}; function scrollFunction() { if (document.body.scrollTop > 20 || document.documentElement.scrollTop > 20) { $('#back-to-top-btn').fadeIn() } else { $('#back-to-top-btn').fadeOut() } } function topFunction() { document.body.scrollTop = 0; document.docum...
'use strict'; /** * Copyright (c) 2014-present, Facebook, Inc. All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of pate...
/** TMS SDK application example. * */ import {createStore, combineReducers, applyMiddleware} from 'redux'; import thunkMiddleware from 'redux-thunk'; import React from 'react'; import ReactDOM from 'react-dom'; import {Provider} from 'react-redux'; import SdkZoomControl from '@boundlessgeo/sdk/components/map/zoom...
(function(){ angular .module("BHC") .controller("RoadController",RoadController); function RoadController($location) { var vm = this; vm.enable=enable; vm.list=[{ id:0, heading : "Find yourself a Realtor", content: "In the maze of forms, financing, inspections, marketi...
'use strict'; class DatabaseError { constructor(statement, message) { this.statement = statement; this.message = message; } }; module.exports = DatabaseError;
'use strict'; module.exports = { up: (queryInterface, Sequelize) => queryInterface.createTable('Participations', { id: { allowNull: false, primaryKey: true, type: Sequelize.UUID, defaultValue: Sequelize.UUID }, UserId: { type: Sequelize.UUID, onDelete: 'CASCADE', ...
/** * Global prototypes */ Number.prototype.formatMoney = function(c, d, t){ var n = this, c = isNaN(c = Math.abs(c)) ? 2 : c, d = d == undefined ? "." : d, t = t == undefined ? "," : t, s = n < 0 ? "-" : "", i = String(parseInt(n = Math.abs(Number(n) || 0).toFixed(c))), ...
/********************************************* * Tululoo Game Maker v1.3.0 * * Creators * Zoltan Percsich * Vadim "YellowAfterlife" Dyachenko * * (c) SilentWorks 2011 - 2013 * All rights reserved. * www.tululoo.com * * Contributors: * Csaba Herbut ********************************************/ function tu...
import React, { useState } from 'react'; import { connect } from 'react-redux'; import { userLogin } from '../actions'; import { LoginBox, StyledForm, StyledInput, StyledButtonTwo, StyledH2 } from './Styled.js'; const initialCredentials = { username: '', password: '' } function Login(props, { userLogin, history ...
'use strict'; describe('angular-spotify', function () { describe('Spotify', function () { beforeEach(module('spotify')); var Spotify; beforeEach(inject(function (_Spotify_) { Spotify = _Spotify_; })); it('should be defined', function () { expect(Spotify).toBeDefined(); }); ...
import { assert } from 'chai'; import * as R from 'ramda'; import * as RA from '../src'; import Symbol from './shared/Symbol'; import args from './shared/arguments'; describe('isFalsy', function () { context('given falsy value', function () { specify('should return true', function () { assert.isTrue(RA.is...
macDetailCallback("4c3909000000/24",[{"d":"2014-02-28","t":"add","a":"133, Pace City-1, Sec-37\nGurgaon Haryana 122001\n\n","c":"INDIA","o":"HPL Electric & Power Private Limited"},{"d":"2015-08-27","t":"change","a":"133, Pace City-1, Sec-37 Gurgaon Haryana IN 122001","c":"IN","o":"HPL Electric & Power Private Limited"}...
export number from './numberUtil'; export http from './http';
import React from 'react'; import { shallow } from 'enzyme'; import { App } from './App'; describe('<App /> renders routes correctly', () => { const component = shallow(<App />); it('renders without crashing', () => { shallow(<App />); }); it('<App />', () => { expect(component).toHaveLength(1); });...
module.exports = function toItemResponse(item, { url = '', meta = {}, } = {}) { return { meta, links: url ? { self: url } : {}, data: item, }; }
initHtmlElements([ '#loading', '#start', '#video', '#map', '#myth-page', '#sound', '#map-myths-btn', '#fullscreen-in-btn', '#fullscreen-out-btn', '#music-off-btn', '#music-on-btn', '#team', '#authors-btn', '#map-myths-menu-btn', '#logo', '#myth-text', '#about', '#about-btn', '#langs', '#map360-btn', '#video-layer-bloc...
import { createIcon } from '../createIcon'; export const ShareSquareIconConfig = { name: 'ShareSquareIcon', height: 512, width: 576, svgPath: 'M568.482 177.448L424.479 313.433C409.3 327.768 384 317.14 384 295.985v-71.963c-144.575.97-205.566 35.113-164.775 171.353 4.483 14.973-12.846 26.567-25.006 17.33C155.252...
require('source-map-support/register') module.exports = /******/ (function(modules) { // webpackBootstrap /******/ // The module cache /******/ var installedModules = {}; /******/ /******/ // The require function /******/ function __webpack_require__(moduleId) { /******/ /******/ // Check if module is in cache /*...
'use strict'; const resourceAdaptor = require('./resource_adaptor'); module.exports = function addResources(seneca, dependencies) { addResource('bloodpressure'); function addResource(dirname) { resourceAdaptor(dirname, dependencies, seneca); } };
const db = require('./db.conn')(); const tempate = require('./db.template')(); /** * 地图瓦片缓存失败记录 */ module.exports = () => { return { /** * 查询 */ query: async () => { let sql = 'select * from tile_failure'; let conn = db.getConn(); let rows = aw...
import { PackageURL } from 'packageurl-js' /** * @param {any} doc */ export default function mandatoryTest_6_1_13(doc) { /** @type {Array<{ message: string; instancePath: string }>} */ const errors = [] let isValid = true if (Array.isArray(doc.product_tree?.full_product_names)) { doc.product_tree?.full_...
/** * @author mrdoob / http://mrdoob.com/ * * parameters = { * color: <THREE.Color>, * opacity: <float> * } */ import { Material } from './Material'; import { Color } from '../math/Color'; function ShadowMaterial( parameters ) { Material.call( this ); this.type = 'ShadowMaterial'; this.color = new Colo...
export default { require: ['@babel/register', './ava.setup.js'], serial: true, files: [ 'test/module.spec.js', 'test/components.spec.js' ], ignoredByWatcher: ['highcharts/plugin.compiled.js'], babel: { testOptions: { plugins: [ [ 'module-resolver', { ...
$(function () { //点击更换类别 $('.tabs_box').on('click','.tab',function(){ var value=$(this).attr('value'); //横线的显示 $(this).css('border-bottom','2px solid #f08418').siblings().css('border-bottom','2px solid transparent'); //背景颜色的显示 $('.tab_little').css({ 'color':'#...
import Vue from 'vue' import App from './App.vue' import router from './router' Vue.config.productionTip = false new Vue({ render: h => h(App), router }).$mount('#app')
/* Magic Mirror * Calendar Util Methods * * By Michael Teeuw https://michaelteeuw.nl * MIT Licensed. */ /** * @external Moment */ const moment = require("moment"); const path = require("path"); const zoneTable = require(path.join(__dirname, "windowsZones.json")); const Log = require("../../../js/logger.js"); c...
/** * Hilo 1.4.1 for commonjs * Copyright 2016 alibaba.com * Licensed under the MIT License */
import SimpleThemeProvider from './SimpleThemeProvider' export default SimpleThemeProvider
function akanNames() { var currentYear = new Date (); var maxYear = currentYear.getFullYear(); var day = document.getElementById("day"); var month = document.getElementById("month"); var year = document.getElementById("year"); if (year > maxYear || year < 1919) { alert("Invalid year");...
// This document contains the array that contains the names of the concert poster images /** // Get the modal var modal = document.getElementById('myModal'); // Get the image and insert it inside the modal - use its "alt" text as a caption var img = document.getElementById('myImg'); var modalImg = document.getElementB...
/** * Creation Date: 22/05/2019 * Summary: GET method of HTTP * Description: To GET data from a URL using HTTP Connector */ //Starting execution of flintbit log.trace("Started executing 'flint-util:http:operation:workflow:get.js'"); //method method = "get"; input_clone = JSON.parse(input); //For checking purpose...
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); exports.UnlockConnector = exports.STATUS_NOTSUPPORTED = exports.STATUS_UNLOCKFAILED = exports.STATUS_UNLOCKED = undefined; var _getPrototypeOf = require('babel-runtime/core-js/object/get-prototype-of'); var _getPrototypeOf2 = _interopRequ...
import React from 'react'; import { BrowserRouter, Switch, Route } from 'react-router-dom'; import Index from './Pages/Index'; import Footer from './Components/Footer'; import Header from './Components/Header'; import Nav from './Components/Nav'; import PreviousDownloads from './Pages/PreviousDownloads'; import './Styl...
import { GlEmptyState } from '@gitlab/ui'; import { shallowMount } from '@vue/test-utils'; import EmptyState from '~/ide/components/pipelines/empty_state.vue'; import { createStore } from '~/ide/stores'; const TEST_PIPELINES_EMPTY_STATE_SVG_PATH = 'illustrations/test/pipelines.svg'; describe('~/ide/components/pipelin...