text
stringlengths
3
1.05M
export * from './injectStore' export * from './initStore' export * from './Store' export * from './connect' export * from './dependent'
# This file only contains a selection of the most common options. For a full list see the # documentation: # http://www.sphinx-doc.org/en/master/config project = 'Ansible collections' copyright = 'Ansible contributors' title = 'Ansible Collections Documentation' html_short_title = 'Ansible Collections Documentation' ...
"use strict"; /* * Copyright (c) 2008-2018, Hazelcast, Inc. 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 * * Un...
/* MIT License http://www.opensource.org/licenses/mit-license.php Author Tobias Koppers @sokra */ "use strict"; /** @typedef {import("../Compiler")} Compiler */ class AddBuildDependenciesPlugin { /** * @param {Iterable<string>} buildDependencies list of build dependencies */ constructor(buildDependencies...
// must install readline-sync package via npm // https://www.npmjs.com/package/readline-sync // on terminal: $ npm i readline-sync const readline = require('readline-sync'); var name = readline.question('May I have your name? '); console.log('Hi there ' + name + '!'); var num1 = readline.question("Enter a number betw...
const Assert = require('assert'); const BN = require('bn.js'); const web3 = require('./web3.js'); function Utils() {} function assertExpectedMessage(message, error) { if (message !== undefined) { assert( error.message.search(message) > -1, `The contract was expected to error including "${message}...
# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other # Spack Project Developers. See the top-level COPYRIGHT file for details. # # SPDX-License-Identifier: (Apache-2.0 OR MIT) class PyExtension3(Package): """Package with a dependency whose presence is conditional to the version of Python be...
/* Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ (function(){if(!window.CKEDITOR||!window.CKEDITOR.dom){window.CKEDITOR||(window.CKEDITOR=function(){var a=/(^|.*[\\\/])ckeditor\.js(?:\?.*|;.*)?$/i,f={ti...
export function distanciaEuclidiana(pontoA, pontoB) { if (!pontoA || !pontoB) return NaN; const diffX = pontoA.x - pontoB.x; const diffY = pontoA.y - pontoB.y; return Math.sqrt(diffX * diffX + diffY * diffY); } export function getPositionFromEvent(event) { if (event.touches && event.touches.length > 0) { ...
// @flow import * as React from 'react' import {Meta} from '../../../../common-adapters' import {globalColors, platformStyles, styleSheetCreate} from '../../../../styles' import {formatDurationShort} from '../../../../util/timestamp' export const ExplodingMeta = ({ explodingModeSeconds, isNew, }: { explodingMode...
"use strict"; var __importStar = (this && this.__importStar) || function (mod) { if (mod && mod.__esModule) return mod; var result = {}; if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k]; result["default"] = mod; return result; }; var __importDefault = (t...
const proxy = require('http-proxy-middleware'); module.exports = function(app) { app.use('/File', proxy({ target: 'https://lite.aoaoao.me', changeOrigin: true, onProxyReq (proxyReq, req) {     // 将本地请求的头信息复制一遍给代理。     // 包含cookie信息,这样就能用登录后的cookie请求相关资源 Object.keys(req.headers).fo...
bubble_tea_flavours = [ ['Honeydew', 'Mango', 'Passion Fruit'], ['Peach', 'Plum', 'Strawberry', 'Taro'], ['Kiwi', 'Chocolate'] ] # print(len(bubble_tea_flavours)) # print(bubble_tea_flavours[0]) # print(bubble_tea_flavours[1]) # print(bubble_tea_flavours[-1]) # print(len(bubble_tea_flavours[0])) # print(...
import { validate } from "uuid"; import { getArtwork, getArtworksByArtist, getArtworkBySlug, } from "$queries/artworks"; import { getArtworkTransactions } from "$queries/transactions"; import { hbp } from "$lib/api"; export async function get({ headers, locals, params }) { try { let { slug } = params; ...
import React,{useState} from 'react'; import { Route, Redirect} from 'react-router-dom'; import Auth from 'utils/auth'; import {SIGNIN,CURRENT_USER} from 'utils/constants'; import {Grid} from '@material-ui/core'; import CircularProgress from '@material-ui/core/CircularProgress'; function ProtectedRoute({component:Comp...
""" ATT48 is a set of 48 cities (US state capitals) from TSPLIB. The minimal tour has length 33523. Data from: https://people.sc.fsu.edu/~jburkardt/datasets/tsp/tsp.html """ import numpy as np import time import matplotlib.pyplot as plt from problem_utils import parse import sys; sys.path.append('..') import antc...
/** * directive.diBackstrecth Module * * Description */ angular.module('directive.diBackstrecth', [ 'service.Device' ]) .directive('diBackstrecth', [ 'Device', function( Device ){ var Backstrecth = {}; Backstrecth.restrict = 'A'; Backstrecth.scope = true; Backstrecth.replace = true; ...
import http from 'k6/http'; import { sleep, check } from 'k6'; import { Counter } from 'k6/metrics'; // A simple counter for http requests export const requests = new Counter('http_reqs'); // you can specify stages of your test (ramp up/down patterns) through the options object // target is the number of VUs you ar...
''' The most basic way to interact with the public api. ''' import robin_stocks.gemini as g response, error = g.get_pubticker("cheese") if error: print("there was an error!") print("the response status code is ", response.status_code) print("the reponse json is ", response.json()) print("let's try that a...
(function ($, Drupal, drupalSettings) { Drupal.behaviors.webdirAddPeopleField = { attach: function (context, settings) { // Check if there are directory type fields. if ($(context).find('.asurite-add-people').length) { $('.asurite-add-people').each(function (index) { // Convert and ...
import React from "react"; import RecordContext from "./record-context"; export default function RecordProvider(props) { const recordContext = { items: [], uploads: [], }; return ( <RecordContext.Provider value={recordContext}> {props.children} </RecordContext.Provider> ); }
mycallback( {"CONTRIBUTOR OCCUPATION": "VICE PRESIDENT", "CONTRIBUTION AMOUNT (F3L Bundled)": "115.38", "ELECTION CODE": "", "MEMO CODE": "", "CONTRIBUTOR EMPLOYER": "MASSACHUSETTS MUTUAL LIFE INS.", "DONOR CANDIDATE STATE": "", "CONTRIBUTOR STREET 1": "10 CRESCENT HL", "CONTRIBUTOR MIDDLE NAME": "", "DONOR CANDIDATE F...
// @flow import { ACTION_SHORTCUT_TRIGGERED, AUDIO_MUTE, createShortcutEvent, sendAnalytics } from '../../analytics'; import { translate } from '../../base/i18n'; import { MEDIA_TYPE } from '../../base/media'; import { connect } from '../../base/redux'; import { AbstractAudioMuteButton } from '../../ba...
var exec = require('child_process').exec module.exports = produce function produce (options, cb) { if (typeof options === 'function') { cb = options options = {} } options = options || {} cb = cb || function () {} options.timeout = options.timeout !== undefined ? options.timeout :...
const extractVowels = require('../lib/extractVowels') const examples = [ ['', []], [' **1.** meaning **10.** meaning;', [ {key: '', meaning: '', vowels: [], entries: [{meaning: 'meaning', vowels: []}, {meaning: 'meaning', vowels: []}]} ]], [' **G** meaning **1.** meaning **2.** meaning;', [ {key: 'G', ...
import React, { useEffect, useState } from 'react' import { View, Text, TouchableOpacity, Image } from 'react-native' import { Camera } from 'expo-camera' import { Audio } from 'expo-av' import * as ImagePicker from 'expo-image-picker' import * as MediaLibrary from 'expo-media-library' import * as VideoThumbnails from ...
/* @flow */ import React, { Component } from 'react'; import { isVpaasMeeting } from '../../../../jaas/functions'; import { translate } from '../../../i18n'; import { connect } from '../../../redux'; declare var interfaceConfig: Object; /** * The CSS style of the element with CSS class {@code rightwatermark}. * ...
/** * Select the entire state */ const homeSelector = (state) => state.get('home'); export default homeSelector;
/*! * UI development toolkit for HTML5 (OpenUI5) * (c) Copyright 2009-2017 SAP SE or an SAP affiliate company. * Licensed under the Apache License, Version 2.0 - see LICENSE.txt. */ sap.ui.define(["jquery.sap.global","sap/ui/core/Core","sap/ui/thirdparty/URI","jquery.sap.script","jquery.sap.sjax"],function(q,C,U){"...
import numpy as np import pandas as pd from functools import partial def bootstrapping_analysis(data, analysis, shuffler, n_bootstrap=1000, statistics=None, agg=None): """ Generic bootstrapping analysis tool """ if statistics is None: statistics = lambda x: x results = [] for ...
/* AlphaRacer -- Created By: AlphaDevTeam//Alpha */ (() => { //Checking For Injection Progress let isValidPage = href => { let res; if (href == "https://www.nitrotype.com/race") res = true; else if (href.startsWith("https://www.nitrotype.com/race/")) res = true; else...
import * as engine262 from "./../vendor/engine262/engine262.mjs" import { crypto } from "https://deno.land/std@0.115.1/crypto/mod.ts" function egg(id, type, attribs) { this.id = id this.data = {} Object.assign(this.data, attribs) this.serialize = function() { return JSON.stringify(this.data) }.bind(this) } fu...
/* eslint no-console:0 */ require('trix') require('@rails/actiontext') import { Application } from 'stimulus' import { definitionsFromContext } from 'stimulus/webpack-helpers' const application = Application.start() const context = require.context('../controllers', true, /\.js$/) application.load(definitionsFromCont...
# -*- coding: utf-8 -*- # Copyright 2015 Donne Martin. 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. A copy of # the License is located at # # http://www.apache.org/licenses/LICENSE-2.0 # # or in the "lice...
angular.module('languagePhylogenyDirective', []) .directive('languagePhylogeny', function(colorMapService) { function link(scope, element, attrs) { var rightAngleDiagonal = function() { var projection = function(d) { return [d.y, d.x]; } var path = function(pathDa...
var Component = new Brick.Component(); Component.requires = { mod: [ {name: 'sys', files: ['app.js']}, {name: '{C#MODNAME}', files: ['app.js', 'model.js']} ] }; Component.entryPoint = function(NS){ var COMPONENT = this, SYS = Brick.mod.sys; SYS.createApp(COMPONENT, {}, { ...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Default = exports.default = void 0; var _react = _interopRequireDefault(require("react")); var _addonActions = require("@storybook/addon-actions"); var _addonKnobs = require("@storybook/addon-knobs"); var _Link = _interopRequire...
const UglifyJsPlugin = require('uglifyjs-webpack-plugin'); module.exports = { optimization: { minimizer: [new UglifyJsPlugin()], }, };
/******/ (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...
(window.webpackJsonp=window.webpackJsonp||[]).push([[81],{156:function(e,t,r){"use strict";r.r(t),r.d(t,"frontMatter",(function(){return i})),r.d(t,"metadata",(function(){return s})),r.d(t,"toc",(function(){return c})),r.d(t,"default",(function(){return l}));var n=r(3),a=r(8),o=(r(0),r(550)),i={id:"sdk",title:"SDKs",si...
import os from conans.client.graph.graph import (BINARY_BUILD, BINARY_CACHE, BINARY_DOWNLOAD, BINARY_MISSING, BINARY_SKIP, BINARY_UPDATE, BINARY_WORKSPACE) from conans.client.output import ScopedOutput from conans.errors import NoRemoteAvailable, NotFoundException from conans.mod...
#!/usr/bin/env python # -*- coding: utf-8 -*- # Copyright 2020 Palo Alto Networks, 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...
var JSUNIT_UNDEFINED_VALUE; var JSUNIT_VERSION = 2.2; var isTestPageLoaded = false; //hack for NS62 bug (function () { if (typeof top === 'undefined') { return; } var tempTop = top; if (!tempTop) { tempTop = window; while (tempTop.parent && tempTop.parent !== tempTop) { tempTop ...
#!/bin/env python # -*- coding: utf-8 -*- ## # test_iqsharp.py: Tests basic Q#/Python interop functionality. ## # Copyright (c) Microsoft Corporation. # Licensed under the MIT License. ## ## IMPORTS ## import json import numpy as np import os import pytest import qsharp import qsharp.experimental qsharp.experimental....
const Discord = require('discord.js'); var mysql = require('mysql'); const fetch = require('node-fetch'); const node = require('nodeactyl'); const host = ""; const username = ""; const password = ""; const Client2 = node.Client; Client2.login('', '', (logged_in) => { if (logged_in == false) { ...
# Generated by Django 2.2.3 on 2019-08-04 14:29 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('content', '0007_auto_20190728_1314'), ] operations = [ migrations.RemoveField( model_name='event', name='images', ),...
/** * Copyright Zendesk, Inc. * * Use of this source code is governed under the Apache License, Version 2.0 * found at http://www.apache.org/licenses/LICENSE-2.0. */ import { useSelection } from '@zendeskgarden/container-selection'; export function usePagination(options) { const { selectedItem, focused...
class Node(object): def __init__(self, ip: str, port: int, is_super_node: bool): self.ip = ip self.port = port self.is_super_node = is_super_node def __eq__(self, other): if isinstance(other, Node): return self.ip == other.ip and \ self.port == ot...
/*! * angular-cache * @version 4.5.0 - Homepage <https://github.com/jmdobry/angular-cache> * @author Jason Dobry <jason.dobry@gmail.com> * @copyright (c) 2013-2016 Jason Dobry * @license MIT <https://github.com/jmdobry/angular-cache/blob/master/LICENSE> * * @overview angular-cache is a very useful replacement ...
eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);retur...
import React from "react"; import { add } from "./listSlice"; import { connect } from "react-redux"; import ListField from "../common/ListField"; class NewList extends React.Component { submit(text) { if (!text.length) return; this.props.add(text); } render() { return ( ...
const express = require('express'); const app = express(); const exphbs = require('express-handlebars'); const path = require('path'); const port = 3000; app.use('/', require(path.join(__dirname, './routers/server'))); app.engine('.hbs', exphbs({ extname: '.hbs' })); app.set('view engine', '.hbs'); app.listen(port, ...
import React from 'react'; import ReactDOM from 'react-dom'; import ResizingTextArea from './ResizingTextArea'; function testProps(props) { return { value: "hello", onChange: jest.fn(), ...props }; } it('renders without crashing', () => { const el = document.createElement('div'); ReactDOM.render(<...
/** * 设计模式:遍历模式(外部迭代器) */ var iterator = function(obj) { var current = 0; //下一个 var next = function() { current += 1; }; //是否完成 var isDone = function() { return current >= obj.length; }; //获得当前的值 var getCurrItem = function() { return obj[current]; }; //返回接口 return { next: next...
# не добавляйте кода вне функции def update_dictionary(d, key, value): if key in d: d[key] += [value] elif 2*key in d: d[key*2] += [value] else: d.setdefault(key*2,[]).append(value) # не добавляйте кода вне функции
function validChecker(input){ let x1 = input[0]; let y1 = input[1]; let x2 = input[2]; let y2 = input[3]; function distance(x1,y1,x2,y2){ let distX = x1 - x2; let distY = y1 - y2; return Math.sqrt(distX**2 + distY**2); } if (Number.isInteger(distance(x1, y1, 0, 0))...
window.google = window.google || {}; google.maps = google.maps || {}; (function() { function getScript(src) { document.write('<' + 'script src="' + src + '"><' + '/script>'); } var modules = google.maps.modules = {}; google.maps.__gjsload__ = function(name, text) { modules[name] = text; }; ...
import React from 'react'; import PropTypes from 'prop-types'; import { View, StyleSheet, Platform, TouchableWithoutFeedback, Modal, } from 'react-native'; import { withTheme } from '../config'; const Overlay = ({ children, backdropStyle, overlayStyle, onBackdropPress, fullScreen, ModalComponent...
/* * * ManagementTemplates actions * */ import { DEFAULT_ACTION } from './constants'; export function defaultAction() { return { type: DEFAULT_ACTION, }; }
(window.webpackJsonp=window.webpackJsonp||[]).push([[27],{117:function(e){e.exports=JSON.parse('{"permalink":"/blog/page/2","page":2,"postsPerPage":10,"totalPages":3,"totalCount":25,"previousPage":"/blog","nextPage":"/blog/page/3"}')}}]);
'use strict'; module.exports = { settings: function settings() { return { remote_enable: '0', remote_port: '9000', remote_autostart: '0', remote_connect_back: '0', scream: '0', show_local_vars: '0' }; }, remotePortOptions: function remotePortOptions() { return [{ value: '9000', label: '9000'...
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = ControlBar; var _lodash = require('lodash'); var _lodash2 = _interopRequireDefault(_lodash); var _react = require('react'); var _react2 = _interopRequireDefault(_react); var _reactSelect = require('react-select'); va...
'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); var tslib_1 = require('tslib'); /** * @license * Copyright 2017 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 ...
import requests from lib.base import OpscenterAction class StartClusterRepairAction(OpscenterAction): def run(self, cluster_id=None): if not cluster_id: cluster_id = self.cluster_id url = self._get_full_url([cluster_id, 'services', 'repair']) return requests.post(url).json()...
# # Test base butler volmer submodel # import pybamm import tests import unittest class TestButlerVolmer(unittest.TestCase): def test_public_functions(self): param = pybamm.standard_parameters_lithium_ion a_n = pybamm.PrimaryBroadcast(pybamm.Scalar(0), ["negative electrode"]) a_p = pybam...
'use strict' describe('Authentication', () => { test('Authenticate user', () => {}); });
const function656 = function (t, e, i) { "use strict"; var n = this && this.__extends || function () { var t = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function (t, e) { t.__proto__ = e } || function (t, e) { for (var i in e) e.hasOwnProperty(i) && (...
import React from 'react'; import PropTypes from 'prop-types'; import {Link} from 'react-router-dom'; const OrderListRow = ({order}) => { const hotel = order.hotel; return ( <div id={'hotel_'+hotel.id} className="card hotel-item p-1 my-1"> <div className="row"> <div className="col-md-3"> ...
'use strict'; /** * Module dependencies */ var gulp = require('gulp'); var args = require('get-gulp-args')(); var path = require('path'); var assert = require('assert'); var Karma = require('karma').Server; gulp.task('test', function(done) { return new Karma({ configFile: path.resolve('karma.conf.js'),...
// Questions service used to communicate Questions REST endpoints (function () { 'use strict'; angular .module('questions') .factory('QuestionsService', QuestionsService); QuestionsService.$inject = ['$resource']; function QuestionsService($resource) { return $resource('api/questions/:questionId'...
// 9. Write a JavaScript program to calculate days left until next Christmas. var today= new Date(); var christmas=new Date(today.getFullYear(),11,25); var one_day=24*60*60*1000; console.log(today); console.log(christmas); console.log(Math.ceil((christmas.getTime()-today.getTime())/(one_day))+ " days left until C...
from __future__ import absolute_import import functools import itertools import operator import sys import types __author__ = "Benjamin Peterson <benjamin@python.org>" __version__ = "1.9.0" # Useful for very coarse version differentiation. PY2 = sys.version_info[0] == 2 PY3 = sys.version_info[0] == 3 if PY3: ...
/** @format */ const path = require('path'); const HtmlWebpackPlugin = require('html-webpack-plugin'); const config = require('./bundle.config.js'); module.exports = env => { const baseConfig = env.production ? config.prod : config.dev; return { ...baseConfig, output: { path: path.resolve(__dirname...
var Foo = /*#__PURE__*/function () { "use strict"; function Foo() {} var _proto = Foo.prototype; _proto.foo = function foo(props) { ; [x, ...this.client] = props; }; return Foo; }();
import { fromJS } from 'immutable'; import homeReducer from '../reducer'; import { changeSearch } from '../actions'; describe('homeReducer', () => { let state; beforeEach(() => { state = fromJS({ search: '', venues: false, total: 0, position: false }); }); it('should return th...
var DigitalGlitch = { uniforms: { "tDiffuse": { value: null },//diffuse texture "tDisp": { value: null },//displacement texture for digital glitch squares "byp": { value: 0 },//apply the glitch ? "amount": { value: 0.08 }, "angle": { value: 0.02 }, "seed": { value: 0.02 }, "seed_x": { valu...
/** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * @flow */ import * as React from 'react'; import {createContext, Component, Fragment, useContext} from 'react'; import PropTypes...
module.exports = { plugins: { autoprefixer:{}, "postcss-px-to-viewport": { viewportWidth:375, //视图的宽度,对应的是设计稿的宽度 1物理点可放2像素点 viewportHeight:667, //视图的高度 unitPrecision:5, //指定的转化后的小数点位数 viewportUnit: 'vw', //转化为什么单位 selectorBlackList:['ignore'], //忽略掉那些类,不转化 minPixelValu...
import $ from "jquery"; import Sortable from "sortablejs"; import "../../../vendor/plugins/jquery/select2"; import "jquery-validation"; import "../../../../sass/pages/create-linelist-template.scss"; // **************************************************************************** // FORM VALIDATION - uses jquery-validat...
/* eslint-disable no-console */ const Promise = require('bluebird'); const redis = Promise.promisifyAll(require('redis')); const color = require('colors'); let doLogging = false; const startTime = Date.now(); const cliPrefix = 'tester_'; /* const config = { port: 6379, // Port of Redis server host: '127.0.0.1', /...
import typescript from '@rollup/plugin-typescript' import commonjs from '@rollup/plugin-commonjs' import resolve from '@rollup/plugin-node-resolve' import json from '@rollup/plugin-json' import { terser } from 'rollup-plugin-terser' import analyze from 'rollup-plugin-analyzer' import replace from '@rollup/plugin-replac...
// Destructuring of Object let obj = { name:"Nikhil", age: 29, role: "developer" } let { name, age } = obj console.log(name) console.log(age)
var callbackArguments = []; var argument1 = function() { callbackArguments.push(arguments) return ["À"]; }; var argument2 = function() { callbackArguments.push(arguments) return undefined; }; var argument3 = true; var argument4 = function() { callbackArguments.push(arguments) return -67.71554092735987; }...
/** * Swaggy Jenkins * Jenkins API clients generated from Swagger / Open API specification * * The version of the OpenAPI document: 1.1.2-pre.0 * Contact: blah@cliffano.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not ed...
""" Урок 23. Состояние Смена режимов обработки команд Цель: Применить паттерн Состояние для изменения поведения обработчиков Команд. В домашнем задании №2 была реализована многопоточная обработка очереди команд. Предлагалось два режима остановки этой очереди - hard и soft. Однако вариантов завершения и режимов обраб...
'use strict'; angular.module('meanappApp') .config(function ($stateProvider) { $stateProvider .state('main', { url: '/main', templateUrl: 'app/main/main.html', controller: 'MainCtrl' }); });
'use strict'; /* ! VARIABLE/FUNCTION NAMING CONVENTIONS THAT APPLY TO THIS FILE! * * DOM-related variables: * * - "node" - DOM Node * - "element" - DOM Element or Node * - "$node" or "$element" - jqLite-wrapped node or element * * * Compiler related stuff: * * - "linkFn" - linking fn of a single directive ...
var L = { align: 'Align', black: 'Black', blue: 'Blue', bold: 'Bold', brown: 'Brown', center: 'Center', clean: 'Clean', close: 'Close', code: 'Code', color: 'Color', email: 'Email', email_addr: 'Address', email_text: 'Link text here...', font: 'Font', gray: 'Gray', green: 'Green', h1: '...
/** * DevExtreme (integration/angular/component_registrator.js) * Version: 16.2.6 * Build date: Tue Mar 28 2017 * * Copyright (c) 2012 - 2017 Developer Express Inc. ALL RIGHTS RESERVED * EULA: https://www.devexpress.com/Support/EULAs/DevExtreme.xml */ "use strict"; var $ = require("jquery"), regist...
'use strict'; var rest = require('rest'); var defaultRequest = require('rest/interceptor/defaultRequest'); var mime = require('rest/interceptor/mime'); var errorCode = require('rest/interceptor/errorCode'); var baseRegistry = require('rest/mime/registry'); var registry = baseRegistry.child(); registry.register('appl...
from xml.etree.ElementTree import XML from dat.base64_encoder import UnpaddedBase64Encoder from dat.keys import load_secret_key from dat.version import version_string WIKI_SIGNATURE_FORMAT = """<!-- BEGIN SIGNED MESSAGE --> {message} <!-- BEGIN SIGNATURE --> {{{{DatSignature | Signed by: {signed_by} | Signer key: {sig...
define(["exports", "../../../lit-element/lit-element.js", "../../../lit-element-router/lit-element-router.js", "./elmsln-studio-utilities.js"], function (_exports, _litElement, _litElementRouter, _elmslnStudioUtilities) { "use strict"; Object.defineProperty(_exports, "__esModule", { value: true }); _export...
import React from "react"; export default function Footer() { return ( <footer className="footer py-3"> <div className="container"> <div className="row"> <div className="col-10 mx-auto col-md-6 text-yellow text-center text-capitalize"> <h3> All rights reserved &c...
/* * . .o8 oooo * .o8 "888 `888 * .o888oo oooo d8b oooo oooo .oooo888 .ooooo. .oooo.o 888 oooo * 888 `888""8P `888 `888 d88' `888 d88' `88b d88( "8 888 .8P' * 888 888 888 888 8...
/* * Copyright 2019 VMware, all rights reserved. * This software is released under MIT license. * The full license information can be found in LICENSE in the root directory of this project. */ const fs = require("fs"); const https = require("https"); const timestamp = new Date().getTime(); verifyMigrations(); ver...
import { mount } from '@vue/test-utils'; jest.resetModules(); let text = ''; jest.mock('@/src/utils/clipboard', () => (arg) => text = arg); // every component needs four parts: props/events/slots/functions. describe('AnchorTarget', () => { const { AnchorTarget } = require('@/src/anchor/index'); // test props api ...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports["default"] = requirePropFactory; function requirePropFactory(componentNameInError) { if (process.env.NODE_ENV === 'production') { return function () { return null; }; } var requireProp = function requireProp(re...
# -*- coding: utf-8 -*- r""" Module for K2 tpf from MAST and light curves produced by EVEREST and K2SFF pipelines. K2 is the base class inherited by Everest and K2sff classes """ # Import standard library import os from glob import glob from pathlib import Path from os.path import join, exists from urllib.request impo...
// 作业 7 // 实现函数 // var range1 = function(start, end) { } // // start end 都是 int // // 返回一个 array, 假设 start 为 1, end 为 5, 返回数据如下 // [1, 2, 3, 4] // 以下是提交作业代码 /* ------------------------------------------------------------------------- */ var log = console.log.bind(console) var ensure = function(condition, message) { ...
module.exports = { options: { allJSconf: '<%= yeoman.src %>/js/allJS.conf' }, };