text
stringlengths
3
1.05M
// modules are defined as an array // [ module function, map of requires ] // // map of requires is short require name -> numeric require // // anything defined in a previous bundle is accessed via the // orig method which is the require for previous bundles // eslint-disable-next-line no-global-assign parcelRequire =...
function jwDay(j) { return mod(floor(j + 1.5), 7); } /* WEEKDAY_BEFORE -- Return Julian date of given weekday (0 = Sunday) in the seven days ending on jd. */ function weekday_before(weekday, jd) { return jd - jwDay(jd - weekday); } /* SEARCH_WEEKDAY -- Determine the Julian date for: weekday ...
'use strict'; const functions = Runtime.getFunctions(); /* * Load Serverless Helper Methods */ const serverlessPath = functions['sfdc/helpers/twilio/serverless/index'].path; const serverless = require(serverlessPath); module.exports = {serverless};
#!/usr/bin/env python3 # Copyright (c) 2014-2016 The Uscoin Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test running uscoind with the -rpcbind and -rpcallowip options.""" import socket import sys from test_...
import React from "react"; import "./CardDesign.css"; import CardDesign from "./CardDesign"; import { Grid } from "@material-ui/core"; import { makeStyles } from "@material-ui/core/styles"; import flutter from "./flutter.svg"; import php from "./assets/php.svg"; import js from "./assets/jsnew.svg"; import mysql from "....
var chai = require('chai'); var expect = chai.expect; var TestRunner = require('falcor-router/test/TestRunner'); var RouterTestRunner = { run: function(obs, expected) { var count = 0; return obs. do(function(x) { // Validates against all comparables expect...
import React from "react"; import {Link} from "react-router-dom"; // @material-ui/core components import { makeStyles } from "@material-ui/core/styles"; import Icon from "@material-ui/icons/Add"; // core components import GridContainer from "~/components/Grid/GridContainer.js"; import GridItem from "~/components/Grid/G...
#!/usr/bin/env python3 # Copyright 2014-2018 PUNCH Cyber Analytics Group # # 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 # # Unl...
var utils = require('../utils'); function ConsoleReporter() { this.indent = 0; this.testResults = []; } ConsoleReporter.prototype = { emit: function (name, value) { switch (name) { case 'suite-start': this.writeFastest(); value && this.write(value); this.indent++; break; case 'suite-end': ...
# -*- coding: utf-8 -*- # This code is part of Qiskit. # # (C) Copyright IBM 2018, 2019. # # This code is licensed under the Apache License, Version 2.0. You may # obtain a copy of this license in the LICENSE.txt file in the root directory # of this source tree or at http://www.apache.org/licenses/LICENSE-2.0. # # Any...
import { useEffect } from "react"; const leftKey = e => e.key === "ArrowLeft"; const rightKey = e => e.key === "ArrowRight"; const upKey = e => e.key === "ArrowUp"; const downKey = e => e.key === "ArrowDown"; const useArrows = arrows => { const handlers = { up: () => null, down: () => null, left: () => ...
# -*- coding: utf-8 -*- from __future__ import unicode_literals import time import datetime import pytz from django.core.cache import cache try: from django.core.urlresolvers import reverse except ModuleNotFoundError: from django.urls import reverse from django.utils.translation import force_text, override ...
var doc = document; doc.get = doc.getElementById; var canvas = doc.get('c'); var canvitas = canvas; var ctx = canvas.getContext('2d'); var pixelSize = 4; var i; var j; var ppp=16; var pp1=15; var dimensions = {w:1024,h:720}; var viewport = {x:0, y:-720, oY:250}; var black = '#000'; var white = '#fff'; var xlevel; var ...
# coding: utf-8 """ ESP Documentation The Evident Security Platform API (version 2.0) is designed to allow users granular control over their Amazon Web Service security experience by allowing them to review alerts, monitor signatures, and create custom signatures. OpenAPI spec version: v2_sdk Ge...
module.exports = { navTheme: 'light', primaryColor: '#13C2C2', layout: 'sidemenu', contentWidth: 'Fluid', fixedHeader: true, autoHideHeader: true, fixSiderbar: true, menu: { disableLocal: false, }, title: 'xx管理平台', pwa: false, iconfontUrl: '', collapse: true, };
/** * Copyright (C) 2016, Canonical Ltd. * 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 patent rights can be found in the PATENTS file in the same directory. * * @providesModule D...
module.exports = { docs: [ 'about_nalgebra', { 'User Guide': [ 'user_guide/getting_started', // 'user_guide/quick_reference', 'user_guide/vectors_and_matrices', 'user_guide/decompositions_and_lapack', 'user_guide/points_and_transformations', 'user_guide/pr...
/** * The MIT License (MIT) * * Copyright (c) 2015 Mickael Jeanroy * * 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 ...
(window.webpackJsonp=window.webpackJsonp||[]).push([[303],{779:function(module,exports,__webpack_require__){module.exports=__webpack_require__(1)("kRMB")}}]); //# sourceMappingURL=react-syntax-highlighter_languages_refractor_scala.be0ee6ca8ad05724aa4b.bundle.js.map
import pandas as pd import plotly.express as px ##This is a mocked script. Several changes will be needed to make it fit with the 'real' data from KTH, including the files used (inc. path) and the coulm names of the dataset before manipulations are complete and a new dataset is created #read in the data that (a) needs ...
const { LHError } = require("./LHError"); class HaltError extends LHError { constructor(message, ...errorOptions) { super(message, ...errorOptions); this.isHaltError = true; } } module.exports = { HaltError };
from kron.db import db, moment, is_ok, ModelEventListeners, restore_from_file from kron.models import Archive, Box, Document, Person, Topic from kron.blog.models import Tag, Post from kron.kron import Kron
import { rollup } from '../../rollup' export default rollup( 'src/index.ts', [ { file: 'lib/index.js', format: 'umd', name: 'FaasBrowserClient', exports: 'named', } ] )
// Run a callback after layout and paint of all pending document changes. // // It has two modes: // - traditional mode, for existing tests, and tests needing customized notifyDone timing: // Usage: // if (window.testRunner) // testRunner.waitUntilDone(); // runAfterLayoutAndPaint(function() { // ...
import {graphql} from 'react-relay'; graphql` query productsPaginatedQuery($rowsPerPage: Int!, $currentPage: Int!) { productsPaginated(pagination: {rowsPerPage: $rowsPerPage, currentPage: $currentPage}) { products { _id name quantityAvailable maxQuantityPerCustomer c...
module.exports = { root: true, env: { browser: true, node: true, jest: true, }, extends: [ '@antfu/eslint-config', ], plugins: [ 'markdown', 'jest', ], rules: { '@typescript-eslint/no-var-requires': 'off', '@typescript-eslint/no-empty-function': 'off', 'unicorn/preven...
from __future__ import unicode_literals import json from collections import namedtuple from django.conf.urls import include, url from django.core.exceptions import ImproperlyConfigured from django.db import models from django.test import TestCase, override_settings from rest_framework import permissions, serializers...
import fetchMealSingleComment from '../__mocks__/comment.mock'; import createElement from '../src/assets/js/helpers/createElement'; import commentCounter from '../__mocks__/comment_counter.mock'; describe('Comment', () => { test('it should return 3 comments for meal 52819', () => { const id = '52819'; const ...
"""hoodapp URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.2/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-based...
class HTMLElementLayout extends HTMLDivElement { static get defaults() { return { dataSrc: null, dataCrop: null, dataRepeat: null, dataSize: null, dataAttachment: null, dataPosition:null }; } get fit() { return this.options.size || 'none'; } patch(state) { if (!this.options.src) return; ...
"use strict"; //Menu functions. //Used for the overall flow of the application. ///////////////////////////////////////////////////////////////// //#region let dataFiltered; // app is the function called to start the entire application function app(people) { let message = ` What type of search do you want to do...
// @flow import { type DispatchAPI, type Store, createStore, applyMiddleware, } from 'redux'; import reduxThunk from 'redux-thunk'; import { type AsyncAction, type AsyncThunk, type AAction, type GetState, createAsyncAction, } from '.'; /** * Typedef tests * * These tests don't do much at runtime. ...
define("ace/mode/doc_comment_highlight_rules", ["require", "exports", "module", "ace/lib/oop", "ace/mode/text_highlight_rules"], function (require, exports, module) { "use strict"; var oop = require("../lib/oop"); var TextHighlightRules = require("./text_highlight_rules").TextHighlightRules; var DocCo...
#!/usr/bin/env python3 # Software License Agreement (BSD License) # # Copyright (c) 2021, UFACTORY, Inc. # All rights reserved. # # Author: Vinman <vinman.wen@ufactory.cc> <vinman.cub@gmail.com> from .utils import xarm_is_connected from ..core.utils.log import logger from .base import Base from .code import APIState ...
// @ts-check import * as base from '../utils/base.js' import dbClass from "sap-hdbext-promisfied" import * as dbInspect from '../utils/dbInspect.js' import { highlight } from 'cli-highlight' import cds from '@sap/cds' // @ts-ignore import YAML from 'json-to-pretty-yaml' import { parse, convert } from 'odata2openapi...
/* **************************************************************************** * Written by Jeffrey Scott Flesher * Last Update: 31 March 2020 * */ /* **************************************************************************** * Theme * Light or Dark * if (Js.getTheme() == "Light") {} */ var Theme = "Light"; ...
from ..preprocessing._extract import extract_CG, extract_CH from ..preprocessing._readimpute import load_met_noimput, imputation_met from ..preprocessing._readimpute import readandimputematrix from ..preprocessing._quality_control import coverage_cells, commonness_features, binarize from ..preprocessing._quality_contro...
import * as React from "react" import PropTypes from "prop-types" import { Link } from "gatsby" const Header = ({ siteTitle }) => ( <header className="gpo-header"> <div className="gpo-header__left"> <div className="gpo-tel-icon"> </div> </div> <div className="gpo-header__mid"> </div> <div...
# <pep8-80 compliant> # ##### BEGIN GPL LICENSE BLOCK ##### # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # # ...
# Create a lookup table mfc_table where mfc_table[word] contains the tag label most frequently assigned to that word from collections import namedtuple from pair_count import pair_counts from helpers import show_model, Dataset import pair_count import os import pandas as pd import pdb TAG_PATH = os.path.join(os.getcwd...
/*! PhotoSwipe - v4.0.0 - 2014-12-08 * http://photoswipe.com * Copyright (c) 2014 Dmitry Semenov; */ (function(e,t){"function"==typeof define&&define.amd?define(t):"object"==typeof exports?module.exports=t:e.PhotoSwipe=t()})(this,function(){"use strict";var e=function(e,t,n,i){var o={features:null,bind:function(e,t,n,i...
'use strict' const multibase = require('multibase') const { cidToString } = require('ipfs-core-utils/src/cid') const prettyBytes = require('pretty-bytes') const { default: parseDuration } = require('parse-duration') module.exports = { command: 'stat', describe: 'Show some diagnostic information on the bitswap ag...
import os import json import sys from flask import Flask, request, jsonify, abort from flask_cors import CORS from werkzeug.exceptions import HTTPException, NotFound, MethodNotAllowed, BadRequest from random import randint def create_app(test_config=None): app = Flask(__name__) # allowing cors from all domai...
#MenuTitle: Insert BCPs into straight segments # -*- coding: utf-8 -*- __doc__=""" Inserts BCPs into straight segments of selected glyphs. The opposite of what the Tidy Up Paths command does. Useful if you want to bend the shape later. """ Font = Glyphs.font FontMaster = Font.selectedFontMaster selectedLayers = Font...
import numpy as np import scipy.optimize as opt from tqdm.auto import trange from scipy import sparse as sp def has_method(o, name): return callable(getattr(o, name, None)) def save_ensemble(ge, filepath, save_space=False): if save_space: from copy import copy ge = copy(ge) ge.adj_matrix=None ge.sigma=N...
var path = require('path'); var fs = require('fs'); var readdirp = require('readdirp'); var use_fs_watch = process.platform === 'win32' || process.env.USE_FS_WATCH; module.exports = function() { var watched_files = {}; var watched_directories = {}; var check_dir_pause = 1000; var ...
// @flow import type { WalletInfoState } from '../../types/walletInfo' const initialState = { passphrase: '' } export const initialized = () => { const event = (state: WalletInfoState = initialState) => state return event } export const passphraseUpdated = (passphrase: string) => { const event = (sta...
/* const maxSlidingWindow = (nums, k) => { const len = nums.length - k + 1; const ret = new Int16Array(len); for (let i = 0; i < len; ++i) { let max = nums[i]; for (let j = 1; j < k; ++j) { nums[i + j] > max && (max = nums[i + j]); } ret[i] = max; } return ret; }; */ /* const maxSliding...
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon(React.createElement("g", null, React.createElement("path", { d: "M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8...
import matplotlib matplotlib.use('Agg') import numpy as np from astropy.tests.helper import pytest from .. import FITSFigure def test_frame_linewidth(): data = np.zeros((16, 16)) f = FITSFigure(data) f.frame.set_linewidth(0) f.frame.set_linewidth(1) f.frame.set_linewidth(10) f.close() def ...
const repeatString = function(givenString, num) { let repeated = ''; if (num < 0) { return 'ERROR' } for (let i = 0; i < num ; i++) { repeated += givenString } return repeated; } module.exports = repeatString
# Copyright 2017 the V8 project authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. # for py2/py3 compatibility from __future__ import print_function from functools import reduce from collections import OrderedDict, namedtuple import json...
//------------------------------------------------------------------------------ // Explict instantiation. //------------------------------------------------------------------------------ #include "SVPHHydroBase.cc" #include "Geometry/Dimension.hh" namespace Spheral { template class SVPHHydroBase< Dim<1> >; templa...
from keras.models import Model, Input from keras.layers import LSTM, Dense, concatenate, Flatten from keras.callbacks import CSVLogger, EarlyStopping from tensorflow.python.keras.layers.embeddings import Embedding import tensorflow as tf """Build models from dataset""" def build_model(dataset, main_voice_id, embeddi...
//-------------------------------------------------------- //-- @absolunet/bitbucket-api //-------------------------------------------------------- import AbsolunetBitbucketAPI from './AbsolunetBitbucketAPI'; /** * Exports the main class. * * @module absolunet/bitbucket-api */ /** * Class definition of Abso...
import React from "react"; import { Link } from "react-router-dom"; // @material-ui/core components import { makeStyles } from "@material-ui/core/styles"; import InputAdornment from "@material-ui/core/InputAdornment"; import Icon from "@material-ui/core/Icon"; // @material-ui/icons import Email from "@material-ui/icons...
/// Copyright (c) 2012 Ecma International. All rights reserved. /** * @path ch15/15.2/15.2.3/15.2.3.5/15.2.3.5-4-22.js * @description Object.create - own enumerable data property that overrides an enumerable inherited data property in 'Properties' is defined in 'obj' (15.2.3.7 step 5.a) */ function testcase() {...
'use strict'; const path = require('path'); const fs = require('fs'); const url = require('url'); // Make sure any symlinks in the project folder are resolved: // https://github.com/facebookincubator/create-react-app/issues/637 const appDirectory = fs.realpathSync(process.cwd()); const resolveApp = relativePath => pa...
import os import subprocess as sp import tempfile from unittest.mock import Mock import pytest from xonsh.environ import Env from xonsh.prompt.base import PromptFormatter, PROMPT_FIELDS from xonsh.prompt import vc from tools import DummyEnv @pytest.fixture def formatter(xonsh_builtins): return PromptFormatter(...
function basicEmptyCheck(value) { return typeof value === 'undefined' || value === null; } export default basicEmptyCheck;
import {ReplaySubject} from "rxjs"; export const secilenDonemSubject = new ReplaySubject(1); export function degerGuncelle(subject, val) { subject.next(val); } degerGuncelle(secilenDonemSubject, '1');
const path = require('path'); const tempfile = require('tempfile'); module.exports = { for: { png: () => tempfile('.detox.png'), log: () => tempfile('.detox.log'), mp4: () => tempfile('.detox.mp4'), dtxrec: () => tempfile('.detox.dtxrec'), viewhierarchy: () => tempfile('.detox.viewhierarchy'), ...
export const AdvertiserList = { code: 0, data: [ { id: 1, created_at: '2021-02-25T11:01:29.69013+08:00', updated_at: '2021-02-25T11:01:29.69013+08:00', platform: 'ams', name: 'AMS账号 A', object_id: 45, object: { ...
var client = require('redis').createClient(); var crypto = require('crypto'); const redisPattern = "userHash"; const errorWritekey = "-1"; function RedisJikkyouManager(uniqKey) { this.uniqKey = uniqKey; } RedisJikkyouManager.prototype.errorWritekey = errorWritekey; //redisで検索できるように頭を統一 RedisJikkyouManager.prototyp...
/** * Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH * under one or more contributor license agreements. See the NOTICE file * distributed with this work for additional information regarding copyright * ownership. * * Camunda licenses this file to you under the MIT; you may not use this ...
import operator import platform import random import json import socket import unittest from auditbeat_xpack import * def is_root(): if 'geteuid' not in dir(os): return False euid = os.geteuid() return euid == 0 def is_version_below(version, target): t = map(int, target.split('.')) v = m...
'use strict'; const compact = function(array) { var index = -1, length = array ? array.length : 0, resIndex = -1, result = []; while (++index < length) { var value = array[index]; if (value) { result[++resIndex] = value; } } return result; } exports.queryStringByKey = (key, url)...
'use strict'; const { BaseCoder } = require('./base'); const ALPHABET = '0123456789ABCDEF'; const BYTE_TO_HEX = Array .from({ length: ALPHABET.length * ALPHABET.length }) .map((_, key) => ( '' + ALPHABET.charAt(key / ALPHABET.length) + ALPHABET.charAt(key % ALPHABET.length) )); const HEX_TO_BYTE = Array.fr...
import * as dummy from 'dummy'; // treat as module function provideTaint(cb) { cb(source()); cb(source()); } function provideTaint2(cb) { provideTaint(cb); provideTaint(cb); // suppress precision gains from functions with unique call site } function forwardTaint(x, cb) { cb(x); cb(x); } function forward...
const { mix, mixStatic, speciesCreate } = require('./utils.js'); const { BitArray } = require('./bit-array.js'); // environment variable that turns debug tracing on const debugOn = process.env["DEBUG_ARRAYEX"] === "1"; function DBG(...args) { if (debugOn) { console.log(...args); } } // conditional inc...
/** * @author Marshood Ayoub <Marshood.ayoub@gmail.com> * @data 25/08/2020 */ const express = require("express"); const router = express.Router(); const UserSchema = require('../schemas/UserSchema') const TaskModel = require('../schemas/TaskSchema'); const mongoose = require('mongoose'); const UserModel = mongoose....
// *** [ Function To Create Users Table ] *** // exports.up = function (knex) { return knex.schema.createTable("users", (table) => { table.increments(); table.varchar("first_name", 128).notNullable(); table.varchar("last_name", 128).notNullable(); table.varchar("email", 128).notNullable().unique(); ...
#Copyright 2020 Battelle Energy Alliance, LLC, ALL RIGHTS RESERVED. #Buffered File with 0x00's #Offset measured from center of chunk #Adjustable slide % #Added .Net Bytecode #Added startup Notes #Additional Error checking #Added DotNet Bytecode #Added Compiler Detection #Added Percent Compressed or Encrypted from tki...
/** * Copyright 2020 Progress Software Corporation and/or one of its subsidiaries or affiliates. All rights reserved. * ...
/** * @fileOverview the class of Helix Coordinate * @author sima.zhang */ const Util = require('../util'); const Base = require('./base'); const MatrixUtil = require('@antv/g').MatrixUtil; const vec2 = MatrixUtil.vec2; class Helix extends Base { getDefaultCfg() { const cfg = super.getDefaultCfg(); return...
const dots = require('../'); const should = require('should'); describe('#get', function () { describe('positive tests', function () { it('gets a value using a basic key', function () { var value = dots.get({ test: 5 }, 'test'); should(value).be.ok(); should(value).be.a.Number(...
'use strict'; var server = require('./lib/server'); var utils = require('./lib/utils'); server.listen(process.env.PORT || 3000, function() { console.log('%s server is running on port %d', utils.getTime(), process.env.PORT || 3000); }); module.exports = server;
from vaderSentiment.vaderSentiment import SentimentIntensityAnalyzer # create sentiment analyzer object analyzer = SentimentIntensityAnalyzer() def sentiment_analyzer_scores(text): score = analyzer.polarity_scores(text) lb = score['compound'] if lb >= 0.05: return 'positive' elif (lb > -0.05) ...
import React from 'react'; import {GoogleMap, Marker, withGoogleMap, withScriptjs} from 'react-google-maps'; import MapStyles from './MapStylesRetro.json'; // import MapStyles from './MapStylesNight.json' import MarkerClusterer from "react-google-maps/lib/components/addons/MarkerClusterer"; const GoogleMapsWrapper = w...
import React from 'react'; export default class Pagination extends React.Component { static contextTypes = { totalRows: React.PropTypes.number, pageSize: React.PropTypes.number, fetch: React.PropTypes.func } constructor() { super(); this.state = { pageNumber: 1 }; this.onPage...
({ // // see gvptest:loadFromStorageTemplate for details of how the mock adapter works // testMockAdapterSelected : { test : function(cmp) { var storage = $A.storageService.getStorage("actions"); $A.test.assertEquals("mock", storage.getName(), "wrong storage adapter chos...
const Bcrypt = require('bcrypt'); const users = { john: { username: 'john', password: '$2a$10$iqJSHD.BGr0E2IxQwYgJmeP3NvhPrXAeLSaGCj6IR/XU5QtjVu5Tm', // 'secret' name: 'John Doe', id: '2133d32a' } }; module.exports = function (request, username, password, callback) { cons...
"use strict"; ///<reference path="../lib.deno.d.ts" /> var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { if (k2 === undefined) k2 = k; Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); }) : (function(o, m, k, k2) { if ...
""" Copyright 2022 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 http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distri...
import Q from 'Q'; const IS_BROWSER = (typeof window !== 'undefined'); const IS_CORDOVA = IS_BROWSER && window.cordova; let defaultPlugins = { Contacts: require('./plugins/Contacts'), Battery: require('./plugins/Battery') } let defaultMocks = { Contacts: require('./plugins/Contacts/mocks') } /* handle...
var searchData= [ ['uvgrtp_20public_20api_20documentation_146',['uvgRTP public API documentation',['../index.html',1,'']]] ];
/* eslint-env jest */ // adapted from: https://github.com/oVirt/ovirt-engine-dashboard/blob/master/src/utils/unit-conversion-test.js import { storageUnitTable } from './storage-conversion' import { convertUnits } from './unit-conversion' describe('convertUnits', function () { it('scales down the unit when value is ...
import types from './types' const INITIAL_STATE = { currentCount: 0, subreddit: '', showRedditSpinner: false, subredditData: [] } const homeReducer = (state = INITIAL_STATE, action) => { switch (action.type) { case types.INCREMENT_COUNT: { const { value } = action const { currentCount } = sta...
from django.apps import AppConfig class ArrowsConfig(AppConfig): name = 'arrows'
var Q = require('Q'); var FolderView = require('./folderNode'); var ColumnListNode = require('./nodes/ColumnListNode'); var ConstraintListNode = require('./nodes/ConstraintListNode'); var TODONode = require('./nodes/TODONode'); module.exports = TableNode = (function() { var TableNode = function(dbConnection, data){...
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-530d"],{"30d9":function(t,e,n){},3884:function(t,e,n){"use strict";n.d(e,"a",function(){return i}),n.d(e,"c",function(){return r}),n.d(e,"b",function(){return o});var a=n("66df"),i=function(t){return a["a"].request({url:"/api/Work/index",params:t,method:...
/* artifact generator: C:\My\wizzi\v4\node_modules\v4-wizzi-js\lib\artifacts\js\module\gen\main.js primary source IttfDocument: c:\my\wizzi\v4\kernel\wizzi-utils\src\ittf\lib\glob\concat-map.js.ittf utc time: Tue, 10 Oct 2017 15:30:05 GMT */ 'use strict'; // FROM // Copyright // source: https://github.com/s...
YUI.add("slider-value-range",function(e,t){function o(){this._initSliderValueRange()}var n="min",r="max",i="value",s=Math.round;e.SliderValueRange=e.mix(o,{prototype:{_factor:1,_initSliderValueRange:function(){},_bindValueLogic:function(){this.after({minChange:this._afterMinChange,maxChange:this._afterMaxChange,valueCh...
const { BaseCommand } = require('./base-command.js'); const { app } = require('./app.js'); const Setting = require('lib/models/Setting').default; const { ReportService } = require('lib/services/report.js'); const fs = require('fs-extra'); class Command extends BaseCommand { usage() { return 'export-sync-status'; }...
# -*- coding: utf-8 -*- import pytest from loon.skeleton import fib __author__ = "ShixiangWang" __copyright__ = "ShixiangWang" __license__ = "mit" # def test_fib(): # assert fib(1) == 1 # assert fib(2) == 1 # assert fib(7) == 13 # with pytest.raises(AssertionError): # fib(-10)
Ext.define('ExecDashboard.model.StockOHLC', { extend: 'ExecDashboard.model.Base', fields: [ 'company', { name: 'time', type: 'date', dateFormat: 'Y-m-d' }, 'open', 'high', 'low', 'close' ] });
//Guardado de la imagen del artículo function iniciar(id1, titulo1, tipo1){ id = id1; titulo = titulo1; tipo = tipo1; cajadatos=document.querySelector('#quickCarrot div.cam[tag="'+id+'_'+titulo+'_'+tipo+'"]'); var archivos=document.querySelector('#quickCarrot input[tag="'+id+'_'+titulo+'_'+tipo+'"]'); ...
import React, { PureComponent } from 'react'; import PropTypes from 'prop-types'; import classnames from 'classnames'; import Progress from 'react-progress-2'; import { withRouter } from 'next/router' // Utils import { initGA, logPageView } from 'utils/analytics'; import { checkAuth } from 'services/user'; // Compone...
import React, { Component } from "react"; import DrawerToogleButton from "../SideDrawer/DrawerToggleButton"; import "./Toolbar.css"; import { Link } from "react-router-dom"; export default class Toolbar extends Component { constructor(props) { super(props); this.state = { scrolled: false, }; } ...
import PropTypes from 'prop-types'; const schemaProp = PropTypes.shape({ type: PropTypes.string, min: PropTypes.number, max: PropTypes.number, pattern: PropTypes.string, messages: PropTypes.object // { stringMin: "Some error" } }); export const schemaPropType = PropTypes.oneOfType([ // Optional multi-type...